Re: [WebDNA] [tcpconnect] timeout
This WebDNA talk-list message is from 2015
It keeps the original formatting.
numero = 112309
interpreted = N
texte = [tcpconnect] tiemout has not been documented voluntarily; However, I =will provide some technical information here:example:[tcpconnect host=3Dinternic.net&port=3D43&timeout=3D60][tcpsend]XXXXXX[/tcpsend][/tcpconnect]This will only work on Linux for the initial connect(), OSX will keep =the default timeout length when connect()ing. But after the connection =is open all operating systems will use that timeout for read() and =write() to the tcp connection.It does *not* work for SSL connections.If you want timeout longer than 30s, you will have to adjust some =FastCGI parameters too. For example, a Linux server running mod_fcgid =will need you to lengthen IOTimeout:FcgidCmdOptions /var/www/WebDNA/WebDNA.fcgi MaxProcesses 1 IdleTimeout =120 IOTimeout 120test:After I do this it does in fact let me wait 60 seconds:18:02:24Error: couldn=E2=80=99t connect to host [XX.XX.XX.XX]18:03:24If you don=E2=80=99t do this then a 60 second connect timeout will cause =WebDNA.fcgi to be killed by mod_fcgi and you will get a 500 internal =server error.- chris> On May 19, 2015, at 14:25, Stuart Tremain
wrote:>=20> Could this please be documented ?>=20> Kind regards>=20> Stuart Tremain> IDFK Web Developments> AUSTRALIA> webdna@idfk.com.au>=20>=20>=20>=20>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
[tcpconnect] tiemout has not been documented voluntarily; However, I =will provide some technical information here:example:[tcpconnect host=3Dinternic.net&port=3D43&timeout=3D60][tcpsend]XXXXXX[/tcpsend][/tcpconnect]This will only work on Linux for the initial connect(), OSX will keep =the default timeout length when connect()ing. But after the connection =is open all operating systems will use that timeout for read() and =write() to the tcp connection.It does *not* work for SSL connections.If you want timeout longer than 30s, you will have to adjust some =FastCGI parameters too. For example, a Linux server running mod_fcgid =will need you to lengthen IOTimeout:FcgidCmdOptions /var/www/WebDNA/WebDNA.fcgi MaxProcesses 1 IdleTimeout =120 IOTimeout 120test:After I do this it does in fact let me wait 60 seconds:18:02:24Error: couldn=E2=80=99t connect to host [XX.XX.XX.XX]18:03:24If you don=E2=80=99t do this then a 60 second connect timeout will cause =WebDNA.fcgi to be killed by mod_fcgi and you will get a 500 internal =server error.- chris> On May 19, 2015, at 14:25, Stuart Tremain wrote:>=20> Could this please be documented ?>=20> Kind regards>=20> Stuart Tremain> IDFK Web Developments> AUSTRALIA> webdna@idfk.com.au>=20>=20>=20>=20>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
christophe.billiottet@webdna.us
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
system crashes, event log (1997)
[WebDNA] RESTART WebDNA (2016)
OK, here goes... (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Protect Tag and Groups (1998)
Add htmlarea 3 to SiteBuilder (2004)
Ooops-Serial Number for NT (1997)
Sku numbers (1997)
recording the previous found record.. (2004)
plugin-acgi, different results (1997)
webcat2b12 CGI -- Date comparisons (1997)
Setting up shop (1997)
Location of Browser Info.txt file (1997)
Re:no [search] with NT (1997)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
Don't know if this is a sily question... (2003)
Updating a database once per day - An example (1998)
grep for search, not replace (2002)
Grep Help (2003)
[countWords]? (1997)