GNU bug report logs - #10768
23.3; url-http misses data when last few bytes are in 2nd packet and content-length is used

Previous Next

Package: emacs;

Reported by: "Christopher J. White" <chris <at> grierwhite.com>

Date: Thu, 9 Feb 2012 04:55:02 UTC

Severity: normal

Found in version 23.3

Done: Andreas Schwab <schwab <at> linux-m68k.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 10768 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: "Christopher J. White" <chris <at> grierwhite.com>
Cc: 10768 <at> debbugs.gnu.org
Subject: Re: bug#10768: 23.3;
	url-http misses data when last few bytes are in 2nd packet and
	content-length is used
Date: Thu, 09 Feb 2012 10:15:47 +0100
"Christopher J. White" <chris <at> grierwhite.com> writes:

> "HTTP/1.1 200 OK 
> Date: Thu, 09 Feb 2012 04:22:06 GMT 
> Server: Apache/2.2.3 (Red Hat) 
> Content-Length: 1189 
                  ^^^^
> Keep-Alive: timeout=2, max=100 
> Connection: Keep-Alive 
> Content-Type: application/xml 
>  
> <?xml version=\"1.0\" encoding=\"UTF-8\"?><tasks num='3' total='3'><task><id>9105869</id><title>Test 1</title><modified>1328482938</modified><completed>1327924800</completed><folder>0</folder><context>0</context><goal>0</goal><priority>0</priority><repeat></repeat><repeatfrom>0</repeatfrom><duedate>1328097600</duedate><startdate>0</startdate><duetime>1328137200</duetime><starttime>0</starttime><length>0</length><status>2</status><note></note></task><task><id>9108309</id><title>Test 2 -foobar</title><modified>1328761322</modified><completed>0</completed><folder>0</folder><context>0</context><goal>0</goal><priority>0</priority><repeat></repeat><repeatfrom>0</repeatfrom><duedate>0</duedate><startdate>0</startdate><duetime>0</duetime><starttime>0</starttime><length>0</length><status>2</status><note></note></task><task><id>9149333</id><title>org-toodledo</title><modified>1328011949</modified><completed>0</completed><folder>0</folder><context>0</context><goal>0</goal><priority>2</priority><repeat></repeat><repeatfrom>0</repeatfrom><duedate>0</duedate><startdate>0</startdate><duetime>0</duetime><starttime>0</starttime><length>0</length><status>2</status><note></note></task></"

1189 bytes of data follow.

That looks like a bug in the server.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 13 years and 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.