Re: [WebDNA] anyway to speed up tcpconnect?
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 100884
interpreted = N
texte = Had exactly the same problem recently.I ended up using CRON on Windows, it pulled the feed in very quickly, for some reason the WebDNA TCP connect took over 5 minutes to do the same :(Most times WebDNA is perfect, this was the only time I have had a problem but CRON fixed it.On 20/09/2008, at 9:13 AM, Olin Lagon wrote:> Aloha all,>> Not sure if this is possible but the following code takes a bit of > time to> grab a stock RSS file off a server:>> [text]crlf=[unurl]%0D%0A[/unurl][/text]> [text]the_variables=[/text]> [text]temp=[tcpconnect host=iws.punahou.edu&port=80][tcpsend> skipheader=t][!]> [/!]GET /punablogs/news/portalStories.xml HTTP/1.1[crlf][!]> [/!]Referer: http://www.kanuhawaii.org[crlf][!]> [/!]Host: iws.punahou.edu[crlf][!]> [/!][crlf][!]> [/!][the_variables][crlf][!]> [/!][/tcpsend][/tcpconnect][/text]>> If I grab via PHP, it comes down nearly instantly. This code above > takes a> minute or so to grab. Anyone have any ideas of a webdna only solution?>> Thanks, Olin>> ---------------------------------------------------------> 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> old archives: http://dev.webdna.us/TalkListArchive/
Associated Messages, from the most recent to the oldest:
Had exactly the same problem recently.I ended up using CRON on Windows, it pulled the feed in very quickly, for some reason the WebDNA TCP connect took over 5 minutes to do the same :(Most times WebDNA is perfect, this was the only time I have had a problem but CRON fixed it.On 20/09/2008, at 9:13 AM, Olin Lagon wrote:> Aloha all,>> Not sure if this is possible but the following code takes a bit of > time to> grab a stock RSS file off a server:>> [text]crlf=[unurl]%0D%0A[/unurl][/text]> [text]the_variables=[/text]> [text]temp=[tcpconnect host=iws.punahou.edu&port=80][tcpsend> skipheader=t][!]> [/!]GET /punablogs/news/portalStories.xml HTTP/1.1[crlf][!]> [/!]Referer: http://www.kanuhawaii.org[crlf][!]> [/!]Host: iws.punahou.edu[crlf][!]> [/!][crlf][!]> [/!][the_variables][crlf][!]> [/!][/tcpsend][/tcpconnect][/text]>> If I grab via PHP, it comes down nearly instantly. This code above > takes a> minute or so to grab. Anyone have any ideas of a webdna only solution?>> Thanks, Olin>> ---------------------------------------------------------> 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> old archives: http://dev.webdna.us/TalkListArchive/
Stuart Tremain
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:
Support ?? (1997)
WebCat for Unix?? (1997)
Forwarding Orders Via Email (1998)
Server crash (1997)
This list needs a digest: rant, rave... (1997)
New public beta available (1997)
[ShowNext] feature in 2.0 (1997)
WebCat2: Items xx to xx shown, etc. (1997)
WebCat2b12plugin - [search] is broken ... not! (1997)
WebCatalog/Mac 2.1b2 New Features (1997)
PIXO support (1997)
docs for WebCatalog2 (1997)
[no_cache]?! (2000)
FM and Webcat together? (1998)
New cart in ShoppingCarts (2003)
Webstar 1.3.1 PPC (1997)
Include Files (1998)
Recording size of uploaded file? (2001)
populating a [table] (2004)
Price override (2004)