-
Couldn't load subscription status.
- Fork 41.6k
Closed
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: bugA general bugA general bug
Description
Spring Boot version: 2.1.1
Undertow version: 2.0.16 (Spring Boot's managed dependency)
Setting
server
connection-timeout: whatever
then the autoconfiguration class UndertowWebServerFactoryCustomizer sets this property as socket option
builder.setSocketOption(UndertowOptions.NO_REQUEST_TIMEOUT, (int) connectionTimeout.toMillis())
This is ignored by Undertow since this property is expected to be set in server options. Therefore it should be
builder.setServerOption(UndertowOptions.NO_REQUEST_TIMEOUT, (int) connectionTimeout.toMillis())
see Undertow#start() where is merged a default value for this option with all options set in the builder.
OptionMap serverOptions = OptionMap.builder()
.set(UndertowOptions.NO_REQUEST_TIMEOUT, 60 * 1000)
.addAll(this.serverOptions)
.getMap();
Metadata
Metadata
Assignees
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: bugA general bugA general bug