You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nginx version: nginx/1.5.4
built by gcc 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC)
configure arguments: --add-module=agentzh-echo-nginx-module-4de92b1 --add-module=agentzh-memc-nginx-module-6081fe5 --with-http_addition_module --with-debug
There seems to be some kind of error. Seen on many tests. But first to see it is bugs.t TEST 3
Run test:
TEST_NGINX_BINARY=../objs/nginx prove -r t/bugs.t
Output, (three times actually).
t/bugs.t .. 7/36
# Failed test 'TEST 3: reuse request body - no last chunk found - a
# flush_all
#
# c
# status: 200
#
# a
# exptime:
#
#4
# OK
#
#8
# set foo
#
# c
# status: 201
#
# b
# exptime: 0
#
#8
# STORED
#
#8
# set bar
#
# c
# status: 201
#
# b
# exptime: 0
#
#8
# STORED
#
# '
# at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1214.
# Failed test 'TEST 3: reuse request body - status code ok'
# at /usr/local/share/perl5/Test/Nginx/Socket.pm line 788.
# got: ''
# expected: '200'
# Failed test 'TEST 3: reuse request body - response_body - response is expected'
# at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1076.
# got: undef
# expected: 'flush_all
# status: 200
# exptime:
# OK
# set foo
# status: 201
# exptime: 0
# STORED
# set bar
# status: 201
# exptime: 0
# STORED
# get bar
# status: 200
# exptime:
# Helloget foo
# status: 200
# exptime:
# Hello'
WARNING: TEST 3: reuse request body - 2013/08/30 17:56:12 [alert] 29553#0: *1 writev() failed (22: Invalid argument) while sending to client, client: 127.0.0.1, server: localhost, request: \"POST /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\" at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1002.
WARNING: TEST 3: reuse request body - 2013/08/30 17:56:12 [alert] 29553#0: *6 writev() failed (22: Invalid argument) while sending to client, client: 127.0.0.1, server: localhost, request: \"POST /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\" at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1002.
WARNING: TEST 3: reuse request body - 2013/08/30 17:56:12 [alert] 29553#0: *11 writev() failed (22: Invalid argument) while sending to client, client: 127.0.0.1, server: localhost, request: \"POST /main HTTP/1.1\", subrequest: \"/memc\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\" at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1002.
I bisected and nginx commit to break is:
commit 416b922bd2c285551d195c1f33a3736775ea45e9
Author: Maxim Dounin <mdounin@mdounin.ru>
Date: Thu Jul 25 14:58:11 2013 +0400
Upstream: u->length now defaults to -1 (API change).
That is, by default we assume that response end is signalled by
a connection close. This seems to be better default, and in line
with u->pipe->length behaviour.
Memcached module was modified accordingly.
./configure --add-module=agentzh-echo-nginx-module-4de92b1 --add-module=agentzh-memc-nginx-module-6081fe5 --with-http_addition_module --with-debug
nginx version: nginx/1.5.4
built by gcc 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC)
configure arguments: --add-module=agentzh-echo-nginx-module-4de92b1 --add-module=agentzh-memc-nginx-module-6081fe5 --with-http_addition_module --with-debug
There seems to be some kind of error. Seen on many tests. But first to see it is bugs.t TEST 3
Run test:
Output, (three times actually).
I bisected and nginx commit to break is:
Fix:
The text was updated successfully, but these errors were encountered: