Skip to content

tokio-quiche: attach additional context when propagating errors.#2304

Closed
toidiu wants to merge 1 commit intomasterfrom
akothari/propagate_quiche_error
Closed

tokio-quiche: attach additional context when propagating errors.#2304
toidiu wants to merge 1 commit intomasterfrom
akothari/propagate_quiche_error

Conversation

@toidiu
Copy link
Copy Markdown
Contributor

@toidiu toidiu commented Jan 8, 2026

No description provided.

@toidiu toidiu requested a review from a team as a code owner January 8, 2026 20:15
Comment thread tokio-quiche/src/result.rs Outdated
@toidiu toidiu force-pushed the akothari/propagate_quiche_error branch from f8983dd to ff81b94 Compare January 8, 2026 20:34
Comment thread tokio-quiche/src/result.rs Outdated
@toidiu toidiu force-pushed the akothari/propagate_quiche_error branch 2 times, most recently from 372f13e to a7d7c42 Compare January 8, 2026 23:10
Comment thread tokio-quiche/src/result.rs Outdated
@toidiu toidiu force-pushed the akothari/propagate_quiche_error branch 3 times, most recently from 514f239 to f9227ca Compare January 12, 2026 18:46
@toidiu toidiu changed the title tokio-quiche: propagate quiche context on connection close. tokio-quiche: attach additional context when propagating errors. Jan 12, 2026
@toidiu toidiu force-pushed the akothari/propagate_quiche_error branch from f9227ca to 75a6f92 Compare January 12, 2026 18:48
@toidiu toidiu force-pushed the akothari/propagate_quiche_error branch from 75a6f92 to d16c6c0 Compare January 12, 2026 18:57
});

let actions = vec![
Action::SendDatagram { payload: vec![] },
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error below seems to be for an invalid DATA frame, so it seems like we don't need this datagram action.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error seems to trigger only when I first send a Datagram frame. I think this works since I can send an arbitrary payload in the datagram frame and therefore mess with the server state.

segment_size,
)
.map_err(|err| {
let msg = "Error writing packet. Opt: `AOQ::write_packet_to_buffer`";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does Opt mean?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

operation. i'll change the format so its more obvious.

@toidiu
Copy link
Copy Markdown
Contributor Author

toidiu commented Jan 12, 2026

replaced with #2307

@toidiu toidiu closed this Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants