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:

Progress !! WAS: Trouble with formula.db (1997) WebCatalog for guestbook ? (1997) RE:formula.db problems (1999) BBEdit and WebCatalog 2.0? (1997) Shipping rate x Quantity solution needed (2000) Yet another frames Question (1999) [WebDNA] Is a '.webdna' suffix better? (2008) Q: writefile and uploads. (1998) Rhapsody? (1997) REDIRECT MULTIPLE RESULTS (2000) quantity minimum problem (1997) hhtps to http and back? (2000) Image maps/Webcat (1997) WebCommerce: Folder organization ? (1997) form validator issue (2005) Requiring that certain fields be completed (1997) New NT betas available (1997) Somewhat OT: IE issues (2002) Carrying Forward (1998) WC2b15 - [HTMLx]...[/HTMLx] problems SOLVED! (1997)