From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Christopher J. White" Newsgroups: gmane.emacs.bugs Subject: bug#10768: 23.3; url-http misses data when last few bytes are in 2nd packet and content-length is used Date: Thu, 9 Feb 2012 07:49:33 -0500 Message-ID: <20120209074933.000047ef@unknown> References: <20120208235321.00003609@unknown> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1328791880 26756 80.91.229.3 (9 Feb 2012 12:51:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Feb 2012 12:51:20 +0000 (UTC) Cc: 10768@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 09 13:51:17 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RvTSz-0007Hz-QH for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Feb 2012 13:51:14 +0100 Original-Received: from localhost ([::1]:36347 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvTSy-0000ka-S6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Feb 2012 07:51:12 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:51430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvTSq-0000kQ-Cv for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2012 07:51:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvTSi-0004bC-3o for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2012 07:51:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvTSh-0004b8-U3 for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2012 07:50:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RvTTm-0006Pz-D1 for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2012 07:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Christopher J. White" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Feb 2012 12:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10768 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10768-submit@debbugs.gnu.org id=B10768.132879186724606 (code B ref 10768); Thu, 09 Feb 2012 12:52:02 +0000 Original-Received: (at 10768) by debbugs.gnu.org; 9 Feb 2012 12:51:07 +0000 Original-Received: from localhost ([127.0.0.1]:33410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvTSp-0006Ol-TG for submit@debbugs.gnu.org; Thu, 09 Feb 2012 07:51:06 -0500 Original-Received: from mail13c25.carrierzone.com ([64.29.147.23]:57474) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvTSj-0006OF-1d for 10768@debbugs.gnu.org; Thu, 09 Feb 2012 07:51:01 -0500 X-POP-User: cjwhite.grierwhite.com Original-Received: from unknown (pool-108-49-4-207.bstnma.east.verizon.net [108.49.4.207]) by mail13c25.carrierzone.com (8.13.6/8.13.1) with ESMTP id q19CniV2027159; Thu, 9 Feb 2012 12:49:47 GMT In-Reply-To: X-Mailer: Claws Mail 3.8.0cvs6 (GTK+ 2.16.6; i586-pc-mingw32msvc) X-CSC: 0 X-CHA: v=1.1 cv=N1q7tLlpVkgwgCgcIMmsDvmmpjdUzSJ6hE3/gn3DElE= c=1 sm=1 a=hdTLrLAGt2gA:10 a=3pyGGIT-qAEA:10 a=kj9zAlcOel0A:10 a=iW5S9OHVd49uhICS+jddKg==:17 a=tBb2bbeoAAAA:8 a=JJJ-DeXCAAAA:8 a=G0BRwk1oAAAA:8 a=TLsayHnw2igtNOCkYogA:9 a=NEYPxOaO2VozE6VtqKUA:7 a=CjuIK1q_8ugA:10 a=xQdB8fRqRzQA:10 a=YuKU6ANggZ8A:10 a=afs47w9HCcgA:10 a=jVKp2qe0AqUA:10 a=NWVoK91CQyQA:10 a=4dI1X88jbcPzcsmA:21 a=Yz3JGOi1g-it91eD:21 a=iW5S9OHVd49uhICS+jddKg==:117 X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A020201.4F33C0ED.0007,ss=1,re=0.000,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56718 Archived-At: On Thu, 09 Feb 2012 10:15:47 +0100 Andreas Schwab wrote: > "Christopher J. White" writes: > > Content-Length: 1189 > ^^^^ > > > total='3'>9105869Test > > 113284829381327924800000001328097600013281372000029108309Test > > 2 > > -foobar13287613220000000000029149333org-toodledo1328011949000020000002 > 1189 bytes of data follow. > > That looks like a bug in the server. I considered that and looked hard for it to be the server. In the data output the double quote chars add an additional slash "\" that is not present in the actual data. The content-length and the actual number of raw bytes matches precisely when decoded from wireshark. I reran the test and collected the 3 sets of data, the recombined HTTM response as built by wireshark (TCP Follow Stream), the ascii dump of the wireshark packets (2 involved), and the URL-Debug. The key point is that the data in the second packet is never processed by url-http, only the bytes in the first packet. HTTP response as seen in Wireshark: ---------------------------------------- f=xml&key=444ed11d926131624b2ce2ed81f58ad4&unix=1&fields=status%2crepeat%2crepeatfrom%2ccontext%2cduedate%2cduetime%2cstartdate%2cstarttime%2cfolder%2cgoal%2cpriority%2cnote%2clength%2cparent&comp=%2d1&modafter=0 HTTP/1.1 200 OK Date: Thu, 09 Feb 2012 12:34:49 GMT Server: Apache/2.2.3 (Red Hat) Content-Length: 1189 Keep-Alive: timeout=2, max=100 Connection: Keep-Alive Content-Type: application/xml 9105869Test 113284829381327924800000001328097600013281372000029108309Test 2 -foobar13287908820000000000029149333org-toodledo1328011949000020000002 ---------------------------------------- There is no newline at the end, the last character is the ">" after tasks. The xml data is all a single line, there are no CR/LF characters any where in it, so if any show up in this message they should be removed if you're trying to count it out. Here's the wireshark decode for the 2 packets involved: ---------------------------------------- No. Time Source Destination Protocol Length Info 312 49.870066 72.4.112.215 11.1.1.89 TCP 1434 [TCP segment of a reassembled PDU] Frame 312: 1434 bytes on wire (11472 bits), 1434 bytes captured (11472 bits) Arrival Time: Feb 9, 2012 07:34:49.261829000 Eastern Standard Time Epoch Time: 1328790889.261829000 seconds [Time delta from previous captured frame: 0.008369000 seconds] [Time delta from previous displayed frame: 0.008369000 seconds] [Time since reference or first frame: 49.870066000 seconds] Frame Number: 312 Frame Length: 1434 bytes (11472 bits) Capture Length: 1434 bytes (11472 bits) [Frame is marked: False] [Frame is ignored: False] [Protocols in frame: eth:ip:tcp] [Coloring Rule Name: HTTP] [Coloring Rule String: http || tcp.port == 80] Ethernet II, Src: WestellT_44:0a:ea (00:0f:db:44:0a:ea), Dst: IntelCor_5e:fd:00 (00:21:6b:5e:fd:00) Destination: IntelCor_5e:fd:00 (00:21:6b:5e:fd:00) Address: IntelCor_5e:fd:00 (00:21:6b:5e:fd:00) .... ...0 .... .... .... .... = IG bit: Individual address (unicast) .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default) Source: WestellT_44:0a:ea (00:0f:db:44:0a:ea) Address: WestellT_44:0a:ea (00:0f:db:44:0a:ea) .... ...0 .... .... .... .... = IG bit: Individual address (unicast) .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default) Type: IP (0x0800) Internet Protocol Version 4, Src: 72.4.112.215 (72.4.112.215), Dst: 11.1.1.89 (11.1.1.89) Version: 4 Header length: 20 bytes Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00: Not-ECT (Not ECN-Capable Transport)) 0000 00.. = Differentiated Services Codepoint: Default (0x00) .... ..00 = Explicit Congestion Notification: Not-ECT (Not ECN-Capable Transport) (0x00) Total Length: 1420 Identification: 0xe548 (58696) Flags: 0x02 (Don't Fragment) 0... .... = Reserved bit: Not set .1.. .... = Don't fragment: Set ..0. .... = More fragments: Not set Fragment offset: 0 Time to live: 55 Protocol: TCP (6) Header checksum: 0x93ee [correct] [Good: True] [Bad: False] Source: 72.4.112.215 (72.4.112.215) Destination: 11.1.1.89 (11.1.1.89) Transmission Control Protocol, Src Port: http (80), Dst Port: 60823 (60823), Seq: 1, Ack: 527, Len: 1380 Source port: http (80) Destination port: 60823 (60823) [Stream index: 10] Sequence number: 1 (relative sequence number) [Next sequence number: 1381 (relative sequence number)] Acknowledgement number: 527 (relative ack number) Header length: 20 bytes Flags: 0x10 (ACK) 000. .... .... = Reserved: Not set ...0 .... .... = Nonce: Not set .... 0... .... = Congestion Window Reduced (CWR): Not set .... .0.. .... = ECN-Echo: Not set .... ..0. .... = Urgent: Not set .... ...1 .... = Acknowledgement: Set .... .... 0... = Push: Not set .... .... .0.. = Reset: Not set .... .... ..0. = Syn: Not set .... .... ...0 = Fin: Not set Window size value: 54 [Calculated window size: 6912] [Window size scaling factor: 128] Checksum: 0x836f [validation disabled] [Good Checksum: False] [Bad Checksum: False] [SEQ/ACK analysis] [Bytes in flight: 1380] TCP segment data (1380 bytes) 0000 00 21 6b 5e fd 00 00 0f db 44 0a ea 08 00 45 00 .!k^.....D....E. 0010 05 8c e5 48 40 00 37 06 93 ee 48 04 70 d7 0b 01 ...H@.7...H.p... 0020 01 59 00 50 ed 97 30 cd 5f f0 eb ef 69 24 50 10 .Y.P..0._...i$P. 0030 00 36 83 6f 00 00 48 54 54 50 2f 31 2e 31 20 32 .6.o..HTTP/1.1 2 0040 30 30 20 4f 4b 0d 0a 44 61 74 65 3a 20 54 68 75 00 OK..Date: Thu 0050 2c 20 30 39 20 46 65 62 20 32 30 31 32 20 31 32 , 09 Feb 2012 12 0060 3a 33 34 3a 34 39 20 47 4d 54 0d 0a 53 65 72 76 :34:49 GMT..Serv 0070 65 72 3a 20 41 70 61 63 68 65 2f 32 2e 32 2e 33 er: Apache/2.2.3 0080 20 28 52 65 64 20 48 61 74 29 0d 0a 43 6f 6e 74 (Red Hat)..Cont 0090 65 6e 74 2d 4c 65 6e 67 74 68 3a 20 31 31 38 39 ent-Length: 1189 00a0 0d 0a 4b 65 65 70 2d 41 6c 69 76 65 3a 20 74 69 ..Keep-Alive: ti 00b0 6d 65 6f 75 74 3d 32 2c 20 6d 61 78 3d 31 30 30 meout=2, max=100 00c0 0d 0a 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 4b 65 ..Connection: Ke 00d0 65 70 2d 41 6c 69 76 65 0d 0a 43 6f 6e 74 65 6e ep-Alive..Conten 00e0 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63 61 74 t-Type: applicat 00f0 69 6f 6e 2f 78 6d 6c 0d 0a 0d 0a 3c 3f 78 6d 6c ion/xml.... 0140 3c 69 64 3e 39 31 30 35 38 36 39 3c 2f 69 64 3e 9105869 0150 3c 74 69 74 6c 65 3e 54 65 73 74 20 31 3c 2f 74 Test 1</t 0160 69 74 6c 65 3e 3c 6d 6f 64 69 66 69 65 64 3e 31 itle><modified>1 0170 33 32 38 34 38 32 39 33 38 3c 2f 6d 6f 64 69 66 328482938</modif 0180 69 65 64 3e 3c 63 6f 6d 70 6c 65 74 65 64 3e 31 ied><completed>1 0190 33 32 37 39 32 34 38 30 30 3c 2f 63 6f 6d 70 6c 327924800</compl 01a0 65 74 65 64 3e 3c 66 6f 6c 64 65 72 3e 30 3c 2f eted><folder>0</ 01b0 66 6f 6c 64 65 72 3e 3c 63 6f 6e 74 65 78 74 3e folder><context> 01c0 30 3c 2f 63 6f 6e 74 65 78 74 3e 3c 67 6f 61 6c 0</context><goal 01d0 3e 30 3c 2f 67 6f 61 6c 3e 3c 70 72 69 6f 72 69 >0</goal><priori 01e0 74 79 3e 30 3c 2f 70 72 69 6f 72 69 74 79 3e 3c ty>0</priority>< 01f0 72 65 70 65 61 74 3e 3c 2f 72 65 70 65 61 74 3e repeat></repeat> 0200 3c 72 65 70 65 61 74 66 72 6f 6d 3e 30 3c 2f 72 <repeatfrom>0</r 0210 65 70 65 61 74 66 72 6f 6d 3e 3c 64 75 65 64 61 epeatfrom><dueda 0220 74 65 3e 31 33 32 38 30 39 37 36 30 30 3c 2f 64 te>1328097600</d 0230 75 65 64 61 74 65 3e 3c 73 74 61 72 74 64 61 74 uedate><startdat 0240 65 3e 30 3c 2f 73 74 61 72 74 64 61 74 65 3e 3c e>0</startdate>< 0250 64 75 65 74 69 6d 65 3e 31 33 32 38 31 33 37 32 duetime>13281372 0260 30 30 3c 2f 64 75 65 74 69 6d 65 3e 3c 73 74 61 00</duetime><sta 0270 72 74 74 69 6d 65 3e 30 3c 2f 73 74 61 72 74 74 rttime>0</startt 0280 69 6d 65 3e 3c 6c 65 6e 67 74 68 3e 30 3c 2f 6c ime><length>0</l 0290 65 6e 67 74 68 3e 3c 73 74 61 74 75 73 3e 32 3c ength><status>2< 02a0 2f 73 74 61 74 75 73 3e 3c 6e 6f 74 65 3e 3c 2f /status><note></ 02b0 6e 6f 74 65 3e 3c 2f 74 61 73 6b 3e 3c 74 61 73 note></task><tas 02c0 6b 3e 3c 69 64 3e 39 31 30 38 33 30 39 3c 2f 69 k><id>9108309</i 02d0 64 3e 3c 74 69 74 6c 65 3e 54 65 73 74 20 32 20 d><title>Test 2 02e0 2d 66 6f 6f 62 61 72 3c 2f 74 69 74 6c 65 3e 3c -foobar< 02f0 6d 6f 64 69 66 69 65 64 3e 31 33 32 38 37 39 30 modified>1328790 0300 38 38 32 3c 2f 6d 6f 64 69 66 69 65 64 3e 3c 63 88200< 0330 2f 66 6f 6c 64 65 72 3e 3c 63 6f 6e 74 65 78 74 /folder>000 0370 3c 72 65 70 65 61 74 3e 3c 2f 72 65 70 65 61 74 00< 03b0 73 74 61 72 74 64 61 74 65 3e 30 3c 2f 73 74 61 startdate>0 03d0 30 3c 2f 64 75 65 74 69 6d 65 3e 3c 73 74 61 72 00029149333org-tood 0450 6c 65 64 6f 3c 2f 74 69 74 6c 65 3e 3c 6d 6f 64 ledo1328011949 0470 3c 2f 6d 6f 64 69 66 69 65 64 3e 3c 63 6f 6d 70 000< 04b0 2f 63 6f 6e 74 65 78 74 3e 3c 67 6f 61 6c 3e 30 /context>0 04c0 3c 2f 67 6f 61 6c 3e 3c 70 72 69 6f 72 69 74 79 200000 0560 3c 6c 65 6e 67 74 68 3e 30 3c 2f 6c 65 6e 67 74 02 9105869 Test 1 1328482938 1327924800 0 0 0 0 0 1328097600 0 1328137200 0 0 2 9108309 Test 2 -foobar 1328790882 0 0 0 0 0 0 0 0 0 0 0 2 9149333 org-toodledo 1328011949 0 0 0 0 2 0 0 0 0 0 0 2 Frame (60 bytes): 0000 00 21 6b 5e fd 00 00 0f db 44 0a ea 08 00 45 00 .!k^.....D....E. 0010 00 2e e5 49 40 00 37 06 99 4b 48 04 70 d7 0b 01 ...I@.7..KH.p... 0020 01 59 00 50 ed 97 30 cd 65 54 eb ef 69 24 50 18 .Y.P..0.eT..i$P. 0030 00 36 b6 32 00 00 74 61 73 6b 73 3e .6.2..tasks> Reassembled TCP (1386 bytes): 0000 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d HTTP/1.1 200 OK. 0010 0a 44 61 74 65 3a 20 54 68 75 2c 20 30 39 20 46 .Date: Thu, 09 F 0020 65 62 20 32 30 31 32 20 31 32 3a 33 34 3a 34 39 eb 2012 12:34:49 0030 20 47 4d 54 0d 0a 53 65 72 76 65 72 3a 20 41 70 GMT..Server: Ap 0040 61 63 68 65 2f 32 2e 32 2e 33 20 28 52 65 64 20 ache/2.2.3 (Red 0050 48 61 74 29 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 Hat)..Content-Le 0060 6e 67 74 68 3a 20 31 31 38 39 0d 0a 4b 65 65 70 ngth: 1189..Keep 0070 2d 41 6c 69 76 65 3a 20 74 69 6d 65 6f 75 74 3d -Alive: timeout= 0080 32 2c 20 6d 61 78 3d 31 30 30 0d 0a 43 6f 6e 6e 2, max=100..Conn 0090 65 63 74 69 6f 6e 3a 20 4b 65 65 70 2d 41 6c 69 ection: Keep-Ali 00a0 76 65 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 ve..Content-Type 00b0 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 2f 78 6d : application/xm 00c0 6c 0d 0a 0d 0a 3c 3f 78 6d 6c 20 76 65 72 73 69 l....91 0110 30 35 38 36 39 3c 2f 69 64 3e 3c 74 69 74 6c 65 05869Test 1< 0130 6d 6f 64 69 66 69 65 64 3e 31 33 32 38 34 38 32 modified>1328482 0140 39 33 38 3c 2f 6d 6f 64 69 66 69 65 64 3e 3c 63 9381327924 0160 38 30 30 3c 2f 63 6f 6d 70 6c 65 74 65 64 3e 3c 800< 0170 66 6f 6c 64 65 72 3e 30 3c 2f 66 6f 6c 64 65 72 folder>00000132 01f0 38 30 39 37 36 30 30 3c 2f 64 75 65 64 61 74 65 80976000132813720000 0260 3c 73 74 61 74 75 73 3e 32 3c 2f 73 74 61 74 75 2< 0280 2f 74 61 73 6b 3e 3c 74 61 73 6b 3e 3c 69 64 3e /task> 0290 39 31 30 38 33 30 39 3c 2f 69 64 3e 3c 74 69 74 9108309Test 2 -fooba 02b0 72 3c 2f 74 69 74 6c 65 3e 3c 6d 6f 64 69 66 69 r13287908820 02f0 3c 66 6f 6c 64 65 72 3e 30 3c 2f 66 6f 6c 64 65 0000< 0330 2f 70 72 69 6f 72 69 74 79 3e 3c 72 65 70 65 61 /priority>00< 0370 2f 64 75 65 64 61 74 65 3e 3c 73 74 61 72 74 64 /duedate>00 03b0 30 3c 2f 73 74 61 72 74 74 69 6d 65 3e 3c 6c 65 00< 03d0 73 74 61 74 75 73 3e 32 3c 2f 73 74 61 74 75 73 status>29 0400 31 34 39 33 33 33 3c 2f 69 64 3e 3c 74 69 74 6c 149333org-toodledo 0430 31 33 32 38 30 31 31 39 34 39 3c 2f 6d 6f 64 69 1328011949 0450 30 3c 2f 63 6f 6d 70 6c 65 74 65 64 3e 3c 66 6f 00< 0470 63 6f 6e 74 65 78 74 3e 30 3c 2f 63 6f 6e 74 65 context>002< 04b0 2f 72 65 70 65 61 74 3e 3c 72 65 70 65 61 74 66 /repeat>0000002 ---------------------------------------- And the URL-DEBUG: ---------------------------------------- 34:49.154000 http -> Finding free connection: api.toodledo.com:80 34:49.154000 http -> Contacting host: api.toodledo.com:80 34:49.200000 http -> Marking connection as busy: api.toodledo.com:80 #> 34:49.201000 http -> Request is: POST /2/tasks/get.php HTTP/1.1 MIME-Version: 1.0 Connection: keep-alive Extension: Security/Digest Security/SSL Host: api.toodledo.com Accept-charset: nil Accept: */* User-Agent: URL/Emacs (i386-mingw-nt6.1.7601; Windows-NT; 32bit) Content-Type: application/x-www-form-urlencoded Content-length: 212 f=xml&key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&unix=1&fields=status%2crepeat%2crepeatfrom%2ccontext%2cduedate%2cduetime%2cstartdate%2cstarttime%2cfolder%2cgoal%2cpriority%2cnote%2clength%2cparent&comp=%2d1&modafter=0 34:49.201000 retrieval -> Spinning in url-retrieve-synchronously: nil (#>) 34:49.264000 http -> Calling after change function `url-http-wait-for-headers-change-function' for `#>' 34:49.264000 http -> data (point-max 1) (len 1380): "HTTP/1.1 200 OK Date: Thu, 09 Feb 2012 12:34:49 GMT Server: Apache/2.2.3 (Red Hat) Content-Length: 1189 Keep-Alive: timeout=2, max=100 Connection: Keep-Alive Content-Type: application/xml 9105869Test 113284829381327924800000001328097600013281372000029108309Test 2 -foobar1328790882000000000002 9149333org-toodledo1328011949000020000002 url-http-wait-for-headers-change-function ( *http api.toodledo.com:80*<92>) 34:49.264000 http -> Saw end of headers... ( *http api.toodledo.com:80*<92>) @ 197 34:49.264000 http -> url-http-clean-headers, end-of-headers now at 189 34:49.264000 http -> url-http-parse-response called in ( *http api.toodledo.com:80*<92>) 34:49.264000 http -> Got a content-length 1189, being smart about document end. 34:49.264000 http -> Calling initial content-length for extra data at end of headers 34:49.264000 http -> url-http-content-length-after-change-function 189 1381 1192 34:49.265000 http -> End of document found! 34:49.265000 http -> Marking connection as free: api.toodledo.com:80 #> 34:49.265000 http -> url-http-parse-headers called in ( *http api.toodledo.com:80*<92>) 34:49.265000 http -> url-http-parse-response called in ( *http api.toodledo.com:80*<92>) 34:49.266000 http -> Parsed HTTP headers: class=2 status=200 34:49.266000 http -> Finished parsing HTTP headers: t 34:49.266000 http -> Marking connection as free: api.toodledo.com:80 #> 34:49.266000 http -> Activating callback in buffer ( *http api.toodledo.com:80*<92>) ---------------------------------------- ...cj