in reply to html2doc server connection dies early

I don't have a similar set-up as yours so I cannot test your code and therefore I can only give some general pointers.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Replies are listed 'Best First'.
Re^2: html2doc server connection dies early
by IdleResonance (Acolyte) on Oct 23, 2005 at 23:18 UTC
    • will do
    • will do
    • With the undefs, I just didn't want a possibility of a carryover buffer of HTML sent back to the client on a zero-length file, but I should just re-initialize them.
    • will do
    • I haven't had any zero-length files on the server though. As far as the file-length is concerned, you can see in the server output that between 23-24K are read from the document and supposedly sent back to the client.