Re: TCP behaviour change between 2.0.36 and 2.2pre4

David S. Miller (davem@dm.cobaltmicro.com)
Tue, 5 Jan 1999 14:36:30 -0800


Date: Mon, 4 Jan 1999 01:28:54 -0500
From: Andrew Isaacson <adisaacs@mtu.edu>

Is this change intentional? Should I fix my application, or does the
kernel need fixing?

Your application needs to be fixed, it should sink all read data
remaining on the socket before closing. If data is unread, TCP does
not know if this was intentional and assumes that data integrity has
been lost (because transfered bytes did not make it to the receiving
application), and thus the RST response to indicate this.

Later,
David S. Miller
davem@dm.cobaltmicro.com

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