码头版本-9.4.8.v20171121
我正在向码头服务器发出请求,它需要很长时间才能发送响应。对我们来说还可以。
我将码头的空闲超时设为9秒。
Jetty不断给出这些例外情况
[s3proxy] DEBUG 07-19 11:33:55.362 Scheduler-1321115948 org.eclipse.jetty.io.IdleTimeout:156 |:: ] SocketChannelEndPoint@1bccc548{/127.0.0.1:63602<->/127.0.0.1:8090,OPEN,fill=-,flush=-,to=9001/9000}{io=0/0,kio=0,kro=1}->HttpConnection@2b389aa6[p=HttpParser{s=END,0 of 0},g=HttpGenerator@562a5b2a{s=START}]=>HttpChannelOverHttp@2b312222{r=1,c=false,a=ASYNC_WAIT,uri=//127.0.0.1:8090/holani/testfilec2e0d109-0dc8-4b72-aaa0-b3b7c7bf57e9} idle timeout check, elapsed: 9001 ms, remaining: -1 ms
[s3proxy] DEBUG 07-19 11:33:55.362 Scheduler-1321115948 org.eclipse.jetty.io.IdleTimeout:163 |:: ] SocketChannelEndPoint@1bccc548{/127.0.0.1:63602<->/127.0.0.1:8090,OPEN,fill=-,flush=-,to=9001/9000}{io=0/0,kio=0,kro=1}->HttpConnection@2b389aa6[p=HttpParser{s=END,0 of 0},g=HttpGenerator@562a5b2a{s=START}]=>HttpChannelOverHttp@2b312222{r=1,c=false,a=ASYNC_WAIT,uri=//127.0.0.1:8090/holani/testfilec2e0d109-0dc8-4b72-aaa0-b3b7c7bf57e9} idle timeout expired
[s3proxy] DEBUG 07-19 11:33:55.362 Scheduler-1321115948 org.eclipse.jetty.io.FillInterest:130 |:: ] onFail FillInterest@6b7ab09f{null}
java.util.concurrent.TimeoutException: Idle timeout expired: 9001/9000 ms
at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:166) [s3-1.5.1.jar:1.5.1]
at org.eclipse.jetty.io.IdleTimeout$1.run(IdleTimeout.java:50) [s3-1.5.1.jar:1.5.1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_172]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_172]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_172]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_172]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_172]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_172]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_172]
但是,一旦我的服务器准备好响应,它就可以正确发送它,并且我的客户端也可以获得正确的响应。
这如何工作?
如果连接已超时,它应该无法正确发送回响应吗?