]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Workaround intermittent bugs with HEAD requests by disabling keepalive in HTTPClient.
authorBrion Vibber <brion@pobox.com>
Wed, 10 Mar 2010 23:08:40 +0000 (15:08 -0800)
committerBrion Vibber <brion@pobox.com>
Wed, 10 Mar 2010 23:13:16 +0000 (15:13 -0800)
commit5cd020bf299619ca2844f4d14418891a59a0dd22
treef3b04ed9020b12568234e1695cd41e4ccb1eaf41
parent294b290dd95a2e4a09026932a2b066ccee587681
Workaround intermittent bugs with HEAD requests by disabling keepalive in HTTPClient.

I think this is a bug in Youtube's web server (sending chunked encoding of an empty body with a HEAD response, leaving the connection out of sync when it doesn't attempt to read a body) but the HTTP_Request2 library may need to be adjusted to watch out for that.
lib/httpclient.php