Hi

I've to admit that the B solution was already applied by Juergen
Fischer since 18-08-2012 using the correct timeout configuration
parameter... what code was I reading? sorry for the noise!

Luigi Pirelli (luigi.pire...@faunalia.it)

On 29 July 2013 13:06, Gino Pirelli <lui...@gmail.com> wrote:
> Hi
>
> I'm evaluating a work about managing tile download retry during a WMS request.
>
> Analyzing the code there are different solutions
> A) implementing a new requet in QgsWmsProvider::tileReplyFinished if
> ther is an error (probabilly it's better to re-organize the logic of
> this routine because there are too many exit points)
> B) adding a configuration method in QgsNetworkAccessManager(subclass
> of QNetworkAccessManager) adding managing of retry. In this case all
> QGis can use this feature.
>
> I noticed that the option parameter:
> Settings->Options->Network->Timeout for network requests (ms)
> configure only  QgsHttpTransaction::httpTransaction(...) call that is
> ONLY used inside mapserver core plugin code (option name is at lest
> not comprensible)
>
> Timeout could be another configuration parameter added to
> QgsNetworkAccessManager.
> Timeout managing could be managed as here:
> http://qt-project.org/forums/viewthread/15222
> that is the same solution used in QgsHttpTransaction
>
> thanks, Lugi Pirelli (luigi.pire...@faunalia.it)
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to