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
+++ b/proxy_request_buffering.t
@@ -80,7 +80,7 @@ http {
         server_name  localhost;
 
         location / {
-            return 204;
+            proxy_pass http://127.0.0.1:8080/discard;
         }
         location /404 { }
     }