SocketOptions

<h1> SocketOptions</h1>

 

<h2>Name</h2>

SocketOptions -- Tune socket-level options

 

<h2>Synopsis</h2>

SocketOptions [ <code class="OPTION">[maxseg <size>] [rcvbuf <size>] [sndbuf <size>]</code>]

 

Default

</dt><dd>

None

</dd><dt>

Context

</dt><dd>

"server config", <VirtualHost>

</dd><dt>

Module

</dt><dd>

mod_core

</dd><dt>

Compatibility

</dt><dd>

1.2.9rc1 and later

</dd></dl>

 

<h2>Description</h2>

The rcvbuf and sndbuf parameters are used for setting the TCP send/receive window sizes. The maxseg parameter is used for setting a MSS (Maximum Segment Size) via setsockopt(2)'s TCP_MAXSEG option. If the MSS is larger than the interface's MTU, it is ignored and has no effect.

If the send/receive window size is increased, it is helpful for performance to increase the internal buffer size. See the --enable-buffer-size argument to ./configure.