Commit 6c6f620
quic: fix defer logging of request in Access log (#37643)
Commit Message: defer the logging till either last byte ACKed or
QuicStream::OnSoonToBeDestroyed() called.
Additional Description: OnSoonToBeDestroyed() is newly added to be
called before stream object destruction. This is a better place than
QuicStatsGatherer destructor to flush the log if the last byte hasn't
been fully ACKed for whatever reason.
Risk Level: low, behind default-false feature.
Testing: integration tests passed
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A
Runtime guard: guarded by existing runtime guard
`envoy.reloadable_features.quic_defer_logging_to_ack_listener`
Fixes #29930 for real
---------
Signed-off-by: Dan Zhang <[email protected]>
Co-authored-by: Dan Zhang <[email protected]>1 parent 19dcf98 commit 6c6f620
File tree
5 files changed
+44
-5
lines changed- source/common
- quic
- runtime
- test/integration
5 files changed
+44
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
424 | 430 | | |
425 | 431 | | |
426 | 432 | | |
| |||
539 | 545 | | |
540 | 546 | | |
541 | 547 | | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
542 | 559 | | |
543 | 560 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
| |||
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
54 | 62 | | |
55 | 63 | | |
56 | 64 | | |
| |||
65 | 73 | | |
66 | 74 | | |
67 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
68 | 80 | | |
69 | 81 | | |
70 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1417 | 1417 | | |
1418 | 1418 | | |
1419 | 1419 | | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
1420 | 1427 | | |
1421 | 1428 | | |
1422 | 1429 | | |
1423 | 1430 | | |
1424 | 1431 | | |
1425 | 1432 | | |
1426 | | - | |
| 1433 | + | |
| 1434 | + | |
1427 | 1435 | | |
1428 | 1436 | | |
1429 | 1437 | | |
| |||
1455 | 1463 | | |
1456 | 1464 | | |
1457 | 1465 | | |
1458 | | - | |
| 1466 | + | |
1459 | 1467 | | |
1460 | 1468 | | |
1461 | 1469 | | |
| |||
1465 | 1473 | | |
1466 | 1474 | | |
1467 | 1475 | | |
1468 | | - | |
| 1476 | + | |
| 1477 | + | |
1469 | 1478 | | |
1470 | 1479 | | |
1471 | 1480 | | |
| |||
0 commit comments