Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 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 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by Don-vip

Attachment: 8175.patch added

comment:1 Changed 8 years ago by Don-vip

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

Here's the patch I had in mind.

comment:2 Changed 8 years ago by pieren

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 Changed 8 years ago by pieren

Resolution: fixed
Status: newclosed

comment:4 Changed 8 years ago by Don-vip

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.