unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: James Stout <james.wolf.stout@gmail.com>
Cc: 16345@debbugs.gnu.org
Subject: bug#16345: 24.3; url-http sometimes closes connection prematurely
Date: Sat, 04 Jan 2014 18:46:51 -0500	[thread overview]
Message-ID: <4u1u0n71jo.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAJGMLzxb1G25pKG1LHPaGBC2edh9+SxhktZ28CJkOKaPbOwL8w@mail.gmail.com> (James Stout's message of "Sat, 4 Jan 2014 13:01:02 -0800")

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.





  reply	other threads:[~2014-01-04 23:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-04 21:01 bug#16345: 24.3; url-http sometimes closes connection prematurely James Stout
2014-01-04 23:46 ` Glenn Morris [this message]
2014-01-05 19:59   ` James Stout
2015-12-25 20:38     ` Lars Ingebrigtsen
2015-12-27 23:28       ` James Stout
2015-12-28 17:49         ` Lars Ingebrigtsen
2015-12-28 18:50           ` James Stout
2015-12-28 19:50             ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4u1u0n71jo.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=16345@debbugs.gnu.org \
    --cc=james.wolf.stout@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).