VPS侦探论坛

标题: 请问军哥CENTOS7/lnmp1.5下怎么启用tcp fastopen? [打印本页]

作者: jack338c    时间: 2019-9-12 13:17
标题: 请问军哥CENTOS7/lnmp1.5下怎么启用tcp fastopen?
本帖最后由 jack338c 于 2019-9-12 13:18 编辑

如题,然后怎么来验证已经成功启用tcp fastopen感谢!


作者: licess    时间: 2019-9-12 17:38
首先内核得支持

listen 里加
https://nginx.org/en/docs/http/ngx_http_core_module.html

fastopen=number
enables “TCP Fast Open” for the listening socket (1.5.8) and limits the maximum length for the queue of connections that have not yet completed the three-way handshake.

验证是否启用好像是没有办法
作者: jack338c    时间: 2019-9-15 03:41
licess 发表于 2019-9-12 17:38
首先内核得支持

listen 里加

非常感谢!
我去试试先




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4