[Xastir] Announcing tile support for OSM
Jeremy McDermond
mcdermj at xenotropic.com
Tue Jul 27 20:35:11 EDT 2010
On Jul 27, 2010, at 5:17 PM, Tom Hayward wrote:
>
> I had the same questions and went looking through the code for
> answers. Indeed the tiles are requested serially. Each tile download
> is delegated to fetch_remote_file() in fetch_remote.c. This function
> uses libcurl or wget. I think a new helper function would be required
> to support multiple downloads via one connection.
I haven't looked at the Xastir code, but note that libcurl has a pipelining option that you can turn on so that subsequent calls to the same server will be pipelined. See:
http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man3/curl_multi_setopt.3.html
and the CURLMOPT_PIPELINING option.
--
Jeremy McDermond (NH6Z)
Xenotropic Systems
mcdermj at xenotropic.com
More information about the Xastir
mailing list