emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Race condition in url-http.el


From: Andreas Seltenreich
Subject: Race condition in url-http.el
Date: Sat, 22 Apr 2006 18:20:21 +0200
User-agent: Gnus/5.110005 (No Gnus v0.5) Emacs/22.0.50 (gnu/linux)

Hi,

url-http.el seems to attempt reusing connections despite the presence
of a "Connection: close" header if the server didn't close the
connection fast enough. This is easily triggered when url-http is
following redirects, in which case it just returns an empty buffer.

The attached patch seems to fix it. I'm not sure if it is the right
way to fix it, but the sentinel seems to do proper cleanup after the
delete-process on the network connection.

Thanks,
andreas

Attachment: url-http.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]