On 13 Jun 2012, at 05:38, Swamy Mudhbasalar wrote: > 1. In all HTTP request sent and recieved observed Connection: close ? > 2. How to make Connection : Alive and use the same connection to fetch all > the files? What need to added > specificalling in the code to do this ? > 3.Why connections are not getting closed and they remain idle for 30 mins?
If the response contains Connection: close, it would be a good idea to cleanup that curl easy handle. The server is dropping a strong hint not to use HTTP keepalive. If you want something more robust / faster, you can use 2 parallel connections (which will need extra programming). -- Tim Bannister – is...@jellybaby.net
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html