Comment by francislavoie

3 years ago

Thanks for the explanation, Russ!

As a maintainer of Caddy, I was wondering if you have an opinion on whether it makes sense to have on for a general purpose HTTP server. Do you think it makes sense for us to change the default in Caddy?

Also, would there be appetite for making it easier to change the mode in an http.Server? It feels like needing to reach too deep to change that when using APIs at a higher level than TCP (although I may have missed some obvious way to set it more easily). For HTTP clients it can obviously be changed easily in the dialer where we have access to the connection early on.

Caddie is likely to serve rpcs right? In an rpc context I doubt it ever really makes sense as latency is typically more important than throughput