GNU bug report logs - #16345
24.3; url-http sometimes closes connection prematurely

Previous Next

Package: emacs;

Reported by: James Stout <james.wolf.stout <at> gmail.com>

Date: Sat, 4 Jan 2014 23:43:01 UTC

Severity: normal

Tags: fixed

Found in version 24.3

Fixed in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: James Stout <james.wolf.stout <at> gmail.com>
Cc: 16345 <at> debbugs.gnu.org
Subject: bug#16345: 24.3; url-http sometimes closes connection prematurely
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.




This bug report was last modified 8 years and 175 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.