cloudflare / quiche

🥧 Savoury implementation of the QUIC transport protocol and HTTP/3
https://docs.quic.tech/quiche/
BSD 2-Clause "Simplified" License
9.4k stars 709 forks source link

Can I use two different sockets one to send connection data and one to receive? #1529

Closed kalradivyanshu closed 1 year ago

kalradivyanshu commented 1 year ago

I am using Quiche with tokio, and we are setting up one socket (on the same port using SO_REUSEPORT) per connection per thread. However when SO_REUSEPORT is used, FQ is unable to send packets while using SO_TXTIME, in this talk about how to scale quic: https://youtu.be/gx9B0ks3bNA?t=3310 he talks about using a recv socket and a send socket per thread, I do realise this talk is old, and maybe QUIC spec has changed, but can I use 2 seperate sockets to send and recv data, and set SO_REUSEPORT only on the recv socket?

Thanks.

kalradivyanshu commented 1 year ago

This was due to another bug, closing.