On 2003.07.07, Wojciech Kocjan <[EMAIL PROTECTED]> wrote:
> Wojciech Kocjan wrote:
> > 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?
>
> Ok, got to ns_sock, which calls Ns_SockSend(), where send() return EPIPE
> (32). This is very very weird.
Ah, if you're seeing calls make it to Ns_SockSend() then you're on 3.5.x
and not 4.0, huh?
> Ok, I'm not going to try deeper (in the kernel source :-). Could anybody
> please tell my when send() can return EPIPE error?
EPIPE The local end has been shut down on a connection oriented
socket. In this case the process will also receive a SIGPIPE
unless MSG_NOSIGNAL is set.
Look for a shutdown() or close() on the socket?
-- Dossy
--
Dossy Shiobara mail: [EMAIL PROTECTED]
Panoptic Computer Network web: http://www.panoptic.com/
"He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70)
--
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.