Skip to content

Commit 745d685

Browse files
tcp: Shaved some bytes of Connection
1 parent 7826494 commit 745d685

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

api/net/tcp/connection.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,10 +485,10 @@ class Connection : public std::enable_shared_from_this<Connection> {
485485
Timer timewait_timer;
486486

487487
/** Number of retransmission attempts on the packet first in RT-queue */
488-
size_t rtx_attempt_ = 0;
488+
int8_t rtx_attempt_ = 0;
489489

490490
/** number of retransmitted SYN packets. */
491-
size_t syn_rtx_ = 0;
491+
int8_t syn_rtx_ = 0;
492492

493493
/** Congestion control */
494494
// is fast recovery state

0 commit comments

Comments
 (0)