Commit 2086f34
committed
Out of Order Message Handling
1. Always set the expected message right before sending. If the send
fails, it is either because the socket is closing, or it is wanting
to block. If it is wanting to block, we still want to check the next
message as expected.1 parent 03ca922 commit 2086f34
1 file changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5989 | 5989 | | |
5990 | 5990 | | |
5991 | 5991 | | |
5992 | | - | |
5993 | 5992 | | |
| 5993 | + | |
| 5994 | + | |
5994 | 5995 | | |
5995 | 5996 | | |
5996 | 5997 | | |
| |||
12729 | 12730 | | |
12730 | 12731 | | |
12731 | 12732 | | |
12732 | | - | |
12733 | | - | |
12734 | | - | |
12735 | 12733 | | |
12736 | 12734 | | |
12737 | 12735 | | |
| 12736 | + | |
12738 | 12737 | | |
12739 | 12738 | | |
12740 | 12739 | | |
| |||
13086 | 13085 | | |
13087 | 13086 | | |
13088 | 13087 | | |
13089 | | - | |
13090 | | - | |
13091 | | - | |
13092 | 13088 | | |
13093 | 13089 | | |
13094 | 13090 | | |
| 13091 | + | |
13095 | 13092 | | |
13096 | 13093 | | |
13097 | 13094 | | |
| |||
0 commit comments