I have built an HTTP server sort of.
A little overview:
[SHELL] The socketfactory etc.
[Session Object] Readwrite wheel, using a modified version of the
Filter::HTTPD (only modified the put sub)
Also other session orientated code.
Each time a client connects I generate a new perl object. Some of it's
sessions are simply passing html documents, others are sustained connections
to the browser, through which data is passed as the server generates events
for the clients. The same session class is used for sustained and 1 time
clients.
At the moment when I have 2 sustained sessions active everything freezes.
Well, the kernel still runs fine, all my delays work, but, no tcp data gets
through to the clients. I really can't figure out why this is. The
sustained sessions flush properly i think.
I realise it's a bit hard to troubleshoot this via email but I'm rather
stuck.
Jotham