diff proxy_request_buffering.t @ 545:dbf8fb0f3d30

Tests: fixed unbuffered request body tests. In particular, made sure that the whole request body is read on backend.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 08 Apr 2015 20:16:40 +0300
parents e7e3ced702f5
children 907e89fba9c3
line wrap: on
line diff
--- a/proxy_request_buffering.t	Tue Apr 07 16:45:14 2015 +0300
+++ b/proxy_request_buffering.t	Wed Apr 08 20:16:40 2015 +0300
@@ -80,7 +80,7 @@
         server_name  localhost;
 
         location / {
-            return 204;
+            proxy_pass http://127.0.0.1:8080/discard;
         }
         location /404 { }
     }