https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112013-09-07T05:23:19ZRuby Issue Tracking SystemRuby master - Feature #8871: Server side TCP fast openhttps://redmine.ruby-lang.org/issues/8871?journal_id=416552013-09-07T05:23:19Znormalperson (Eric Wong)normalperson@yhbt.net
<ul></ul><p>"Glass_saga (Masaki Matsushita)" <a href="mailto:glass.saga@gmail.com" class="email">glass.saga@gmail.com</a> wrote:</p>
<blockquote>
<p><a href="https://bugs.ruby-lang.org/issues/8871" class="external">https://bugs.ruby-lang.org/issues/8871</a></p>
</blockquote>
<blockquote>
<p>I propose that ruby support server side TCP fast open (TFO).<br>
TCP fast open reduces step of the handshake process.</p>
</blockquote>
<p>Yes. It should be an easy change.</p>
<blockquote>
<p>TCP_FASTOPEN = 23<br>
MSG_FASTOPEN = 0x20000000</p>
</blockquote>
<p>I think we only need to add two constants to ext/socket/mkconstants.rb<br>
(I haven't bothered updating my system headers, yet, but it should be<br>
easy to test).</p> Ruby master - Feature #8871: Server side TCP fast openhttps://redmine.ruby-lang.org/issues/8871?journal_id=416582013-09-07T10:41:51Zakr (Akira Tanaka)akr@fsij.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>This issue was solved with changeset r42865.<br>
Masaki, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<ul>
<li>ext/socket/mkconstants.rb (TCP_FASTOPEN): Defined for TCP fast open.<br>
<a href="/issues/8871">[ruby-core:57048]</a> [Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Server side TCP fast open (Closed)" href="https://redmine.ruby-lang.org/issues/8871">#8871</a>] patch by Masaki Matsushita.</li>
</ul>