Skip to content

Commit 5940264

Browse files
author
yazhou.yang
committed
change read.me for http2 and quic
1 parent 689ccbd commit 5940264

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -165,23 +165,23 @@ nginx的以下功能模块的相关代码已经阅读,并对其源码及相关
165165

166166
167167
改造点及可疑问题:
168-
===================================
168+
===================================
169169
1. 和后端服务器通过检查套接字连接状态来判断后端服务器是否down机,如果失效则连接下一个服务器。这种存在缺陷,例如如果后端服务器直接拔掉网线或者后端服务器断
170170
电了,则检测套接字是判断不出来的,协议栈需要长时间过后才能判断出,如果关闭掉协议栈的keepalive可能永远检测不出,这时候nginx还是会把客户端请求发往后端服务器,
171171
如果发往后端服务器数据大小很大,可能需要多次write,这时候会由write timeout来判断出后端出现问题。但是如果发往后端数据长度小,则不会添加write定时器,而是通过
172172
写定时器超时来判断,这样不能立刻判断出后端异常,因为读写定时器默认都是60s,参考ngx_http_upstream_send_request,
173-
2.[限流不准确分析](https://github.com/alibaba/tengine/issues/855)<br />
174-
3.
173+
174+
2.[限流不准确分析](https://github.com/alibaba/tengine/issues/855)<br />
175175
176176

177-
http2 quic学习参考:
178-
===================================
179-
libquic goquic编译安装,源码分析注释:https://github.com/y123456yz/reading-and-annotate-quic
180-
nghttp2相关参考:https://github.com/y123456yz/reading-and-annotate-nghttp2
177+
http2 quic学习参考:
178+
===================================
179+
libquic goquic编译安装,源码分析注释:https://github.com/y123456yz/reading-and-annotate-quic
180+
nghttp2相关参考:https://github.com/y123456yz/reading-and-annotate-nghttp2
181181

182182
183183
184-
编译方法:
184+
编译方法:
185185
===================================
186186
步骤1:这里根据需要编译自己的模块
187187
cd nginx-1.9.2

0 commit comments

Comments
 (0)