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:
Re[3]: Weird [blank] interpretation (1999)
Re[2]: 2nd WebCatalog2 Feature Request (1996)
Navigator Parsing (1997)
Inline Frame HTML editor uploaded (2002)
process SSI (1998)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
Merging databases (1997)
Corrupt Database Problem... (2000)
[OT] photos and misc. (2004)
[WebDNA] Here's how you can help (2008)
Emailer on NT CAN'T handle large email files (1997)
WC2b12: Yes, Formulas.db is for real (1997)
Problems with date math (1997)
Carrying Forward (1998)
Exclamation point (1997)
2nd WebCatalog2 Feature Request (1996)
WebCatalog Hosting (1996)
Bug Report, maybe (1997)
Strange search... (2001)
[WebDNA] Converting a CSV file to a WebDNA db automatically? (2016)