I've implemented something similar for a pet project, trying to make a very concise http(s) server with raw python.
It works with bytes for speed and handles a lot of tricky edge cases I couldn't find in other implementations (like request paths that were over 16k bytes long) that I needed for my frontend. It has microsecond-level logging, a packet proxy, and a supervisor, all as separate binaries that interact.
1 comment
[ 2.6 ms ] story [ 15.3 ms ] threadI've implemented something similar for a pet project, trying to make a very concise http(s) server with raw python.
It works with bytes for speed and handles a lot of tricky edge cases I couldn't find in other implementations (like request paths that were over 16k bytes long) that I needed for my frontend. It has microsecond-level logging, a packet proxy, and a supervisor, all as separate binaries that interact.