Tom Chiverton wrote:
> On Wednesday 07 June 2006 16:04, |Rens| > 0 wrote:
>> I have been Google'ing for days now, but I can't figure out how to
>> reopen a connection that has been timed out. 
> 
> You can't. just open another.
> The 'overhead' of opening the connection can't be that bad though. Just open 
> it for each file - hell,process more than one file at once if you're that 
> bothered :-)

Hey Tom,

thanks for the reply. I've tested it, and opening 20.000 connections, or 
a single one makes a difference. It's not something we would like to run 
in the background, since it is the total contents of our DNS servers, 
and we're waiting on it to finish (*when* it runs; not too often (lucky 
me)).

Anyway, another things that is strange, is that when I use the SAME 
identifier for the connection, but in a DIFFERENT request, it works.

In 1 request:
<cfftp /> -> 10 minutes wait -> <cfftp /> FAILS

and

In 2 requests:
<cfftp /> -> 10 minutes wait -> <cfftp /> WORKS!

Also, the documentation states that:

"Changes to a cached connection, such as changing retryCount or timeout 
values, might require reestablishing the connection." 
[http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=part_cfm.htm],
 
which might indicate that you should be able to reopen or reastablish a 
connection.

Rens

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242814
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to