Bugzilla – Bug 876
Tcp socket does not handle ShutdownRecv correctly
Last modified: 2010-04-14 16:59:03 UTC
Discovered from bug 818, calling ShutdownRecv when using tcp-socket causes problems since TcpSocketImpl::ForwardUp simply returns before processing the event or action. So state is not updated and packets are not processed after ShutdownRecv.
Created attachment 831 [details] simple fix The simplest fix. Remove check for shutdownRecv in ForwardUp and just check right before each call to NotifyDataRecv.
(In reply to comment #1) > Created an attachment (id=831) [details] > simple fix > > The simplest fix. Remove check for shutdownRecv in ForwardUp and just check > right before each call to NotifyDataRecv. Looks like the right thing to do, so +1 from me to commit so that you can unblock the other patches too and we can start to test this more.
changeset cc5b5294031f