Commit e4d5de2
committed
Tcp: add TODO to replace bool return with void + getFsmState() check
The process methods (processAppCommand, processTCPSegment,
processIcmpv4Error, processIcmpv6Error) currently return bool to signal
whether the connection moved to CLOSED. This could be simplified by
making them void and having the Tcp module check
conn->getFsmState() == TCP_S_CLOSED after each call instead.1 parent cb90199 commit e4d5de2
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
107 | 109 | | |
108 | 110 | | |
109 | 111 | | |
| |||
0 commit comments