Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#8175 closed defect (fixed)

[PATCH] Cadastre grab query sometimes hangs completely

Reported by: Don-vip Owned by: pieren
Priority: normal Milestone:
Component: Plugin cadastre-fr Version:
Keywords: Cc:

Description

During cadastre grab, the HTTP connection with the WMS server sometimes completely hangs (the progress dialog is frozen and cancel button does not work).

The only solution is to restart JOSM to have a clean state and grab the cadastre again. We had a similar problem with history request (#7640) when dealing with the API and solved it in r5324. I think the same solution should be applied here.

Attachments (1)

8175.patch (6.4 KB ) - added by Don-vip 12 years ago.

Download all attachments as: .zip

Change History (5)

by Don-vip, 12 years ago

Attachment: 8175.patch added

comment:1 by Don-vip, 12 years ago

Summary: Cadastre grab query sometimes hangs completely[PATCH] Cadastre grab query sometimes hangs completely

Here's the patch I had in mind.

comment:2 by pieren, 12 years ago

Added in #28961 the connection property setRequestProperty("Connection", "close"). I did not use the proposed patch because Utils.openHttpConnection() is setting the JOSM user-agent which might be a problem for the cadastre server.

comment:3 by pieren, 12 years ago

Resolution: fixed
Status: newclosed

comment:4 by Don-vip, 12 years ago

Thanks !

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain pieren.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.