I've been "fighting" the problem on my laptop as well, and it seems that
I've been able to replicate it very commonly using ab -c2 and one of the
pages.

Anyway, after doing a little research, I basically do this:

Ns_ConnReturnData(conn,c,d,siz,t);

'conn' is fetched from Ns_TclGetConn(NULL) (and is not NULL - I have an
if statement checking that). 'c' is 200, 'd' is some data (21877 bytes,
got from Tcl_GetStringFromObj()), siz is 21877 and t is 'text/html', got
from Tcl_GetString().

From what I'm logging, AOLserver seems to get correct data to
Ns_ConnReturnData(). I've nailed down the problem to Ns_WriteConn() not
returning NS_OK. And that is caused by (*connPtr->drvPtr->writeProc)
returning -1, don't exactly know why.

I guess I should look at nssock module now?

--
WK


-- AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to