Commit 9d1000e
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 b69339a commit 9d1000e
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 | |
|---|---|---|---|
| |||
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
475 | 478 | | |
476 | 479 | | |
477 | 480 | | |
478 | 481 | | |
479 | 482 | | |
480 | | - | |
481 | | - | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
482 | 492 | | |
483 | 493 | | |
484 | 494 | | |
| |||
495 | 505 | | |
496 | 506 | | |
497 | 507 | | |
498 | | - | |
| 508 | + | |
499 | 509 | | |
500 | 510 | | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
501 | 518 | | |
502 | 519 | | |
503 | 520 | | |
| 521 | + | |
| 522 | + | |
504 | 523 | | |
505 | 524 | | |
506 | 525 | | |
507 | 526 | | |
508 | | - | |
509 | | - | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
510 | 537 | | |
511 | 538 | | |
512 | 539 | | |
| |||
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
192 | | - | |
| 191 | + | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
196 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
197 | 202 | | |
198 | 203 | | |
199 | 204 | | |
| |||
0 commit comments