First eggdrop1.6.6 is started (SunOS, TCL 8.0) with 3 modules:
Note: this bot does not connect to IRC or other bots. It runs limbo for testing purposes. ident-timeout is set to 10.Eggdrop v1.6.6 (C)1997 Robey Pointer (C)2001 Eggheads
[18:36] --- Loading eggdrop v1.6.6 (Mon Jan 7 2002)
[18:36] Listening at telnet port 32000 (users)
[18:36] Module loaded: notes (with lang support)
[18:36] Module loaded: blowfish
[18:36] Module loaded: dns
[18:36] Userfile loaded, unpacking...
[18:36] === Eggchat: 0 channels, 1 user.
Launched into the background (pid: 10865)
The following piece of TCL is loaded:
Code: Select all
# listen on port 4000
listen 4000 script observescript
proc observescript { idx } {
control $idx observeproc
return 0
}
proc observeproc { idx text } {
putlog "OBSERVE: ($idx) $text"
return 0
}
Note: these 2 lines follow each other immediatly without any delay.[18:46] Telnet connection: netscapehost/2711
[18:46] Timeout/EOF ident connection
My first question is: what does this "ident connection" do? Is it really needed? Second question: can it be disabled, or are other eggdrop settings needed?
Then a connection is made using Lynx, which is to submit some text using a HTML form and POST.
What then happens is:
After this timeout, all lynx client header information is received correctly. Now one of the interesting points is that if Lynx then kills the connection (by terminating Lynx itself ), this termination is not processed by eggdrop. No empty string is sent to the observeproc. I.e. eggdrop still thinks the connection exists.[18:48] Telnet connection: lynxhost/4568
(then a delay of about 10 seconds ( ident-timeout?))
[18:48] Timeout/EOF ident connection
The 3rd issue is the following: a connection with Lynx is made, and right thereafter a connection is made by Netscape. In this case the following is observed:
In this case no delays are visible. Upon the Netscape connection, both "Timeout/EOF" appear followed by the info submitted by Lynx and Netscape respectively.
[19:04] Telnet connection: lynxhost/4995
[19:04] Telnet connection: netscapehost/2718
[19:04] Timeout/EOF ident connection
[19:04] Timeout/EOF ident connection
I won't describe here that by making/disconnecting two or more times repeatedly after one another with Lynx, things got "blocked". i.e. all information submitted by Lynx was not sent to the observeproc procedure. Only after making one Netscape connection, all this data was sent to the observeproc.
All in all, this "Timeout/EOF ident connection" seems a bottleneck. Any suggestions to circumvent it are greatly appreciated.
<font size=-1>[ This Message was edited by: egghead on 2002-01-07 19:24 ]</font>