Stefan de Konink wrote:

> Jon Burgess schreef:
>> On Wed, 2008-05-28 at 18:53 +0200, Stefan de Konink wrote:
>>> I have created a packetcapture in wireshark and it is clear that the 
>>> connection is dropped. Who is responsible, I have no clue yet.
>>>
>>>
>>> http://xen.bot.nu/josm-request.pcap
>>
>> Your content length is looking suspect:
>>
>> Content-Length: 57004
>>
>> but according to Wireshark, you've sent 133437 bytes of payload by the
>> point the connection is reset.
> 
> I think it is not wrong at all. If I look at the filesize, the
> content-length and the amount of data transfered by wget. It all looks
> ok. But why does JOSM/Java reset the connection?

Because it throws an exception trying to parse the gibberish you're 
sending it, and as that exception propagates the connection object is 
destroyed.

At least I'm guessing that is what is happening.

Tom

-- 
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/

_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

Reply via email to