SocketOptions

Name

SocketOptions -- Tune socket-level options

Synopsis

SocketOptions [ [maxseg <size>] [rcvbuf <size>] [sndbuf <size>]]

Default

None

Context

"server config", <VirtualHost>

Module

mod_core

Compatibility

1.2.9rc1 and later

Description

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.