Re: Non-Blocking socket (SOCK_STREAM send)

From: Andi Kleen (ak@suse.de)
Date: Thu Dec 14 2000 - 18:35:33 EST


On Thu, Dec 14, 2000 at 03:26:53PM -0800, Adam Scislowicz wrote:
> We understand the meaning of EPIPE, the question is why 2.4.x is returning EPIPE,
> while 2.2.x is succeeding in sending
> the data to thttpd. Using the 2.2.x kernel our proxy functions, and I can access
> thttpd directly. In 2.4.x I can access thttpd

>From your subject you seem not to.

To the best of my knowledge the receiver side EPIPE reporting has not changed,
so it must be something in the sender that causes it to close the connection
earlier. What you have to find out.

> I have already noticed that the 2.4.x kernel does not set errno = 0 in many places
> where the 2.2.x kernel did, so there are
> differences.

No system call ever sets errno = 0.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:30 EST