signetlabdei / quic-ns-3

QUIC implementation for ns-3
GNU General Public License v2.0
44 stars 17 forks source link

Missing initializations in QuicSocketBase class #50

Open duncanmcl opened 4 days ago

duncanmcl commented 4 days ago

In the Quic code base at https://github.com/signetlabdei/quic, some of the variables in QuicSocketBase class are not initialized. This causes problems like some packets get extremely big packet size. The line m_rxTrace (sock.m_rxTrace) in file quic-socket-base.cc should be changed with multiple lines below:

m_rxTrace (sock.m_rxTrace),
m_initialPacketSize (sock.m_initialPacketSize),
m_socketRxBufferSize (sock.m_socketRxBufferSize),
m_socketTxBufferSize (sock.m_socketTxBufferSize),
m_flushOnClose (sock.m_flushOnClose)