Skip to content

Commit

Permalink
Prevent unknown messages from being considered as http response messages
Browse files Browse the repository at this point in the history
  • Loading branch information
wangfeng22 committed Aug 2, 2022
1 parent f3bb501 commit 862f050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcp/tcp_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ func (parser *MessageParser) processPacket(pckt *Packet) {
if in, out := parser.Start(pckt); in || out {
if in {
m.Direction = DirIncoming
} else {
} else if out {
m.Direction = DirOutcoming
}
}
Expand Down

0 comments on commit 862f050

Please sign in to comment.