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
Currently rustls version of proxy only works within same thread:
make test-proxy
ct 20 21:44:59.209 DEBUG proxy: client: sleep to give server chance to come up
Oct 20 21:44:59.209 DEBUG proxy: server: binding
Oct 20 21:44:59.209 DEBUG proxy: server: successfully binding. waiting for incoming
Oct 20 21:44:59.409 DEBUG proxy: client: trying to connect
Oct 20 21:44:59.417 DEBUG proxy: client: got connection. waiting
Oct 20 21:44:59.418 DEBUG proxy: client: loop 0 sending test message: message0
Oct 20 21:44:59.418 DEBUG proxy: server: loop 0, received reply back bytes: 8
Oct 20 21:44:59.418 DEBUG proxy: server: loop 0, received message: message0
Oct 20 21:44:59.418 DEBUG proxy: sever: send back reply: message0reply
Oct 20 21:44:59.418 DEBUG proxy: client: loop 0, received reply back bytes: 13
Oct 20 21:44:59.418 DEBUG proxy: client: loop 0, received reply message: message0reply
Oct 20 21:44:59.418 DEBUG proxy: client: loop 1 sending test message: message1
Oct 20 21:44:59.419 DEBUG proxy: server: loop 1, received reply back bytes: 8
Oct 20 21:44:59.419 DEBUG proxy: server: loop 1, received message: message1
Oct 20 21:44:59.419 DEBUG proxy: sever: send back reply: message1reply
Oct 20 21:44:59.419 DEBUG proxy: client: loop 1, received reply back bytes: 13
Oct 20 21:44:59.419 DEBUG proxy: client: loop 1, received reply message: message1reply
Oct 20 21:44:59.419 DEBUG proxy: client: loop 2 sending test message: message2
Oct 20 21:44:59.420 DEBUG proxy: server: loop 2, received reply back bytes: 8
Oct 20 21:44:59.420 DEBUG proxy: server: loop 2, received message: message2
Oct 20 21:44:59.420 DEBUG proxy: sever: send back reply: message2reply
Oct 20 21:44:59.420 DEBUG proxy: client: loop 2, received reply back bytes: 13
Oct 20 21:44:59.420 DEBUG proxy: client: loop 2, received reply message: message2reply
Oct 20 21:44:59.420 DEBUG proxy: client: loop 3 sending test message: message3
Oct 20 21:44:59.420 DEBUG proxy: server: loop 3, received reply back bytes: 8
Oct 20 21:44:59.420 DEBUG proxy: server: loop 3, received message: message3
Oct 20 21:44:59.420 DEBUG proxy: sever: send back reply: message3reply
Oct 20 21:44:59.421 DEBUG proxy: client: loop 3, received reply back bytes: 13
Oct 20 21:44:59.421 DEBUG proxy: client: loop 3, received reply message: message3reply
Oct 20 21:44:59.421 DEBUG proxy: client: loop 4 sending test message: message4
Oct 20 21:44:59.421 DEBUG proxy: server: loop 4, received reply back bytes: 8
Oct 20 21:44:59.421 DEBUG proxy: server: loop 4, received message: message4
Oct 20 21:44:59.421 DEBUG proxy: sever: send back reply: message4reply
Oct 20 21:44:59.421 DEBUG proxy: client: loop 4, received reply back bytes: 13
Oct 20 21:44:59.422 DEBUG proxy: client: loop 4, received reply message: message4reply
Oct 20 21:44:59.422 DEBUG proxy: client: loop 5 sending test message: message5
Oct 20 21:44:59.422 DEBUG proxy: server: loop 5, received reply back bytes: 8
Oct 20 21:44:59.422 DEBUG proxy: server: loop 5, received message: message5
Oct 20 21:44:59.422 DEBUG proxy: sever: send back reply: message5reply
Oct 20 21:44:59.422 DEBUG proxy: client: loop 5, received reply back bytes: 13
Oct 20 21:44:59.422 DEBUG proxy: client: loop 5, received reply message: message5reply
Oct 20 21:44:59.422 DEBUG proxy: client: loop 6 sending test message: message6
Oct 20 21:44:59.423 DEBUG proxy: server: loop 6, received reply back bytes: 8
Oct 20 21:44:59.423 DEBUG proxy: server: loop 6, received message: message6
Oct 20 21:44:59.423 DEBUG proxy: sever: send back reply: message6reply
Oct 20 21:44:59.423 DEBUG proxy: client: loop 6, received reply back bytes: 13
Oct 20 21:44:59.423 DEBUG proxy: client: loop 6, received reply message: message6reply
Oct 20 21:44:59.423 DEBUG proxy: client: loop 7 sending test message: message7
Oct 20 21:44:59.423 DEBUG proxy: server: loop 7, received reply back bytes: 8
Oct 20 21:44:59.423 DEBUG proxy: server: loop 7, received message: message7
Oct 20 21:44:59.423 DEBUG proxy: sever: send back reply: message7reply
Oct 20 21:44:59.424 DEBUG proxy: client: loop 7, received reply back bytes: 13
Oct 20 21:44:59.424 DEBUG proxy: client: loop 7, received reply message: message7reply
Oct 20 21:44:59.424 DEBUG proxy: client: loop 8 sending test message: message8
Oct 20 21:44:59.424 DEBUG proxy: server: loop 8, received reply back bytes: 8
Oct 20 21:44:59.424 DEBUG proxy: server: loop 8, received message: message8
Oct 20 21:44:59.424 DEBUG proxy: sever: send back reply: message8reply
Oct 20 21:44:59.424 DEBUG proxy: client: loop 8, received reply back bytes: 13
Oct 20 21:44:59.425 DEBUG proxy: client: loop 8, received reply message: message8reply
Oct 20 21:44:59.425 DEBUG proxy: client: loop 9 sending test message: message9
Oct 20 21:44:59.425 DEBUG proxy: server: loop 9, received reply back bytes: 8
Oct 20 21:44:59.425 DEBUG proxy: server: loop 9, received message: message9
Oct 20 21:44:59.425 DEBUG proxy: sever: send back reply: message9reply
Oct 20 21:44:59.425 DEBUG proxy: server done
Oct 20 21:44:59.425 DEBUG proxy: client: loop 9, received reply back bytes: 13
Oct 20 21:44:59.425 DEBUG proxy: client: loop 9, received reply message: message9reply
Oct 20 21:44:59.425 DEBUG proxy: client done
It doesn't work with when spawning into task:
test-proxy-spawn
Oct 20 21:41:54.307 DEBUG proxy: client: sleep to give server chance to come up
Oct 20 21:41:54.307 DEBUG proxy: server: binding
Oct 20 21:41:54.307 DEBUG proxy: server: successfully binding. waiting for incoming
Oct 20 21:41:54.507 DEBUG proxy: client: trying to connect
Oct 20 21:41:54.516 DEBUG proxy: client: got connection. waiting
Oct 20 21:41:54.516 DEBUG proxy: client: loop 0 sending test message: message0
Oct 20 21:41:54.516 DEBUG proxy: server: loop 0, received reply back bytes: 8
Oct 20 21:41:54.516 DEBUG proxy: server: loop 0, received message: message0
Oct 20 21:41:54.517 DEBUG proxy: sever: send back reply: message0reply
Oct 20 21:41:54.517 DEBUG proxy: client: loop 0, received reply back bytes: 13
Oct 20 21:41:54.517 DEBUG proxy: client: loop 0, received reply message: message0reply
Oct 20 21:41:54.517 DEBUG proxy: client: loop 1 sending test message: message1
The text was updated successfully, but these errors were encountered:
sehz
changed the title
proxy is hung due to change in dependencies changes
rustls doesn't work with spawn
Oct 20, 2020
Currently rustls version of proxy only works within same thread:
It doesn't work with when spawning into task:
The text was updated successfully, but these errors were encountered: