2

I want to understand the functionality of read-timeout in a web application running on JBoss / WildFly server.

Following are the changes carried out in standalone.xml file:

<http-listener name="default" socket-binding="http" redirect-socket="https" read-timeout="20000"/>

Also, what is the default value of the attribute if it is not mentioned explicitly?

Anjan Baradwaj
  • 1,219
  • 5
  • 27
  • 54

1 Answers1

2

According to this page

Configure a read timeout for a socket, in milliseconds. If the given amount of time elapses without a successful read taking place, the socket's next read will throw a {@link ReadTimeoutException}.

It also says that it is Nillable so I don't know if null, how wildfly behaves.

Apostolos
  • 10,033
  • 5
  • 24
  • 39