Sha256: 6581396147ff14c64a327761efefc92e1cf1c9230b18a401dd51a23651a9c9d2

Contents?: true

Size: 1.3 KB

Versions: 1

Compression:

Stored size: 1.3 KB

Contents

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>configure_socket_options (Mongrel::HttpServer)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre>     <span class="ruby-comment cmt"># File lib/mongrel.rb, line 656</span>
656:     <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure_socket_options</span>
657:       <span class="ruby-keyword kw">if</span> <span class="ruby-regexp re">/linux/</span> <span class="ruby-operator">===</span> <span class="ruby-constant">RUBY_PLATFORM</span>
658:         <span class="ruby-comment cmt"># 9 is currently TCP_DEFER_ACCEPT</span>
659:         <span class="ruby-identifier">$tcp_defer_accept_opts</span> = [<span class="ruby-value">9</span>,<span class="ruby-value">1</span>]
660:         <span class="ruby-identifier">$tcp_cork_opts</span> = [<span class="ruby-value">3</span>,<span class="ruby-value">1</span>]
661:       <span class="ruby-keyword kw">end</span>
662:     <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongrel-0.3.13.4 doc/rdoc/classes/Mongrel/HttpServer.src/M000059.html