emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: HTTP redirects make url-retrieve-synchronously asynchronous


From: Mark Plaksin
Subject: Re: HTTP redirects make url-retrieve-synchronously asynchronous
Date: Sat, 14 Jan 2006 22:14:02 -0500
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.51 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> Funny, now that you mention it, I see in the piece of code that does what
> you describe.  I'll have to try again and figure out why it seemed to work
> for me.

It works great as long as keep-alive is in effect.  The Slashdot redirect
has "Connection: close" in the headers--that makes it fail as I described.
I've done lots of testing and turning keep-alive off (either in the site's
response headers or by setting url-http-attempt-keepalives to nil) is the
only way I can make your fix fail.

I'll keep poking around and see if I can figure out why that is the case.
Feel free to beat me to it! :)





reply via email to

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