diff options
author | [anp/hsw] <sysop@880.ru> | 2019-01-01 11:00:43 +0700 |
---|---|---|
committer | rofl0r <rofl0r@users.noreply.github.com> | 2020-09-07 01:12:50 +0100 |
commit | 17ae1b512c386970d0f5b84b385b89749a89b1e5 (patch) | |
tree | 9d719dcde7913e4088a992ade48b60a87e210a5e /src/reqs.c | |
parent | d0fae1176094f0da46ed21d773fff64284dfa4a8 (diff) |
Do not give error while storing invalid header
Diffstat (limited to 'src/reqs.c')
-rw-r--r-- | src/reqs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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') |