use http/1.0 since we dont support chunked transfer encoding

This commit is contained in:
Matt 2016-02-09 12:04:05 -07:00
parent ef97462acc
commit 92934bbd5c

View File

@ -39,7 +39,11 @@
// instead of 1.0 for www.mindanews.com.
// keep-alive is controlled by the client/spider so should be ok
// to not support it.
#define DEFAULT_SPIDER_HTTP_PROTO "HTTP/1.1"
// MDW: crap, we don't support chunked transfer encoding so until we do
// we have to use 1.0
// Transfer-Encoding: chunked\r\n
//#define DEFAULT_SPIDER_HTTP_PROTO "HTTP/1.1"
#define DEFAULT_SPIDER_HTTP_PROTO "HTTP/1.0"
//this is for low priority requests which come in while we are
//in a quickpoll