https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217637

--- Comment #65 from s...@zxy.spb.ru ---
(In reply to Michael Tuexen from comment #64)

> No. The server sends a RST and move the connection to CLOSED. The connection 
> is
> terminated immediately from the server perspective.

This is wrong behaviour. This is cause lost of server data.

> No. This is an ungraceful termination. No need to wait for anything. All peers
> should handle the RST.

No.

pwrite();
close();

This is graceful termination.

> No. Incoming user data is lost on the server side. I think the server should
notify
> the peer as soon as possible. Please note that the RST is only sent if the
server
> has to drop user data. If that is not the case, a graceful shutdown will be
performed.

User data is second question for server. Main question is resend server respond
to client. This is RFC requiriment. And this is more impotant for user -- see
respond from server, not just droped connection.

Server can send RST after client ACK server respose and server FIN.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to