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 120 test: After I do this it does in fact let me wait 60 seconds: 18:02:24 Error: couldn=E2=80=99t connect to host [XX.XX.XX.XX] 18:03:24 If 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:

    
  1. Re: [WebDNA] [tcpconnect] timeout (Donovan Brooke 2015)
  2. Re: [WebDNA] [tcpconnect] timeout (Stuart Tremain 2015)
  3. Re: [WebDNA] [tcpconnect] timeout (Donovan Brooke 2015)
  4. Re: [WebDNA] [tcpconnect] timeout (Stuart Tremain 2015)
  5. Re: [WebDNA] [tcpconnect] timeout (christophe.billiottet@webdna.us 2015)
  6. [WebDNA] [tcpconnect] timeout (Stuart Tremain 2015)
[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 120 test: After I do this it does in fact let me wait 60 seconds: 18:02:24 Error: couldn=E2=80=99t connect to host [XX.XX.XX.XX] 18:03:24 If 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:

Question about replacing words (1998) A new bug? (1999) Searching multiple Databases (1997) Dummy Credit Card Number for debug? (1997) Resetting a Formvariable (2000) Many $WebCat.exe processes (1998) Using Plug-In while running 1.6.1 (1997) Repeating Fields (1997) Kaaaaahhhhhhhnnnnnnn! (1997) Multiple catalog databases and showcart (1997) [subtotal] (2000) [WebDNA] Sort Direction matches the written to file order (2015) More! on [ShowCart] and GET vs. POST (1997) Minor Bug(?) with [Capitalize] context (1999) Frames and WebCat (1997) Help name our technology! (1997) No subject given (2000) No Line Breaks from OSX server (2002) File Uploads... (1997) Exists? (1997)