You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been working on pycapnp (client) <-(TLS)-> capnproto-rust (server), which is basically working now except for (what I hope) is the final hurdle.
There was some sort of write IO change in tokio-rustls-0.9.1 -> tokio-rustls-0.9.2 that seems to block all capnproto wait requests after the first exchange (amusingly if I request a bunch of promises before waiting I can actually get all of them, but then next time I make a request it also hangs).
cargo run server localhost:12345 &
cargo run client localhost:12345
Finished dev [unoptimized + debuginfo] target(s) in 0.24s
Running `target/debug/capntls client 'localhost:12345'`[email protected]:hello
[email protected]:helloa
cargo run server localhost:12345 &
cargo run client localhost:12345
Finished dev [unoptimized + debuginfo] target(s) in 0.15s
Running `target/debug/capntls client 'localhost:12345'`[email protected]:hello
^C
cargo run server localhost:12345 &
cargo run client localhost:12345
Finished dev [unoptimized + debuginfo] target(s) in 0.08s
Running `target/debug/capntls client 'localhost:12345'`[email protected]:hello
^C
The suggested "fix" from the tokio-rustls side is detailed here: quininer/tokio-rustls#37 unfortunately I'm not really sure how this change would fit into capnproto-rust (maybe somewhere in capnproto-futures?).
Anyways, I don't mind working on a patch though I might need some guidance on where to look.
The text was updated successfully, but these errors were encountered:
I've been working on pycapnp (client) <-(TLS)-> capnproto-rust (server), which is basically working now except for (what I hope) is the final hurdle.
There was some sort of write IO change in tokio-rustls-0.9.1 -> tokio-rustls-0.9.2 that seems to block all capnproto wait requests after the first exchange (amusingly if I request a bunch of promises before waiting I can actually get all of them, but then next time I make a request it also hangs).
Here are 3 examples, the first one works, the 2nd one is the first version not working, the 3rd one is the latest version,
https://github.com/haata/capntls/tree/tokio-rustls-0.9.1
vs.
https://github.com/haata/capntls/tree/tokio-rustls-0.9.2
and
https://github.com/haata/capntls/tree/tokio-rustls-0.10.1
The suggested "fix" from the tokio-rustls side is detailed here: quininer/tokio-rustls#37 unfortunately I'm not really sure how this change would fit into capnproto-rust (maybe somewhere in capnproto-futures?).
Anyways, I don't mind working on a patch though I might need some guidance on where to look.
The text was updated successfully, but these errors were encountered: