Close #33 增加HTTP Upgrade透明转发的功能

This commit is contained in:
Lu Qiuwen
2018-10-24 15:40:26 +08:00
parent c53641bc27
commit 62b8089166
4 changed files with 28 additions and 5 deletions

View File

@@ -92,6 +92,9 @@ struct http_half_private
struct evbuffer * evbuf_body;
struct evbuffer * evbuf_raw;
struct tfe_stream_write_ctx * write_ctx;
/* UPGRADE */
bool is_upgrade;
};
struct http_half_private * hf_private_create(tfe_http_direction ht_dir, short major, short minor);