views:

152

answers:

2

I'm using ColdFusion 5 and specifying a timeout=2 on the CFHTTP tag. But I've seen the CFHTTP take much longer, sometimes as much as 8 seconds. I thought the timeout parameter was the max time the CFHTTP would execute.

Has anyone seen this before?

A: 

You might need to add the throwonerror="yes" parameter as well, to make it fail and throw an error message.

I'm not sure if CF5 has that though, it has been a while since I used that version. :)

Jason
we tried that, didn't seem to change anything
Rich
A: 

Might be that your app has some performance issues, maybe reviewing the code, for better performance, might be of more help.

crosenblum