Copy link to clipboard
Copied
Hi all experts,
Would you like to tell me the meaning of "timeout" attribute in cfhttp tag?
For example
<cfhttp timeout="30000">
That means my connection is kept in 30000s?
That mean my connection is broken after 30000s if hasn't received any response from server?
Please help me. I'm using cfhttp tag to upload video to youtube, so I dont know should I increase the timeout value or not.
Thanks very much,
Copy link to clipboard
Copied
The second one is the answer, just don't provide a timeout and the cfhttp will continue to work, if there isn't a setting that overrides this in the CF Administrator. Or add a very long timeout.
Copy link to clipboard
Copied
Thanks Michael.
Copy link to clipboard
Copied
I would say it is more correct that the timeout is how long the CFML code will wait for a response. If the timeout is triggered that doesn't cause the request to stop, just that CF is not going to wait for it any longer.