From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 16:50:22 2011 Received: (at submit) by debbugs.gnu.org; 24 Jun 2011 20:50:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QaDKX-0003e4-5Z for submit@debbugs.gnu.org; Fri, 24 Jun 2011 16:50:21 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QaCKk-0007Zs-4X for submit@debbugs.gnu.org; Fri, 24 Jun 2011 15:46:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QaCKc-0005fo-MH for submit@debbugs.gnu.org; Fri, 24 Jun 2011 15:46:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:55772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaCKc-0005fZ-Bg for submit@debbugs.gnu.org; Fri, 24 Jun 2011 15:46:22 -0400 Received: from eggs.gnu.org ([140.186.70.92]:34730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaCKa-0005D1-FE for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2011 15:46:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QaCKX-0005ep-TD for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2011 15:46:19 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:44433) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaCKX-0005ed-KV for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2011 15:46:17 -0400 Received: by vxg38 with SMTP id 38so2888838vxg.0 for ; Fri, 24 Jun 2011 12:46:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=oV3pLFaeFg4Atl/vlq7gaqerNc8Mf3yOKZ9hRw0tFws=; b=lZKD4KXnyyq8jn1PMx6O8t3uUdJWGc6VL1XOIDclFuAl0uLB3eDKZSFUdM6Z/xWwUo 6CBX2gGOjpyRumi2vQoYtD+k3lsVsak2T83mjIhGPmKgYlf8A+1GFNwYAu91YDwF7enH s4a/6CNeQo/2/ZjBJZ1prHwYuAbN8n9su4VnM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=XrStSd9XQLmGBnxdbvMJC1rgBAoLjhXFs8BlFc39i4hYrM8M9KXHGWDCuOro4wiYs/ iEKaCamLjIGgjW4uWCOC9JTtywV969zI+zJ36bmdMMtOfjN645mk6Bvu7JM2ZUz450zJ jqCm4ppQAPjLSzn3qoIWhIce84RNrMMFChQZ4= Received: by 10.52.178.74 with SMTP id cw10mr5208011vdc.141.1308944776135; Fri, 24 Jun 2011 12:46:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.160.161 with HTTP; Fri, 24 Jun 2011 12:45:36 -0700 (PDT) From: Nicolas Avrutin Date: Fri, 24 Jun 2011 15:45:36 -0400 Message-ID: Subject: 24.0.50; url-http.el terminating HTTP packets with extra carriage return and newline To: bug-gnu-emacs@gnu.org Content-Type: multipart/mixed; boundary=20cf3071cc626983ed04a67a74c6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 24 Jun 2011 16:50:20 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --20cf3071cc626983ed04a67a74c6 Content-Type: multipart/alternative; boundary=20cf3071cc626983ea04a67a74c4 --20cf3071cc626983ea04a67a74c4 Content-Type: text/plain; charset=UTF-8 `browse-url-emacs' and `url-retrieve-synchronously' (and probably other functions) appear to be generating malformed HTTP packets by appending an extra \r\n to the packet, resulting in them being terminated with "\r\n\r\n" instead of "\r\n". Some pages (such as http://www.google.com) to still return properly and just send back a packet saying that the sent packet was malformed. Other pages, in my case last.fm's client API (access via emms-lastfm-client) return 400 Bad Request. In addition, this causes Wireshark to report the packet as "HEAD / HTTP/1.1 Continuation or non-HTTP traffic". Removing the "\r\n" on line 341 of url-http.el (see attached patch) removes the duplicate "'\r\n" and appears to fix the issue. Calls to last.fm's client API return 200 OK as expected and Wireshark properly reports the packet as "HEAD / HTTP/1.1". Google, however, still reports a malformed packet. This bug is preset in Emacs 23.1, but is not in 23.2. My patch restores the line to what it was in 23.2, but I do not know if it was changed for a reason or in error. -- Nicolas Avrutin --20cf3071cc626983ea04a67a74c4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
`browse-url-emacs' and `url-retrieve-synchronously' (and proba= bly other functions) appear to be generating malformed HTTP packets by appe= nding an extra \r\n to the packet, resulting in them being terminated with = "\r\n\r\n" instead of "\r\n". Some pages (such as http://www.google.com) to still return pro= perly and just send back a packet saying that the sent packet was malformed= . Other pages, in my case last.fm's clie= nt API (access via emms-lastfm-client) return 400 Bad Request.=C2=A0In addi= tion, this causes Wireshark to report the packet as "HEAD / HTTP/1.1 C= ontinuation or non-HTTP traffic".

Removing the "\r\n" on line 341 of url-http.e= l (see attached patch) removes the duplicate "'\r\n" and=C2= =A0appears to fix the issue. Calls to last.fm's client API return 200 OK as expected and Wireshark properly reports= the packet as "HEAD / HTTP/1.1". Google, however, still reports = a malformed packet.

This bug is preset in Emacs 23.1, but is not in 23.2. M= y patch restores the line to what it was in 23.2, but I do not know if it w= as changed for a reason or in error.

--
Nicolas Avrutin

--20cf3071cc626983ea04a67a74c4-- --20cf3071cc626983ed04a67a74c6 Content-Type: text/x-patch; charset=US-ASCII; name="url-http.patch" Content-Disposition: attachment; filename="url-http.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gpbjpawq0 KioqIHVybC1odHRwLmVsCTIwMTEtMDYtMjQgMTU6MTE6NTMuMTg2MjM4ODkzIC0wNDAwCi0tLSB1 cmwtaHR0cC5lbC5wYXRjaGVkCTIwMTEtMDYtMjQgMTU6MTE6MDAuMjMyOTA3NjE5IC0wNDAwCioq KioqKioqKioqKioqKgoqKiogMzM4LDM0NCAqKioqCiAgICAgICAgICAgICAgIDs7IEVuZCByZXF1 ZXN0CiAgICAgICAgICAgICAgICJcclxuIgogICAgICAgICAgICAgICA7OyBBbnkgZGF0YQohICAg ICAgICAgICAgICB1cmwtaHR0cC1kYXRhICJcclxuIikpCiAgICAgICAgICAgICAiIikpCiAgICAg ICh1cmwtaHR0cC1kZWJ1ZyAiUmVxdWVzdCBpczogXG4lcyIgcmVxdWVzdCkKICAgICAgcmVxdWVz dCkpCi0tLSAzMzgsMzQ0IC0tLS0KICAgICAgICAgICAgICAgOzsgRW5kIHJlcXVlc3QKICAgICAg ICAgICAgICAgIlxyXG4iCiAgICAgICAgICAgICAgIDs7IEFueSBkYXRhCiEgICAgICAgICAgICAg IHVybC1odHRwLWRhdGEpKQogICAgICAgICAgICAgIiIpKQogICAgICAodXJsLWh0dHAtZGVidWcg IlJlcXVlc3QgaXM6IFxuJXMiIHJlcXVlc3QpCiAgICAgIHJlcXVlc3QpKQo= --20cf3071cc626983ed04a67a74c6-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 03 12:05:10 2011 Received: (at control) by debbugs.gnu.org; 3 Jul 2011 16:05:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdPAT-0003Ct-GY for submit@debbugs.gnu.org; Sun, 03 Jul 2011 12:05:09 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdPAQ-0003CL-Br for control@debbugs.gnu.org; Sun, 03 Jul 2011 12:05:08 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QdPAB-0002Uk-PP for control@debbugs.gnu.org; Sun, 03 Jul 2011 18:04:51 +0200 Date: Sun, 03 Jul 2011 18:04:51 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Magne Ingebrigtsen Subject: control message for bug #8931 X-MailScanner-ID: 1QdPAB-0002Uk-PP X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1310313891.88453@bGgQG4jDWOZLIa2KSVbuUw X-Spam-Status: No X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) tags 8931 fixed close 8931 24.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 03 12:06:21 2011 Received: (at 8931) by debbugs.gnu.org; 3 Jul 2011 16:06:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdPBc-0003Ep-RS for submit@debbugs.gnu.org; Sun, 03 Jul 2011 12:06:21 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdPBa-0003Ed-IB for 8931@debbugs.gnu.org; Sun, 03 Jul 2011 12:06:19 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QdPBO-0002VZ-RW; Sun, 03 Jul 2011 18:06:06 +0200 From: Lars Magne Ingebrigtsen To: Nicolas Avrutin Subject: Re: 24.0.50; url-http.el terminating HTTP packets with extra carriage return and newline In-Reply-To: (Nicolas Avrutin's message of "Fri, 24 Jun 2011 15:45:36 -0400") Date: Sun, 03 Jul 2011 18:04:44 +0200 Message-ID: References: User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Cat Power's _Dark End of the Street_: "It Ain't Fair" X-Hashcash: 1:23:110703:nicolasavru@gmail.com::PUfYYXXOfdUgJ7V+:000000000000000000000000000000000000000010GF X-Hashcash: 1:23:110703:bug-gnu-emacs@gnu.org::gCkCgLylw59QsEIM:00000000000000000000000000000000000000008BL3 X-Hashcash: 1:23:110703:8931@debbugs.gnu.org::lmzu9V8/qibvDuGq:00000000000000000000000000000000000000000JzOL MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1QdPBO-0002VZ-RW X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1310313967.03034@1nGNG+T83ZDm4XubCJ9MQw X-Spam-Status: No X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 8931 Cc: 8931@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) Nicolas Avrutin writes: > This bug is preset in Emacs 23.1, but is not in 23.2. My patch > restores the line to what it was in 23.2, but I do not know if it was > changed for a reason or in error. Thanks for the patch; I've now applied it to Emacs 24. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From unknown Tue Sep 09 00:07:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 01 Aug 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 24 14:10:02 2011 Received: (at control) by debbugs.gnu.org; 24 Sep 2011 18:10:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7Wfp-000669-Az for submit@debbugs.gnu.org; Sat, 24 Sep 2011 14:10:02 -0400 Received: from mail24c25.carrierzone.com ([64.29.147.34]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7JJ9-0001qV-UN for control@debbugs.gnu.org; Fri, 23 Sep 2011 23:53:44 -0400 X-Authenticated-User: cjwhite.grierwhite.com Received: from unknown (pool-108-20-106-149.bstnma.east.verizon.net [108.20.106.149]) (authenticated bits=0) by mail24c25.carrierzone.com (8.13.6/8.13.1) with ESMTP id p8O3rBf7024922 for ; Sat, 24 Sep 2011 03:53:13 GMT Date: Fri, 23 Sep 2011 23:53:11 -0400 From: "Christopher J. White" To: control@debbugs.gnu.org Subject: unarchive 8931 Message-ID: <20110923235311.000054de@unknown> X-Mailer: Claws Mail 3.7.8cvs63 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-CSC: 0 X-CHA: v=1.1 cv=qPTRdQ0BYkhR73z0lvVjtSIhj4Pcdet57eUvyTqbk4M= c=1 sm=1 a=3pyGGIT-qAEA:10 a=kj9zAlcOel0A:10 a=xfvl1eDjdgK2iLzGOqA5FA==:17 a=Np-s1xBqOgbcM3bChRIA:9 a=CjuIK1q_8ugA:10 a=xfvl1eDjdgK2iLzGOqA5FA==:117 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: control X-Mailman-Approved-At: Sat, 24 Sep 2011 14:10:00 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) unarchive 8931 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 24 14:11:15 2011 Received: (at 8931) by debbugs.gnu.org; 24 Sep 2011 18:11:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7Wh0-00068W-GN for submit@debbugs.gnu.org; Sat, 24 Sep 2011 14:11:15 -0400 Received: from mail13c25.carrierzone.com ([64.29.147.23]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7JUK-00028J-Nq for 8931@debbugs.gnu.org; Sat, 24 Sep 2011 00:05:18 -0400 X-Authenticated-User: cjwhite.grierwhite.com Received: from unknown (pool-108-20-106-149.bstnma.east.verizon.net [108.20.106.149]) (authenticated bits=0) by mail13c25.carrierzone.com (8.13.6/8.13.1) with ESMTP id p8O44h8S032006 for <8931@debbugs.gnu.org>; Sat, 24 Sep 2011 04:04:45 GMT Date: Sat, 24 Sep 2011 00:04:43 -0400 From: "Christopher J. White" To: 8931@debbugs.gnu.org Subject: url-http-create-request needs extra CRLF for https Message-ID: <20110924000443.00007b72@unknown> X-Mailer: Claws Mail 3.7.8cvs63 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-CSC: 0 X-CHA: v=1.1 cv=N3L/Tfa42wsFdH1QQdn+g2RYVyTg+YMnn+m4ceAfmfI= c=1 sm=1 a=fQTFhOV4UH4A:10 a=3pyGGIT-qAEA:10 a=kj9zAlcOel0A:10 a=xfvl1eDjdgK2iLzGOqA5FA==:17 a=mDV3o1hIAAAA:8 a=mi8sYjtdou5l2NjRwBkA:9 a=CjuIK1q_8ugA:10 a=xfvl1eDjdgK2iLzGOqA5FA==:117 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 8931 X-Mailman-Approved-At: Sat, 24 Sep 2011 14:11:13 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) There is a tug of war going on here. Prior to 100681, the code had no CRLF after url-http-data. Mark Hershberger submitted a patch to add the CRLF because without it, POSTs with content to https urls just hang: http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/100681 This change was undone by Nicola Avrutin in 104908: http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/104908 The problem was that with no url-http-data, the request ends with a double CRLF, which apparently confuses some servers. I recently came across the exact same problem (with url-http.el without the extra CRL), and Mark's patch above works just fine for me (also POSTs to https). I'm thinking the correct solution is to only add the CRLF if there is http-data: - url-http-data)) + url-http-data (if url-http-data "\r\n"))) ...cj From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 24 14:27:54 2011 Received: (at 8931) by debbugs.gnu.org; 24 Sep 2011 18:27:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7Wx7-0007Ga-KE for submit@debbugs.gnu.org; Sat, 24 Sep 2011 14:27:54 -0400 Received: from mail24c25.carrierzone.com ([64.29.147.34]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7Wx4-0007GS-UN for 8931@debbugs.gnu.org; Sat, 24 Sep 2011 14:27:51 -0400 X-Authenticated-User: cjwhite.grierwhite.com Received: from unknown (pool-108-20-106-149.bstnma.east.verizon.net [108.20.106.149]) (authenticated bits=0) by mail24c25.carrierzone.com (8.13.6/8.13.1) with ESMTP id p8OIRFgc026028 for <8931@debbugs.gnu.org>; Sat, 24 Sep 2011 18:27:16 GMT Date: Sat, 24 Sep 2011 14:30:12 -0400 From: "Christopher J. White" To: 8931@debbugs.gnu.org Subject: May be related to 9592 Message-ID: <20110924143012.00002cc5@unknown> X-Mailer: Claws Mail 3.7.8cvs63 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-CSC: 0 X-CHA: v=1.1 cv=qPTRdQ0BYkhR73z0lvVjtSIhj4Pcdet57eUvyTqbk4M= c=1 sm=1 a=3pyGGIT-qAEA:10 a=kj9zAlcOel0A:10 a=xfvl1eDjdgK2iLzGOqA5FA==:17 a=mDV3o1hIAAAA:8 a=OvxEguczbNCfkzae86sA:9 a=NxsnoBjHKhePM1z2DtEA:7 a=CjuIK1q_8ugA:10 a=xfvl1eDjdgK2iLzGOqA5FA==:117 X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: 8931 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) Further testing with this indicates this may not be a complete fix. The fix works reliably for a single connection, but when making multiple POST requests, an older process is grabbed for reuse, but then leads to an error as the process seems to terminate. See: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9592 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 24 18:59:34 2011 Received: (at 8931) by debbugs.gnu.org; 24 Sep 2011 22:59:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7bC1-0005ht-3f for submit@debbugs.gnu.org; Sat, 24 Sep 2011 18:59:34 -0400 Received: from vm-emlprdomr-04.its.yale.edu ([130.132.50.145]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7bBy-0005hl-3c for 8931@debbugs.gnu.org; Sat, 24 Sep 2011 18:59:30 -0400 Received: from furball (ip-64-134-71-96.public.wayport.net [64.134.71.96]) (authenticated bits=0) by vm-emlprdomr-04.its.yale.edu (8.14.4/8.14.4) with ESMTP id p8OMwsKS025920 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 24 Sep 2011 18:58:55 -0400 From: Chong Yidong To: "Christopher J. White" Subject: Re: bug#8931: url-http-create-request needs extra CRLF for https References: <20110924000443.00007b72@unknown> Date: Sat, 24 Sep 2011 18:58:53 -0400 In-Reply-To: <20110924000443.00007b72@unknown> (Christopher J. White's message of "Sat, 24 Sep 2011 00:04:43 -0400") Message-ID: <87vcshmtsi.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.145 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 8931 Cc: 8931@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) "Christopher J. White" writes: > I'm thinking the correct solution is to only add the CRLF if there is > http-data: > > - url-http-data)) > + url-http-data (if url-http-data "\r\n"))) Yes, this looks right. Committed to trunk. From unknown Tue Sep 09 00:07:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 23 Oct 2011 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator