Protocols.HTTP.Query indexing NULL value with content-length
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3207
Reported by Johan H Sundström, IDA jhs@pike.ida.liu.se
The recent trouble with WebServer contacting www.roxen.com for news and triggering lots of garbage traffic probably occurs because of a problem in Protocols.HTTP; the debug log gets filled with this:
Indexing the NULL value with "content-length".
/pike/sw/roxen/server-2.4.103/pike/lib/pike/modules/Protocols.pmod/HTTP.pmod/Query.pike
(version 1.37):625: Query()->data(0)
config_interface/boxes/Box.pmod:70: done(Query(200 OK))
/pike/sw/roxen/server-2.4.103/pike/lib/pike/modules/Protocols.pmod/HTTP.pmod/Query.pike
(version 1.37):203: Query(200 OK)->ponder_answe
r()
/pike/sw/roxen/server-2.4.103/pike/lib/pike/modules/Protocols.pmod/HTTP.pmod/Query.pike
(version 1.37):283: Query(200 OK)->async_read(0
,"HTTP/1.0 200 OK\r\nDate: Thu, 15 Aug 2002 16:32:58 GMT\r\nServer:
Roxen/2.2.213\r\nContent-Length: 2903\r\nAccept-Ranges: bytes\r\nCo
ntent-Type: text/html\r\n\r\n\n<table cellpadding=\"0\" cellspacing
=\"0\">\n \n"+[2857])
/pike/sw/roxen/server-2.4.103/pike/lib/pike/modules/Stdio.pmod/module.pmod
(version 1.115):692: Stdio.File("socket", "194.52.182.5:80",
777 /* fd=93 */)->__stdio_read_callback()