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

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

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


From: James Stout
Subject: bug#16345: 24.3; url-http sometimes closes connection prematurely
Date: Mon, 28 Dec 2015 10:50:44 -0800

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@gnus.org> wrote:
James Stout <james.wolf.stout@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

Attachment: 0001-Fixed-regular-expression-for-end-of-HTTP-trailers-to.patch
Description: Binary data


reply via email to

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