quiche icon indicating copy to clipboard operation
quiche copied to clipboard

Support disable encryption

Open birneee opened this issue 7 months ago • 5 comments

Support disabling encryption in trusted environments, for research, debugging, and performance profiling.

tquic and msquic support this extension: https://datatracker.ietf.org/doc/html/draft-banks-quic-disable-encryption

birneee avatar Apr 29 '25 12:04 birneee

good idea to make things clear we can add two trees of code and one has disabled encryption and one has not.

muhammadyasir-dev avatar Apr 30 '25 09:04 muhammadyasir-dev

good idea to make things clear we can add two trees of code and one has disabled encryption and one has not.

@muhammadyasir-dev what do you mean by: two trees of code?

I think this should be an option added to the Config struct, which is maybe hidden behind a cargo feature by default.

birneee avatar May 02 '25 07:05 birneee

Disabled encryption in QUIC is relatively low priority for most people, since most people want to use it for HTTP3. Generating dummy certs for test environment is also pretty easy.

I would love to see some benchmarks that measure encryption overhead in QUIC. Perhaps non-encrypted QUIC would be good for LAN online gaming.

MiniaczQ avatar May 26 '25 12:05 MiniaczQ

Disabled encryption in QUIC is relatively low priority for most people, since most people want to use it for HTTP3. Generating dummy certs for test environment is also pretty easy.

I would love to see some benchmarks that measure encryption overhead in QUIC. Perhaps non-encrypted QUIC would be good for LAN online gaming.

i just wanna rewrite it in c++ because it is faster than rust

muhammadyasir-dev avatar May 29 '25 07:05 muhammadyasir-dev

Disabled encryption in QUIC is relatively low priority for most people, since most people want to use it for HTTP3. Generating dummy certs for test environment is also pretty easy.

I would love to see some benchmarks that measure encryption overhead in QUIC. Perhaps non-encrypted QUIC would be good for LAN online gaming.

i just wanna rewrite it in c++ because it is faster than rust

muhammadyasir-dev avatar May 29 '25 07:05 muhammadyasir-dev