缓存能跑起来了。

This commit is contained in:
zhengchao
2018-10-14 18:45:02 +08:00
parent 12d4370b3f
commit 294201ecd8
12 changed files with 86 additions and 42 deletions

View File

@@ -322,7 +322,7 @@ static int __parser_callback_on_headers_complete(http_parser * parser)
tfe_http_event event = (hf_direction == TFE_HTTP_REQUEST) ? EV_HTTP_REQ_HDR : EV_HTTP_RESP_HDR;
if (hf_private->event_cb)
{
hf_private->event_cb(hf_private, EV_HTTP_REQ_HDR, NULL, 0, hf_private->event_cb_user);
hf_private->event_cb(hf_private, event, NULL, 0, hf_private->event_cb_user);
}
/* The setup of user stream option indicates that the way to handle the request/response has