Behavior of Ns_ConnSend() is correct in AOLserver 3.x
but was "broken" in 4.0.x and 4.1.x.
Function documentation in nsd/connio.c indicates that
Ns_ConnSend() will return -1 for error on first send,
but it ONLY returns -1 if connPtr->sockPtr == NULL. In
the case where NsSockSend() fails and returns -1, the
function returns nwrote which will equal 0.
Logged In: YES
user_id=21885
Patches against HEAD (4.1.0a) and aolserver_v40_bp (4.0.9a)
attached.
patch against HEAD for 4.1.0a - 20040917
patch against aolserver_v40_bp branch for 4.0.9a - 20040917