nghttpx: Allow sending trailer header field
This commit is contained in:
parent
42eeebc7f6
commit
928d3e5f3f
|
@ -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,
|
||||||
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:
|
||||||
|
|
Loading…
Reference in New Issue