Re: [WebDNA] Some code inside a large loops fail ... but why?
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 104450
interpreted = N
texte = On Jan 13, 2010, at 13:48, Kenneth Grome wrote:>>>> What about the [tcpconnect] outside the loop, and the [tcpsend]=20>>>> inside?>>>=20>>> I tried that too but I got no response at all using that approach. =20=>>=20>> I guess it is because the loop quickly opens an increasing number of =TCP requests which is limited by the receiving server to something like =10. When this number is reached, the receiving server just reacts as =under a DoS attack with a number of opened sockets (SYN_RECV) that the =receiving server will just time out after several minutes.>=20> This makes sense only when the tcpconnect is outside the loop and the =tcpsend is inside the loop. But when both are inside the loop, only one =tcp request can be done at a time -- and after each is done the replace =context is supposed to write to the db.yes, but if nothing comes back, then nothing is written into the db =because the [append] will not wait for a result, and another loop starts =immediately...Also, i a not sure about the [replace append=3DT&db=3Ddatabase.db&...] =code?chris
Associated Messages, from the most recent to the oldest:
On Jan 13, 2010, at 13:48, Kenneth Grome wrote:>>>> What about the
[tcpconnect] outside the loop, and the
[tcpsend]=20>>>> inside?>>>=20>>> I tried that too but I got no response at all using that approach. =20=>>=20>> I guess it is because the loop quickly opens an increasing number of =TCP requests which is limited by the receiving server to something like =10. When this number is reached, the receiving server just reacts as =under a DoS attack with a number of opened sockets (SYN_RECV) that the =receiving server will just time out after several minutes.>=20> This makes sense only when the tcpconnect is outside the loop and the =tcpsend is inside the loop. But when both are inside the loop, only one =tcp request can be done at a time -- and after each is done the replace =context is supposed to write to the db.yes, but if nothing comes back, then nothing is written into the db =because the
[append] will not wait for a result, and another loop starts =immediately...Also, i a not sure about the [replace append=3DT&db=3Ddatabase.db&...] =code?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:
orders being printed (1998)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
WebCatalog2 Feature Feedback (1996)
emailer settings and control questions (1997)
Are they really global tags? (2002)
WCf2 and nested tags (1997)
Searching help needed (1998)
Plugin or CGI or both (1997)
[SendMail] from a form? (1998)
Separate SSL Server (1997)
User / Pass in TCP connect (2007)
Server slowing down. (1997)
WebDNA 5.0 Questions (2003)
How do I get WebCatalog to interpret WebDNA tags in .html files? (1997)
Interfacing WebMerchant to www.fedex.com (1997)
WCS Newbie question (1997)
too many nested tags ... (1997)
How to Display text in empty fields (1997)
searchable list archive (1997)
Various Problems (1997)