<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Sean,</p>
<p>The code for retry of range requests of regions of data is at
<a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/blob/master/gdal/port/cpl_vsil_curl.cpp#L1602">https://github.com/OSGeo/gdal/blob/master/gdal/port/cpl_vsil_curl.cpp#L1602</a>
. It indeed looks like there's no test for that. You might file an
issue about adding one.</p>
<p>Side node: it might become a maintenance burden on rasterio if
you test such low level implementation detail of GDAL, especially
if you test like we do which exact requests are done and in which
order, if we change at some later point how requests are done<br>
</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 05/10/2021 à 17:44, Sean Gillies via
gdal-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CADPhZXz+RUKVdLWhRbUbdj64HO26xU6aGPFwNWbRdVmdz99t5w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>In writing some rasterio tests I am able to get GDAL to
retry head requests for a vsicurl dataset, but am unable to
trigger retries for range requests to regions of the data. I
don't recognize any tests for range request retrying in or
near <a
href="https://github.com/OSGeo/gdal/blob/master/autotest/gcore/vsicurl.py#L473"
moz-do-not-send="true">https://github.com/OSGeo/gdal/blob/master/autotest/gcore/vsicurl.py#L473</a>.
Do we intend to support this or is it a missing feature?<br
clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">Sean Gillies</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>