ConnectionConfig (webserver) Configuration

Type: io.helidon.webserver.ConnectionConfig

Configuration options

Optional configuration options
keytypedefault valuedescription
connect-timeout

Duration

PT10S

Connect timeout. Default is PT10S.

keep-alive

boolean

true

Configure socket keep alive. Default is true.

See java.net.StandardSocketOptions.SO_KEEPALIVE

read-timeout

Duration

PT30S

Read timeout. Default is PT30S

receive-buffer-size

int

32768

Socket receive buffer size. Default is 32768.

See java.net.StandardSocketOptions.SO_RCVBUF

reuse-address

boolean

true

Socket reuse address. Default is true.

See java.net.StandardSocketOptions.SO_REUSEADDR

send-buffer-size

int

32768

Socket send buffer size. Default is 32768.

See java.net.StandardSocketOptions.SO_SNDBUF

tcp-no-delay

boolean

false

Disable Nagle’s algorithm by setting TCP_NODELAY to true. This can result in better performance on Mac or newer linux kernels for some payload types. Default is false.

See java.net.StandardSocketOptions.TCP_NODELAY