Hello!
On Wed, Dec 5, 2012 at 8:11 AM, kindy wrote:
> 我微博说的那个问题,
> 在标准的nginx 1.2.4 中没有问题,
> 但是 ngx_openresty 1.2.4.9 会产生 请求不响应问题。
>
> 最小化配置如下:
> # https://gist.github.com/4216660
>
>
> events {
> worker_connections 1024;
> }
>
>
> http {
> upstream xx {
> server 127.0.0.1:8003;
> server 127.0.0.1:8003;
> }
> server {
> listen 8003;
> return 444;
> }
> server {
> listen 8002;
> location = /t {
> proxy_pass http://xx;
> }
> }
> }
>
> # the request will wait for ever
> # curl -sv 127.0.0.1:8002/t
>
多谢你的报告和最小化用例!
这确实是 openresty 的 upstream_pipelining 补丁引入的一个衰退,刚刚修复了该补丁中的这个问题:
https://github.com/agentzh/ngx_openresty/commit/bb4d9b2
请尝试最新的 ngx_openresty 1.2.4.11rc3 预发布版:
http://agentzh.org/misc/nginx/ngx_openresty-1.2.4.11rc3.tar.gz
同时抄送给 openresty 中文邮件列表 :)
Thanks!
-agentzh