Commit 0afba80
Splits the message so that the exact cause of the problem is shown
instead of presenting both the cases.
Log the denied address and allowed hosts list at each rejection
point in isAllowedDevToolsHost, so users can diagnose why their
debug window connection was refused.
Co-authored-by: Marco Collovati <marco@vaadin.com>
1 parent f9dd189 commit 0afba80
File tree
2 files changed
+41
-9
lines changed- flow-server/src/main/java/com/vaadin/flow/server/communication
- vaadin-dev-server/src/main/java/com/vaadin/base/devserver
2 files changed
+41
-9
lines changedLines changed: 32 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
441 | 444 | | |
442 | 445 | | |
443 | 446 | | |
444 | 447 | | |
445 | 448 | | |
446 | | - | |
447 | | - | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
448 | 458 | | |
449 | 459 | | |
450 | 460 | | |
| |||
461 | 471 | | |
462 | 472 | | |
463 | 473 | | |
464 | | - | |
| 474 | + | |
465 | 475 | | |
466 | 476 | | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
467 | 484 | | |
468 | 485 | | |
469 | 486 | | |
| 487 | + | |
| 488 | + | |
470 | 489 | | |
471 | 490 | | |
472 | 491 | | |
473 | 492 | | |
474 | | - | |
475 | | - | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
476 | 503 | | |
477 | 504 | | |
478 | 505 | | |
| |||
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
| 194 | + | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
199 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
200 | 205 | | |
201 | 206 | | |
202 | 207 | | |
| |||
0 commit comments