elfiggo Posted July 9, 2008 Share Posted July 9, 2008 Is there a way to force CURLOPT_TIMEOUT to trigger an error for testing purposes? I've thought about creating a script to just hold up cURL and continue running. The context is that I have written some code which will test if a web site is up before displaying a feed from there (I know, I know caching but this is a horrible beast!), however I have FAILONERROR working but have no idea how to manipulate TIMEOUT to trigger. Thanks for any help or suggestions Link to comment https://forums.phpfreaks.com/topic/113935-curl-timeout-and-forcing-errors-for-testing/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.