VPS侦探论坛

 找回密码
 注册
查看: 3048|回复: 2
打印 上一主题 下一主题

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

[复制链接]
跳转到指定楼层
1#
发表于 2019-9-12 13:17:07 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

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

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

美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
2#
发表于 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
3#
 楼主| 发表于 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, 2026-3-6 09:57 , Processed in 0.026620 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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