VPS侦探论坛

 找回密码
 注册
查看: 2686|回复: 2

请问军哥CENTOS7/lnmp1.5下怎么启用tcp fastopen?

[复制链接]
发表于 2019-9-12 13:17:07 | 显示全部楼层 |阅读模式

本帖最后由 jack338c 于 2019-9-12 13:18 编辑

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

美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-9-12 17:38:48 | 显示全部楼层


首先内核得支持

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.

验证是否启用好像是没有办法
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2019-9-15 03:41:48 | 显示全部楼层

licess 发表于 2019-9-12 17:38
首先内核得支持

listen 里加

非常感谢!
我去试试先
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-22 12:26 , Processed in 0.025462 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表