From: sb1066 Date: Sun, 31 Oct 2010 15:00:47 +0000 (+0000) Subject: Some http header fields can be declared, but not set. Ignore these fields rather... X-Git-Tag: 2.12~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46df6a2b72f5295eac99332a0f7287e010d7c47c;p=thirdparty%2Ftvheadend.git Some http header fields can be declared, but not set. Ignore these fields rather than exiting. --- diff --git a/src/http.c b/src/http.c index c8866888d..7608e8661 100644 --- a/src/http.c +++ b/src/http.c @@ -722,7 +722,7 @@ http_serve_requests(http_connection_t *hc, htsbuf_queue_t *spill) break; /* header complete */ if((n = http_tokenize(hdrline, argv, 2, -1)) < 2) - return; + continue; if((c = strrchr(argv[0], ':')) == NULL) return;