mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:07:35 +00:00
IPv4: Send TCP packets right away instead of waiting to "retry"
Also be more explicit about zero-initializing OutgoingPacket objects.
This commit is contained in:
parent
a7e72f78cd
commit
6be880bd10
2 changed files with 4 additions and 5 deletions
|
@ -192,10 +192,10 @@ private:
|
|||
u32 m_bytes_out { 0 };
|
||||
|
||||
struct OutgoingPacket {
|
||||
u32 ack_number;
|
||||
u32 ack_number { 0 };
|
||||
ByteBuffer buffer;
|
||||
int tx_counter { 0 };
|
||||
timeval tx_time;
|
||||
timeval tx_time { 0, 0 };
|
||||
};
|
||||
|
||||
Lock m_not_acked_lock { "TCPSocket unacked packets" };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue