修复忘记初始化tailq的bug
This commit is contained in:
@@ -29,6 +29,7 @@ int http_connection_entry_open(const struct tfe_stream * stream, unsigned int th
|
||||
{
|
||||
struct http_connection_private * ht_conn = ALLOC(struct http_connection_private, 1);
|
||||
TAILQ_INIT(&ht_conn->hs_private_list);
|
||||
TAILQ_INIT(&ht_conn->hs_private_orphan_list);
|
||||
ht_conn->stream = stream;
|
||||
*pme = (void *) ht_conn;
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user