#772 closed defect (fixed)
WMS provider hangs for 2 minutes for unavailable request
Reported by: | ChristineBao | Owned by: | Christine Bao |
---|---|---|---|
Priority: | major | Milestone: | 3.6.0 |
Component: | FDO API | Version: | 3.6.0 |
Severity: | 3 | Keywords: | |
Cc: | External ID: | 1408450 |
Description
Reported from Autodesk Customer: He uses MapGuide to connect to WMS server and create maps. Sometimes the WMS server is not stable, it can deals with GetCapabilities request, but cannot respond to GetMap request. The customer complains that the map will hands up for minutes if WMS is offline, and he wants quicker return in this case.
Attachments (1)
Change History (6)
comment:1 by , 13 years ago
by , 13 years ago
Attachment: | FDO_WMSTimeout.patch added |
---|
comment:2 by , 13 years ago
Attach http://trac.osgeo.org/fdo/attachment/ticket/772/FDO_WMSTimeout.patch for review.
Some note:
- The default timeout value for OWS is 120 seconds. If user does not set ConnectionTimeout, the default value is still 120 seconds.
- Currently no provider supports timeout, so after the fixing only WMS provider is affected and can use ConnectionTimeout.
comment:3 by , 13 years ago
Related ticket in MapGuide http://trac.osgeo.org/mapguide/attachment/ticket/1793/.
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Submit r6219 in trunk to fix this ticket.
Note:
See TracTickets
for help on using tickets.
Tech Assessment WMS blocks for return from server till 2 minutes timeout. FdoOwsDelegate.cpp shows:
The hard-coded timeout value should be pulled outside so that user can configure it according to their needs. FDO connection has a capability SupportsTimeout(), and Get/SetConnectionTimeout(). So they can be used to config the time out value for WMS provider.