*删除nghttp2中收到ping ack字符会ping

*由于命中匹配规则且返回数据中只有 header,造成数据丢失,在当前流close时添加header注册接口
This commit is contained in:
fengweihao
2019-04-02 13:01:15 +08:00
committed by zhengchao
parent ad004b29a6
commit a22e0ed630
5 changed files with 92 additions and 48 deletions

View File

@@ -34,6 +34,7 @@ typedef enum {
NGHTTP2_METHOD_POST = 3,
NGHTTP2_METHOD_PUT = 4,
NGHTTP2_METHOD_CONNECT = 5,
NGHTTP2_METHOD_OPTIONS = 6,
NGHTTP2_METHOD_UNKNOWN,
}nghttp2_method;