Skip to content

Commit 1fc4745

Browse files
committed
fix duplicated indexes in array in __http_msg_hdr_val()
TFW_HTTP_HDR_USER_AGENT is equals to TFW_HTTP_HDR_SERVER
1 parent 3fe5aec commit 1fc4745

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tempesta_fw/http_msg.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ __http_msg_hdr_val(TfwStr *hdr, unsigned id, TfwStr *val, bool client)
140140
[TFW_HTTP_HDR_X_FORWARDED_FOR] = SLEN("X-Forwarded-For:"),
141141
[TFW_HTTP_HDR_KEEP_ALIVE] = SLEN("Keep-Alive:"),
142142
[TFW_HTTP_HDR_TRANSFER_ENCODING] = SLEN("Transfer-Encoding:"),
143-
[TFW_HTTP_HDR_USER_AGENT] = SLEN("User-Agent:"),
144143
[TFW_HTTP_HDR_SERVER] = SLEN("Server:"),
145144
[TFW_HTTP_HDR_COOKIE] = SLEN("Cookie:"),
146145
[TFW_HTTP_HDR_ETAG] = SLEN("ETag:"),

0 commit comments

Comments
 (0)