mirror of
https://github.com/gigablast/open-source-search-engine.git
synced 2024-10-04 04:07:13 +03:00
use http/1.0 since we dont support chunked transfer encoding
This commit is contained in:
parent
ef97462acc
commit
92934bbd5c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user