I want to try to set the Tomcat connectionUploadTimeout property within Spring Boot 2. I'm getting some random non-reproducible java.net.SocketTimeoutException: null in my server logs.
It's coming from the request input stream, so if I can set this property to a really short duration, then I should be able to replicate it locally.
I've tried
server.disableUploadTimeout=false
server.connectionUploadTimeout=5000
and
server.tomcat.disableUploadTimeout=false
server.tomcat.connectionUploadTimeout=5000
and
server.tomcat.disable-upload-timeout=false
server.tomcat.connection-upload-timeout=5000
but still my 15 seconds requests locally are completing without any time-outs.
The Spring docs are not very helpful here.