Howdy!
In the process of testing my HTTP server implementation I stumbled upon
a Wget weird behaviour regarding keep-alive connections.
Wget requests a `Connection: Keep-Alive`, my server responds in chunks
(`Transfer-Encoding: chunked`). Wget receives the empty sentinel chunk
but does not close the connection although it hasn't got any more
requests sticking around in its pipeline. The reason for this behaviour
is, I guess, that my server does /not/ send a `Connection: Keep-Alive`
header in the response.
I think Wget should close the connection even though the `Connection:
Keep-Alive` header is missing from the response. Why should it wait for
more data? It's obvious that the server has no data left to send after
the sentinel chunk, isn't it?
Jonas
- [Bug-wget] Connection: Keep-Alive behaviour Jonas H.
-