[ruby-core:70662] Re: [Ruby trunk - Feature #11507] [Open] Net::HTTP should use TCP_CORK or TCP_NOPUSH to avoid fragmenting packets

From: Eric Wong <normalperson@...>
Date: 2015-09-04 10:22:44 UTC
List: ruby-core #70662
I hoped to have time for something similar along these lines.
On Linux, the MSG_MORE flag with send(2) is superior to TCP_CORK
as it does not require extra setsockopt syscalls.

Unfortunately it involves more refactoring and abstraction to work with
non-Linux; and I'm not sure how it would work for HTTPS...

I'm not sure if TCP_CORK/TCP_NOPUSH would work at all for HTTPS, either.

/end braindump

In This Thread