I guess I am stressing CFHTTP to much, but maybe someone knows a workaround for my problem. This is actually a follow up on my issue yesterday. I am building a link checker, and these links get validated with cfhttp. When I do about 10 links no errors are returned, all links are checked. However, when I execute more, for ex. 20 or the entire list, CFHTTP bugs.


This is the executed template:
http://mschopman.demon.nl/bug.cfm (takes a while, is running cfhttp requests)


This is the source of the template (use it if you want in your own apps, I don't mind sharing)
http://mschopman.demon.nl/bug.txt


I thought maybe about using locks, I don't know if race conditions are responsible for this behaviour of CFHTTP. What I have left is calling a sleep between iterations, using a queue, with 10 links each time etc. But maybe there is a simple solution.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to