FeraeLabs / skunk

A person-in-the-middle proxy
MIT License
0 stars 0 forks source link

Custom HTTP implementation #13

Closed jgraef closed 5 months ago

jgraef commented 5 months ago

With hyper we either can have no protocol upgrades (bad) or the IO streams need to be 'static (also bad) :frowning_face: 1

It might be worth building or own implementation.

jgraef commented 5 months ago

Apparently you can do protocol upgrades (with http1) using poll_without_shutdown.

There are other reasons a custom HTTP implementation could be preferable. Obviously implementing HTTP (and especially HTTP/2) is a lot of work :thinking:

jgraef commented 5 months ago

We're not going to write a custom HTTP impl lol