Do not give error while storing invalid header

This commit is contained in:
[anp/hsw] authored and rofl0r committed 2020-09-07 01:12:50 +01:00
1 parent d0fae11760
commit 17ae1b512c
1 file changed
+1 -1
+1 -1
View File
@@ -605,7 +605,7 @@ add_header_to_connection (hashmap_t hashofheaders, char *header, size_t len)
sep = strchr (header, ':');
if (!sep)
return -1;
return 0; /* just skip invalid header, do not give error */
/* Blank out colons, spaces, and tabs. */
while (*sep == ':' || *sep == ' ' || *sep == '\t')