turing-machines / tpi

CLI tool to control your Turing Pi 2 board
https://docs.turingpi.com/docs/turing-pi2-tpi-cli
Apache License 2.0
33 stars 4 forks source link

upgrade to HTTP/2 requests #6

Closed svenrademakers closed 1 year ago

svenrademakers commented 1 year ago

With http2, we can enjoy smaller headers + better flow control, which should improve the flash update functionality. It seems that the actix-web server only wants to negotiate HTTP2 with TLS enabled, see: https://users.rust-lang.org/t/http2-0-frame-size-error-what-doest-that-mean/81106

this issue can be picked up after we have TLS enabled on the bmcd