Geoclue web service uses nanohttp which does blocking call

Sachin Gole svgole at gmail.com
Fri Mar 6 02:22:39 PST 2009


Hi all,

Geoclue uses nanohttp from libxml2 for web service.

This methods does blocknig call. so for any web request it waits to finish
downloading.

1. Why Geoclue wont use curl as backend to resolve web services.

2. In case of geocode-example,

As per my obeservation,

 geoclue_position_get_position_async and geoclue_position_get_position, both
this API functions same

because for downloading it uses nanohttp from libxml2,

geoclue_position_get_position API will return after downloading finished

and geoclue_position_get_position_async API will emit signal after
downloading completes and then it returns.

so it do not seems asynchronous.

regards,

Sachin





-- 
Sachin Gole.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/geoclue/attachments/20090306/7692bced/attachment.html 


More information about the GeoClue mailing list