Follow-up Comment #2, bug #41003 (project wget):

by inspecting the code, I see that wget doesn't check for the version of the
HTTP protocol and it should assume no keep-alive connection by default when
HTTP/1.0 is used.

Darshit, if you specify --debug, do you get the "Registered socket %d for
persistent reuse.\n" message?

I was quickly testing with netcat as:

$ printf "HTTP/1.0 200 OK\r\nContent-Length: 0\r\n\r\n" | nc -l -p 8080

$ LANG=C ./wget -d -O /dev/null http://localhost:8080/ 2>&1  | grep
Registered
Registered socket 4 for persistent reuse.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41003>

_______________________________________________
  Messaggio inviato con/da Savannah
  http://savannah.gnu.org/


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to