Hello,

I use the CURLSmbs class to connect to an SFTP server. 

When launching the application, I connect to my SFTP server: it's a little slow 
because it is the first connection, but it works ok. 
I do not destroy the CURL object, for SSH tunnel remains constantly open. 

Then, the application connects to my SFTP server often, throughout the day, to 
download files: ok, it works well. 
It's very fast, because there is no need to reauthenticate. 

But if there is a problem, for example if I'm cut off from internet, CURLS will 
take a long time to see, until one or two minutes. That's a lot. 
I played with many properties: OptionTimeout, OptionConnectionTimeout, 
OptionFtpResponseTimeout, OptionLowspeedLimit / time, 
OptionTCPKeepidle/interval, etc.., 

But I can not reduce this time. Is this possible? Or is it the operating system 
that needs all this time? 
I will like to let CURL ten seconds or less..

Another thing: even if I put the CURL object in a thread, even if I use 
performMT and Yieldtime, 
the application freezes during this time: there is the multicolored wheel of OS 
X.

tried in debugmode, with RS 4.3 and OS X 10.7.4

Thank you,
olivier
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to