Subject: Re: bug#16345: 24.3; url-http sometimes closes connection prematurely

From: Glenn Morris <[email-masked]>
Date: Sat, 04 Jan 2014 18:46:51 -0500

James Stout wrote:

> fix. The core problem is that the http library uses an incorrect regular
> expression when determining when the response headers are complete. It's
> looking for an empty line, and it uses "^\r*$", but it should use "^\r?\n".

Thanks, it already does so in Emacs trunk:

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13598#28

Perhaps you could check that trunk works correctly for you.