Commit 099d4f9
committed
Make weird issues happen less
Firstly, we now periodically ping every non-TCP-only client on the UDP
socket in an attempt to keep the connection alive; SAR 1.12.2.1 and
above should return this ping on UDP (although we don't check the
response, it's just a keep-alive). Secondly, the client is now allowed
to miss a (TCP) ping as long as they respond to the next, which should
hopefully stop the random disconnects that I don't understand from
happening.1 parent b55e16f commit 099d4f9
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
209 | 211 | | |
210 | 212 | | |
211 | 213 | | |
| 214 | + | |
212 | 215 | | |
213 | 216 | | |
214 | 217 | | |
| |||
386 | 389 | | |
387 | 390 | | |
388 | 391 | | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
389 | 403 | | |
390 | 404 | | |
391 | 405 | | |
| |||
427 | 441 | | |
428 | 442 | | |
429 | 443 | | |
430 | | - | |
| 444 | + | |
431 | 445 | | |
432 | 446 | | |
433 | 447 | | |
434 | 448 | | |
435 | 449 | | |
| 450 | + | |
436 | 451 | | |
437 | 452 | | |
438 | 453 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
0 commit comments