- ConnectionConfig (webserver) Configuration
Configuration options
Optional configuration options
| key | type | default value | description |
|---|---|---|---|
connect-timeout | Duration | PT10S | Connect timeout. Default is @return connect timeout |
keep-alive | boolean | true | Configure socket keep alive. Default is @return keep alive @see java.net.StandardSocketOptions#SO_KEEPALIVE |
read-timeout | Duration | PT30S | Read timeout. Default is @return read timeout |
receive-buffer-size | int | 32768 | Socket receive buffer size. Default is @return buffer size, in bytes @see java.net.StandardSocketOptions#SO_RCVBUF |
reuse-address | boolean | true | Socket reuse address. Default is @return whether to reuse address @see java.net.StandardSocketOptions#SO_REUSEADDR |
send-buffer-size | int | 32768 | Socket send buffer size. Default is @return buffer size, in bytes @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 @return whether to use TCP_NODELAY, defaults to `false` @see java.net.StandardSocketOptions#TCP_NODELAY |