anyone here use Curl? I have a question about timeouts

Discussion in 'OT Technology' started by TurkeyChicken, Jul 17, 2005.

  1. TurkeyChicken

    TurkeyChicken New Member

    Joined:
    Jun 26, 2003
    Messages:
    42,913
    Likes Received:
    0
    Location:
    Albuquerque, NM
    Is there any way I can set a timeout in curl?

    For some reason some of the pages i'm hitting return No Data and it can freeze curl up for anywhere between a few seconds and about 15 minutes.

    It would be nice if there was some way I could have a timeout of say 30 seconds, and if nothing happens, then it cancels the current page and moves on to teh next.

    I'm using it to send post data along with a cookie for websites.
     

Share This Page