title: Spring - server.connection-timeout not working
body: <p>In my <code>application.properties</code> file I have...</p>
  
  <pre><code>server.port=8086
  server.connection-timeout=15000
  </code></pre>
  
  <p>I know that the file is being loaded correctly because the server is running on port 8086.</p>
  
  <p>In the application I have a <code>RestController</code></p>
  
  <pre><code>@RestController
  class TestController {
      @GetMapping()
      fun getValues(): ResponseEntity&lt;*&gt; {
          return someLongRunningProcessPossiblyHanging()
      }
  }
  </code></pre>
  
  <p>When I call the endpoint, the request never times out, it just hangs indefinitely.</p>
  
  <p>Am I missing something?</p>
  
  <p><strong>NOTE:</strong> I've also been informed that Tomcat uses this field in minutes, not milliseconds (rather unusual choice IMO). I've tried setting this to <code>server.connection-timeout=1</code> denoting 1 minute, but this didn't work either.</p>
  
  <p><strong>NOTE:</strong> I don't want <em>another</em> HTTP request to cause the previous request to time out, I want each HTTP request to timeout of it's own accord, should too much time elapse to serve the request.</p>