surf
surf copied to clipboard
Turn on TCP NO_DELAY by default?
@ericsampson mentioned to me that a lot of http clients turn this on by default.
Some ecosystem stats:
Oh interesting; I vaguely remember TCP_NODELAY existing so that responses don't arrive from the future. But this may mostly be relevant for HTTP servers, less so for clients. The fact that most other clients do this makes it seem like we could probably too!
Yeah, my experience is from .NET and Java, both of which made this the default value for their HTTP client years ago for perf reasons.
Thanks!!
I'd support this change :)