Commit 928d3e5f authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Allow sending trailer header field

parent 42eeebc7
...@@ -230,7 +230,6 @@ void copy_headers_to_nva(std::vector<nghttp2_nv> &nva, const Headers &headers) { ...@@ -230,7 +230,6 @@ void copy_headers_to_nva(std::vector<nghttp2_nv> &nva, const Headers &headers) {
case HD_KEEP_ALIVE: case HD_KEEP_ALIVE:
case HD_PROXY_CONNECTION: case HD_PROXY_CONNECTION:
case HD_SERVER: case HD_SERVER:
case HD_TRAILER:
case HD_TRANSFER_ENCODING: case HD_TRANSFER_ENCODING:
case HD_UPGRADE: case HD_UPGRADE:
case HD_VIA: case HD_VIA:
...@@ -256,7 +255,6 @@ void build_http1_headers_from_headers(std::string &hdrs, ...@@ -256,7 +255,6 @@ void build_http1_headers_from_headers(std::string &hdrs,
case HD_KEEP_ALIVE: case HD_KEEP_ALIVE:
case HD_PROXY_CONNECTION: case HD_PROXY_CONNECTION:
case HD_SERVER: case HD_SERVER:
case HD_TRAILER:
case HD_UPGRADE: case HD_UPGRADE:
case HD_VIA: case HD_VIA:
case HD_X_FORWARDED_FOR: case HD_X_FORWARDED_FOR:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment