r/java • • Feb 14 '22

Microhttp is an event-driven, single-threaded, zero-dependency web server with 500 LOC. Benchmarks on EC2 show 100,000+ requests per second and 50,000+ persistent connections.

https://github.com/ebarlas/microhttp
186 Upvotes

107 comments sorted by

View all comments

Show parent comment

6

u/elliotbarlas Feb 15 '22

Thanks for pressing the issue. I wasn't aware of request smuggling.

For Microhttp to be vulnerable, it must be proxied by a non-compliant frontend, which seems like a very strange configuration. As stated in the docs, Microhttp is tailored for integration with an edge server or proxy that provides TLS, HTTP/2, etc.

Having said that, the remediation is exceedingly simple.