Commit badb3e5
committed
Fix false positive unexpected connection close
Motivation:
The connection could be incorrectly detected as
unexpectedly closed due to a race condition where the exit message was
sent before updating the state to `ST_CLOSING`.
Modifications:
Ensured state update to `ST_CLOSING` happens before
sending the exit message.
Result:
State update to `ST_CLOSING` happens before sending the exit
message, preventing false positive unexpected close detections.
resolves #2751 parent a1c99ea commit badb3e5
File tree
1 file changed
+8
-7
lines changed- r2dbc-mysql/src/main/java/io/asyncer/r2dbc/mysql/client
1 file changed
+8
-7
lines changedLines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
134 | 142 | | |
135 | 143 | | |
136 | 144 | | |
| |||
213 | 221 | | |
214 | 222 | | |
215 | 223 | | |
216 | | - | |
217 | 224 | | |
218 | 225 | | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | 226 | | |
226 | 227 | | |
227 | 228 | | |
| |||
0 commit comments