My first thought would be to wrap the call in an eval{} block, and set an alarm(), similar to the docs for the alarm function.
Hope that helps.
In reply to Re: How to make an HTTP request with an equivalent of curl's --max-time?
by atcroft
in thread How to make an HTTP request with an equivalent of curl's --max-time?
by Cody Fendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |