Commit 2e1eff3
committed
Propagate correctly the HTTP connection metric to the WebSocket connection metric during the server upgrade.
Motivation:
During a server WebSocket upgrade, the HTTP connection metric is not correctly set to the WebSocket connection metric.
This leads to calling the metric implementation with a null instance of the metric instead of the the instance it was provided.
Changes:
During the server WebSocket upgrade set the HTTP connection metric onto the WebSocket connection metric.1 parent 3090061 commit 2e1eff3
File tree
2 files changed
+29
-14
lines changed- vertx-core/src
- main/java/io/vertx/core/http/impl
- test/java/io/vertx/tests/metrics
2 files changed
+29
-14
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
Lines changed: 27 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
564 | 565 | | |
565 | 566 | | |
566 | 567 | | |
567 | | - | |
568 | | - | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
569 | 573 | | |
570 | 574 | | |
571 | | - | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
572 | 579 | | |
573 | 580 | | |
574 | 581 | | |
| |||
589 | 596 | | |
590 | 597 | | |
591 | 598 | | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
601 | 616 | | |
602 | 617 | | |
603 | 618 | | |
| |||
0 commit comments