go-exploit icon indicating copy to clipboard operation
go-exploit copied to clipboard

Read Deadline in Protocol TCP

Open j-baines opened this issue 6 months ago • 0 comments

conn.SetReadDeadline should be moved into protocol.TCPReadAmount. Looks like our implementations are calling it outside of the function and not always using the default timeout (protocol.GlobalCommTimeout)

_ = conn.SetReadDeadline(time.Now().Add(time.Duration(protocol.GlobalCommTimeout) * time.Second))

j-baines avatar Aug 06 '24 14:08 j-baines