码头最大时光 [英] Jetty Maxidletime

查看:87
本文介绍了码头最大时光的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么时候触发码头的最长停留时间?

When does maxidletime in jetty get triggered?

推荐答案

maxIdleTime设置将传递到操作系统的Socket处理程序,并成为该套接字的超时值.如果连接的另一端使连接保持活动状态,则该操作系统将永远不会关闭该连接.只要操作系统认为连接仍然处于活动"状态,Jetty的线程就会一直等待.

The maxIdleTime setting is passed to the operating system's Socket handler and becomes the timeout value for that socket. If the other end of the connection keeps the connection alive, the connection will never be closed by the OS. Jetty's Thread will wait for as long as the OS deems the connection to be still 'alive'.

这篇关于码头最大时光的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆