quinn
quinn copied to clipboard
Async-friendly QUIC implementation in Rust
@nemethf and I have been trying to migrate a client connection. It seems, based on the [example code](https://github.com/quinn-rs/quinn/blob/main/quinn/examples/client.rs#L118), one just need to rebind the client endpoint to a new UDP...
This reverts commit e6f184489e703bcf70850f99373c88746c250662. e6f18448 called `sendmmsg` and `recvmmsg` through `libc::syscall` instead of `libc::sendmmsg` and `libc::recvmmsg`, thus preventing linking issues on old Android systems where `libc::sendmmsg` and `libc::recvmmsg` isn't available....
When running the `quinn-udp` `ecn_*` unit tests `sendmsg` fails with: ``` 2024-08-22T14:41:30.636494Z WARN quinn_udp: sendmsg error: Os { code: 22, kind: InvalidInput, message: "Invalid argument" }, Transmit: { destination: 127.0.0.1:50196,...
Currently, `quinn-udp` logs certain errors and returns `Ok(())` even if the packet did not get sent. For example, a common one we see is ``` 2024-08-21T00:34:51.104902Z WARN quinn_udp: sendmsg error:...
> On x86-32, socketcall() was historically the only entry point for > the sockets API. However, starting in Linux 4.3, direct system > calls are provided on x86-32 for the...
I'd like to get #1961 published for interop reasons, and we might as well get the docs update out there while we're at it.
Still needs a CI workflow to ensure that this actually works.
#### What happened We attempted switching Firefox Nightly to use `quinn-udp` for QUIC UDP I/O by default recently, though we had to roll back due to an error on Android...
In Quinn 0.10 `SendStream::finish()` used to return an error if the connection was already closed. Now it still returns `Ok(())`. Full example code at https://gist.github.com/flub/56450fb16ec7c93998e7feedcb5659a0 but here are the relevant...
Previously `quinn*` would provide the `log` feature to log events via `log` if no `tracing` subscriber exists. Later https://github.com/quinn-rs/quinn/pull/1923 allowed `quinn-udp` to log via `log` directly, making `tracing` an optional...