Answered
CFHTTP
Okay I will describe our problem.
We are running CF 6.1 and IIS 6 on server 2003.
We have a service that people post to and get a response. In the script we have a CFHTTP call to a remote URL. If the CFHTTP takes longer than 18 seconds which can happen IIS seems to lose site of the CFHTTP. The web browser does nothing. It literally just sits there.
So what we have been doing is setting the timeout value on the CFHTTP to 17 seconds to prevent this hang.
We thought maybe it was a CF problem so to rule it out we wrote an ISAPI filter that has nothing to do with cold fusion where you can pass in the time to sleep.
Here is the URL to the script that calls the dll. Pass in time is in miliseconds so 18 seconds will be 18000. Try it for 18000 then 19000 and you will see the effect.
http://mercury.velocitygroup.co.uk/sleepTestPost2.htm
So as it is calling a dll cold fusion does not appear to be the problem
We cannot work out where this arbitrary 18 seconds is coming from. We need our CFHTTP to last for 31 seconds. Does anyone know where this 18 seconds is coming from and how to change it.
We are running CF 6.1 and IIS 6 on server 2003.
We have a service that people post to and get a response. In the script we have a CFHTTP call to a remote URL. If the CFHTTP takes longer than 18 seconds which can happen IIS seems to lose site of the CFHTTP. The web browser does nothing. It literally just sits there.
So what we have been doing is setting the timeout value on the CFHTTP to 17 seconds to prevent this hang.
We thought maybe it was a CF problem so to rule it out we wrote an ISAPI filter that has nothing to do with cold fusion where you can pass in the time to sleep.
Here is the URL to the script that calls the dll. Pass in time is in miliseconds so 18 seconds will be 18000. Try it for 18000 then 19000 and you will see the effect.
http://mercury.velocitygroup.co.uk/sleepTestPost2.htm
So as it is calling a dll cold fusion does not appear to be the problem
We cannot work out where this arbitrary 18 seconds is coming from. We need our CFHTTP to last for 31 seconds. Does anyone know where this 18 seconds is coming from and how to change it.
