[core-dev] [limewire jira] Commented: (CORE-15) HTTP header "Connection: close" ignored

[email protected] Wed, 25 May 2005 11:26:22 -0400 (EDT)
Newsgroups gmane.network.gnutella.limewire.core.devel
Message-ID <[email protected]>
DO NOT REPLY TO THIS EMAIL.
PLEASE POST YOUR COMMENTS THROUGH THE WEB INTERFACE AT
http://www.limewire.org/jira/browse/CORE-15
ANY REPLY MADE TO THIS MESSAGE WILL BE DISCARDED.


The following comment has been added to this issue:

 Author: Beyers Cronje
Created: Wed, 25 May 2005 11:25 AM
   Body:
Sam,

I have tested and verified this using a packet sniffer. The response header looks as follows:

HTTP/1.1 206 Partial Content
Content-Range: bytes 0-99999/3960096
Content-Length: 100000
Accept-Ranges: bytes
Date: Wed, 25 May 2005 05:31:04 GMT
Connection: close
X-Gnutella-Content-URN: urn:sha1:2GUP5VPXMW45SGWV2P5EKHI6XAQB6KCT
X-Falt: EACA5D734E6C58CC4140267FA3685700;68.44.163.106:6346;66.190.235.36:6346;82.41.200.93:6346
X-Push-Proxy: 68.44.163.106:6346,66.190.235.36:6346,82.41.200.93:6346
X-Create-Time: 1114726141687
X-Features: chat/0.1, fwalt/0.1, browse/1.0

Once the uploader has finished uploading the requested range the uploader client ends the connection, but the requesting Limewire 4.8.1 client sends another GET request over the same connection.

Looking through HTTPDownloader.java I found the following comments:
//Write GET request and headers.  We request HTTP/1.1 since we need
//persistence for queuing & chunked downloads.
//(So we can't write "Connection: close".)

It's not a problem if Limewire does not include the Connection: close header in it's requests, but it SHOULD conform to Connection: close when the response header includes Connection: close.



---------------------------------------------------------------------
View this comment:
  http://www.limewire.org/jira/browse/CORE-15?page=comments#action_10222

---------------------------------------------------------------------
View the issue:
  http://www.limewire.org/jira/browse/CORE-15

---------------------------------------------------------------------
This message was generated by JIRA, LimeWire.org's issue tracking system.

If you think it was sent incorrectly contact one of the administrators:
   http://www.limewire.org/jira/secure/Administrators.jspa

_______________________________________________
core-dev mailing list
[email protected]
http://www.limewire.org/mailman/listinfo/core-dev