Skip to content

Commit b9e83dc

Browse files
committed
feat: record outgoing quic frames in qlog
feat: add ConnectionStarted to qlog feat: track received packets in qlog fix: cid groups, padding size, cleanups fixup vantage_point method signature chore: clippy
1 parent 8c91068 commit b9e83dc

File tree

9 files changed

+661
-111
lines changed

9 files changed

+661
-111
lines changed

quinn-proto/src/config/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ use crate::{
2626
};
2727

2828
mod transport;
29+
pub use transport::{AckFrequencyConfig, IdleTimeout, MtuDiscoveryConfig, TransportConfig};
2930
#[cfg(feature = "qlog")]
3031
pub use transport::{QlogConfig, VantagePointType};
31-
pub use transport::{AckFrequencyConfig, IdleTimeout, MtuDiscoveryConfig, TransportConfig};
3232

3333
#[cfg(doc)]
3434
pub use transport::DEFAULT_CONCURRENT_MULTIPATH_PATHS_WHEN_ENABLED;

quinn-proto/src/config/transport.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -735,9 +735,14 @@ impl QlogConfig {
735735
}
736736

737737
/// Vantage point for this trace
738-
pub fn vantage_point(&mut self, vantage_point: VantagePointType, name: Option<String>) {
738+
pub fn vantage_point(
739+
&mut self,
740+
vantage_point: VantagePointType,
741+
name: Option<String>,
742+
) -> &mut Self {
739743
self.vantage_point.name = name;
740744
self.vantage_point.ty = vantage_point;
745+
self
741746
}
742747

743748
/// Construct the [`QlogStream`] described by this configuration
@@ -763,7 +768,7 @@ impl QlogConfig {
763768
None,
764769
self.start_time,
765770
trace,
766-
qlog::events::EventImportance::Core,
771+
qlog::events::EventImportance::Extra,
767772
writer,
768773
);
769774

0 commit comments

Comments
 (0)