[OSM-dev] High performance server [JOSM issues]

Tom Hughes tom at compton.nu
Wed May 28 21:36:38 BST 2008

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 

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


Tom Hughes (tom at compton.nu)

More information about the dev mailing list