[WebDNA] timeout tests with [tcpconnect]

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 106240
interpreted = N
texte = Using a simple code [tcpconnect host=3Dwww.domain.com&port=3D80] [tcpsend]GET /page.html HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl][/tcpsend] [/tcpconnect] if the page has been moved: you get an immediate message "Moved = Permanently" if the page does not exist: you get an immediate message "Not Found" if the domain does not exist: you get an immediate message "Error: = couldn't connect to host [www.domain.com]" if the page does not display (a browser would displays the server is not = responding): after 60 sec, you get and "Internal Server Error" message = (note this error message comes from apache, not WebDNA) This can be tested with a server that does not reply: = http://helios.teiath.gr/net_utils/net_frames.html Safari gives a timeout at 75 sec, and i wanted to test the real timeout = from WebDNA: monitoring the UNIX connections shows tcp4 0 0 10.0.1.4.51514 195.130.108.14.80 = SYN_SENT and disappears after 75 seconds, meaning my Mac is trying to access the = server, apache returns the timeout at 60 sec and WebDNA gives up at 75 = seconds the code would be [tcpconnect host=3Dhelios.teiath.gr&port=3D80] [tcpsend]GET /net_utils/net_frames.html = HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl][/tcpsend] [/tcpconnect] - chris= Associated Messages, from the most recent to the oldest:

    
  1. [WebDNA] timeout tests with [tcpconnect] (christophe.billiottet@webdna.us 2011)
Using a simple code [tcpconnect host=3Dwww.domain.com&port=3D80] [tcpsend]GET /page.html HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl][/tcpsend] [/tcpconnect] if the page has been moved: you get an immediate message "Moved = Permanently" if the page does not exist: you get an immediate message "Not Found" if the domain does not exist: you get an immediate message "Error: = couldn't connect to host [www.domain.com]" if the page does not display (a browser would displays the server is not = responding): after 60 sec, you get and "Internal Server Error" message = (note this error message comes from apache, not WebDNA) This can be tested with a server that does not reply: = http://helios.teiath.gr/net_utils/net_frames.html Safari gives a timeout at 75 sec, and i wanted to test the real timeout = from WebDNA: monitoring the UNIX connections shows tcp4 0 0 10.0.1.4.51514 195.130.108.14.80 = SYN_SENT and disappears after 75 seconds, meaning my Mac is trying to access the = server, apache returns the timeout at 60 sec and WebDNA gives up at 75 = seconds the code would be [tcpconnect host=3Dhelios.teiath.gr&port=3D80] [tcpsend]GET /net_utils/net_frames.html = HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl][/tcpsend] [/tcpconnect] - chris= 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:

WebCat2b12plugin - [search] is broken ... not! (1997) Fun with dates (1997) syntax question, not in online refernce (1997) Problems with [Applescript] (1997) Sorting (1998) Repost: Orderfile, Grandtotal: How do I get it to all add up. (2000) [WebDNA] how to use [browsername] tag? (2015) Wierd thing in ViewOrder.tpl (1999) 2.1 Stuff (1998) Country & Ship-to address & other fields ? (1997) Speed Admin? (Was FlushDatabases) (1997) test mail (2004) Location of Webcat site in folder hierarchy (1997) Where's Cart Created ? (1997) [WebDNA] New problem with [ShowNext] (2010) [WebDNA] Triggers not working (2014) PIXO support (1997) How to append text after the sign & (1997) error (2000) Shipping Calc - done (1998)