- Notifications
You must be signed in to change notification settings - Fork928
Commit269bc1e
committed
fix(wsconncache): only allow one peer per connection
If an agent went away and reconnected, the wsconncache connection wouldbe polluted for about 10m because there would be two peers with thesame IP. The old peer always had priority, which caused the dashboard totry and always dial the old peer until it was removed.Fixes:#52921 parentb0a1615 commit269bc1e
2 files changed
+47
-6
lines changedLines changed: 22 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
278 | 278 |
| |
279 | 279 |
| |
280 | 280 |
| |
| 281 | + | |
281 | 282 |
| |
282 | 283 |
| |
283 | 284 |
| |
284 | 285 |
| |
285 | 286 |
| |
286 | 287 |
| |
| 288 | + | |
287 | 289 |
| |
288 | 290 |
| |
289 | 291 |
| |
290 | 292 |
| |
291 | 293 |
| |
292 | 294 |
| |
| 295 | + | |
293 | 296 |
| |
294 | 297 |
| |
295 | 298 |
| |
| |||
402 | 405 |
| |
403 | 406 |
| |
404 | 407 |
| |
405 |
| - | |
406 |
| - | |
407 |
| - | |
408 |
| - | |
409 |
| - | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
410 | 413 |
| |
411 | 414 |
| |
412 | 415 |
| |
| |||
453 | 456 |
| |
454 | 457 |
| |
455 | 458 |
| |
456 |
| - | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
457 | 469 |
| |
458 | 470 |
| |
459 | 471 |
| |
| |||
465 | 477 |
| |
466 | 478 |
| |
467 | 479 |
| |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
468 | 484 |
| |
469 | 485 |
| |
470 | 486 |
| |
|
Lines changed: 25 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
325 | 325 |
| |
326 | 326 |
| |
327 | 327 |
| |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
328 | 353 |
| |
329 | 354 |
| |
330 | 355 |
| |
|
0 commit comments
Comments
(0)