[ZODB-Dev] zeo 2: asyncore?
Mark McEahern
marklists@mceahern.com
Thu, 5 Sep 2002 10:47:20 -0500
[Toby Dickenson]
> eeek, no. dont try that. try this:
>
> (echo -e "GET / HTTP/1.0\n\n";sleep 5) | telnet localhost 5080
I used 8080 instead of 5080--since that's the port I'm running Zope on.
This is very interesting. Here's what I did:
1. Install Zope and ZEO fresh.
2. Start ZEO.
3. Start Zope. Wait until stupid_log_file shows ZServer started message.
4. Connect using the above telnet command. I got the root page.
However, subsequent tries timeout:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
After five seconds...
Connection closed by foreign host.
If I restart Zope, then I'm able to get the home page using telnet--again,
only the first time. Subsequent tries timeout.
Thanks,
// mark
-