diff --git a/srtcore/core.cpp b/srtcore/core.cpp index 7fe1c3202..469d8af08 100644 --- a/srtcore/core.cpp +++ b/srtcore/core.cpp @@ -297,6 +297,7 @@ void srt::CUDT::construct() m_bTsbPdAckWakeup = false; m_bGroupTsbPd = false; m_bPeerTLPktDrop = false; + m_bBufferWasFull = false; // Initilize mutex and condition variables. initSynch(); @@ -3530,7 +3531,6 @@ void srt::CUDT::startConnect(const sockaddr_any& serv_addr, int32_t forced_isn) m_iISN = m_ConnReq.m_iISN = forced_isn; setInitialSndSeq(m_iISN); - // Inform the server my configurations. CPacket reqpkt; reqpkt.setControl(UMSG_HANDSHAKE); diff --git a/srtcore/core.h b/srtcore/core.h index 71c955c33..ef213be60 100644 --- a/srtcore/core.h +++ b/srtcore/core.h @@ -956,7 +956,6 @@ class CUDT CallbackHolder m_cbAcceptHook; CallbackHolder m_cbConnectHook; - // FORWARDER public: static int installAcceptHook(SRTSOCKET lsn, srt_listen_callback_fn* hook, void* opaq);