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


Message #27 received at 16345 <at> debbugs.gnu.org (full text, mbox):

From: James Stout <james.wolf.stout <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Glenn Morris <rgm <at> gnu.org>, 16345 <at> debbugs.gnu.org
Subject: Re: bug#16345: 24.3; url-http sometimes closes connection prematurely
Date: Mon, 28 Dec 2015 10:50:44 -0800
[Message part 1 (text/plain, inline)]
This is the first Emacs patch I've ever sent; let me know if I'm doing it
wrong.

On Mon, Dec 28, 2015 at 9:49 AM, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:

> James Stout <james.wolf.stout <at> gmail.com> writes:
>
> > I'm suggesting the following change:
> >
> > Before: (if (re-search-forward "^\r*$" nil t) (url-http-debug "Saw end of
> > trailers..."))
> > After: (if (re-search-forward "^\r?\n" nil t) (url-http-debug "Saw end of
> > trailers..."))
> >
> > This is based purely on my reading of the spec; this wasn't actually a
> problem
> > I ran into (and it's just going to affect a debug message).
>
> Can you send a patch for the change?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
>
[Message part 2 (text/html, inline)]
[0001-Fixed-regular-expression-for-end-of-HTTP-trailers-to.patch (application/octet-stream, attachment)]

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

Previous Next


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