Re: [gdal-dev] Problems when mixing https calls

2013-05-21 Thread Ari Jolma
(sorry, gdal-dev was accidentally dropped) On 05/21/2013 12:59 PM, Even Rouault wrote: Selon Ari Jolma : On 05/21/2013 11:38 AM, Even Rouault wrote: Yes, that's the likely cause and using wfs as the namespace should fix it. Perhaps the detection of WFS documents could be made more robust, bu

Re: [gdal-dev] Problems when mixing https calls

2013-05-21 Thread Ari Jolma
On 05/21/2013 11:38 AM, Even Rouault wrote: Yes, that's the likely cause and using wfs as the namespace should fix it. Perhaps the detection of WFS documents could be made more robust, but in the above case, I'm not sure that GML documents emitted by default by OGR are valid WFS documents that

Re: [gdal-dev] Problems when mixing https calls

2013-05-21 Thread Even Rouault
Selon Ari Jolma : > On 05/21/2013 10:57 AM, Even Rouault wrote: > > Selon Ari Jolma : > > > >> Even, > >> > >> Another strange thing with GDAL WFS driver. Earlier it did not try to > >> access the HEAD of a XXX.resolved.gml and now it does: > >> > >> Here's an excerpt from my server logs. These ca

Re: [gdal-dev] Problems when mixing https calls

2013-05-21 Thread Ari Jolma
On 05/21/2013 10:57 AM, Even Rouault wrote: Selon Ari Jolma : Even, Another strange thing with GDAL WFS driver. Earlier it did not try to access the HEAD of a XXX.resolved.gml and now it does: Here's an excerpt from my server logs. These calls are created by GDAL, the first is a good GetFeatu

Re: [gdal-dev] Problems when mixing https calls

2013-05-21 Thread Even Rouault
Selon Ari Jolma : > Even, > > Another strange thing with GDAL WFS driver. Earlier it did not try to > access the HEAD of a XXX.resolved.gml and now it does: > > Here's an excerpt from my server logs. These calls are created by GDAL, > the first is a good GetFeature call, which gets 215633 bytes of

Re: [gdal-dev] Problems when mixing https calls

2013-05-20 Thread Ari Jolma
Even, Another strange thing with GDAL WFS driver. Earlier it did not try to access the HEAD of a XXX.resolved.gml and now it does: Here's an excerpt from my server logs. These calls are created by GDAL, the first is a good GetFeature call, which gets 215633 bytes of GML and the next is bogus

Re: [gdal-dev] Problems when mixing https calls

2013-05-20 Thread Even Rouault
> > My question is, is CPL of GDAL doing anything related to OpenSSL (like > setting callbacks) No, to the best of my knowledge, there's nothing explicitely related to OpenSSL in CPL use of curl. CPL code sets callbacks, but there are specific to the Curl contexts created by CPL.

[gdal-dev] Problems when mixing https calls

2013-05-20 Thread Ari Jolma
Hi, I've run into problems when I use https calls from two systems (Perl's libww and GDAL) in one program. The use case is WFS with https. First I use Perl like this my $ua = LWP::UserAgent->new; my $response = $ua->get('https://xxx'); (note that the call does not need to be to the actual WF