If idleConnectionTimeout is exceeded no response is returned
robfletcher opened this issue · 3 comments
robfletcher commented
I would expect to get a 504 but instead the connection is just terminating. Is there another way to specify the time the proxy should wait for a response from the target server?
oxtoacart commented
@robfletcher Good catch.
As for setting the timeout - I believe that the option you want is HttpProxyServerBootstrap.withIdleConnectionTimeout()
robfletcher commented
That's what I'm using. Just wanted to check it's the right thing.
oxtoacart commented
Yep. I think as part of fixing the missing 504 I might break this into two settings, one for inbound and one for outbound connections.