Bug 1957 - UdpSocketImpl is stuck after a Close()
authorTommaso Pecorella <tommaso.pecorella@unifi.it>
Sun, 12 Oct 2014 15:51:05 +0200
changeset 11011 68da08e92ffa
parent 11010 08215908e0b1
child 11012 a77a10d784d3
Bug 1957 - UdpSocketImpl is stuck after a Close()
RELEASE_NOTES
src/internet/model/udp-socket-impl.cc
--- a/RELEASE_NOTES	Tue Oct 07 21:37:00 2014 +0200
+++ b/RELEASE_NOTES	Sun Oct 12 15:51:05 2014 +0200
@@ -27,6 +27,7 @@
 Bugs fixed
 ----------
 - Bug 1551 - NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace?
+- Bug 1957 - UdpSocketImpl is stuck after a Close()
 - Bug 1983 - FlowMonitor returns containers copies instead of references.
 - Bug 1991 - PcapFileWrapper::CaptureSize attribute (snaplen) has no effect.
 
--- a/src/internet/model/udp-socket-impl.cc	Tue Oct 07 21:37:00 2014 +0200
+++ b/src/internet/model/udp-socket-impl.cc	Sun Oct 12 15:51:05 2014 +0200
@@ -219,6 +219,8 @@
     }
   if (done)
     {
+      m_shutdownRecv = false;
+      m_shutdownSend = false;
       return 0;
     }
   return -1;