diff options
Diffstat (limited to 'src/spdy2http/proxy.c')
-rw-r--r-- | src/spdy2http/proxy.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/spdy2http/proxy.c b/src/spdy2http/proxy.c index 620dc219..dc884a68 100644 --- a/src/spdy2http/proxy.c +++ b/src/spdy2http/proxy.c | |||
@@ -418,7 +418,9 @@ curl_header_cb(void *ptr, size_t size, size_t nmemb, void *userp) | |||
418 | if(NULL == (name = strndup(line, i - pos))) | 418 | if(NULL == (name = strndup(line, i - pos))) |
419 | DIE("No memory"); | 419 | DIE("No memory"); |
420 | if(0 == strcmp(SPDY_HTTP_HEADER_CONNECTION, name) | 420 | if(0 == strcmp(SPDY_HTTP_HEADER_CONNECTION, name) |
421 | || 0 == strcmp(SPDY_HTTP_HEADER_KEEP_ALIVE, name)) | 421 | || 0 == strcmp(SPDY_HTTP_HEADER_KEEP_ALIVE, name) |
422 | || 0 == strcmp(SPDY_HTTP_HEADER_TRANSFER_ENCODING, name) | ||
423 | ) | ||
422 | { | 424 | { |
423 | //forbidden in spdy, ignore | 425 | //forbidden in spdy, ignore |
424 | free(name); | 426 | free(name); |
@@ -858,6 +860,7 @@ display_usage() | |||
858 | ); | 860 | ); |
859 | } | 861 | } |
860 | 862 | ||
863 | |||
861 | int | 864 | int |
862 | main (int argc, char *const *argv) | 865 | main (int argc, char *const *argv) |
863 | { | 866 | { |