Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#4248 closed defect (fixed)

The ogr_wfs_deegree test seems to be hanging indefinately

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone:
Component: Autotest Version: unspecified
Severity: normal Keywords: ogr_wfs_deegree
Cc: darkblueb, Even Rouault

Description

Brian Hamlin and I are both currently seeing the ogr_wfs_deegree autotest hang indefinately without a timeout. I dug a bit and it is in a request for the following, and also hangs in firefox:

http://demo.deegree.org/deegree-wfs/services?&SERVICE=WFS&REQUEST=GetCapabilities

Oddly a request for the following (omitting the ampersand after the question mark) works fast and fine:

http://demo.deegree.org/deegree-wfs/services?SERVICE=WFS&REQUEST=GetCapabilities

Change History (3)

comment:1 by warmerdam, 13 years ago

Milestone: 1.9.0
Resolution: fixed
Status: newclosed

I am still not sure why the server hangs in a way that is immune to timeouts for the problem url, but I have determined that CPLURLAddKvp() was not really working as it should and corrected it to avoid having an & right after a ? after stripping out a parameter (r23095).

I think this machinery is all new in trunk so there is no back porting needed.

comment:2 by Even Rouault, 13 years ago

Milestone: 1.9.01.8.2

CPLURLAddKvp() existed in the WFS driver in 1.8 and has been moved in port/ in trunk because it is now also used by the WMS driver.

r23104 /branches/1.8/gdal/ogr/ogrsf_frmts/wfs/ogrwfsdatasource.cpp: fix CPLURLAddKVP so that stripping the first key does not lead to & after ? (#4248)

comment:3 by Even Rouault, 11 years ago

Milestone: 1.8.2

Milestone 1.8.2 deleted

Note: See TracTickets for help on using tickets.