GNU bug report logs -
#16345
24.3; url-http sometimes closes connection prematurely
Previous Next
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 #21 received at 16345 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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).
On Fri, Dec 25, 2015 at 12:38 PM, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
> James Stout <james.wolf.stout <at> gmail.com> writes:
>
> > Yep, that fix works for me, thanks! Next time I'll be sure to check
> resolved bugs (I only checked open ones) and the source code trunk.
> >
> > I did notice that only one instance of the regular expression was
> changed. I'm not using chunked encoding with trailers, so it's hard for
> > me to verify whether this indeed is a bug, but I think this line also
> needs to be fixed:
> >
> http://bzr.savannah.gnu.org/lh/emacs/trunk/annotate/head:/lisp/url/url-http.el#L1037
>
> Could you send a fix for the line in question?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
> bloggy blog: http://lars.ingebrigtsen.no
>
[Message part 2 (text/html, inline)]
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.