about summary refs log tree commit homepage
path: root/t/t0200-rack-hijack.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-01-22 23:52:14 +0000
committerEric Wong <normalperson@yhbt.net>2013-01-22 23:54:37 +0000
commitfedb5e50829e6dfad30ca18ea525c812eccbec70 (patch)
treef00c797fa7838218128086fa217c92d3d47ab8f1 /t/t0200-rack-hijack.sh
parent705cf5fcf8ccb37deef5d2b922d6d78d34765c5b (diff)
downloadunicorn-fedb5e50829e6dfad30ca18ea525c812eccbec70.tar.gz
Once a connection is hijacked, we ignore it completely and leave
the connection at the mercy of the application.
Diffstat (limited to 't/t0200-rack-hijack.sh')
-rwxr-xr-xt/t0200-rack-hijack.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0200-rack-hijack.sh b/t/t0200-rack-hijack.sh
index 23a9ee4..f772071 100755
--- a/t/t0200-rack-hijack.sh
+++ b/t/t0200-rack-hijack.sh
@@ -9,7 +9,7 @@ t_begin "setup and start" && {
 }
 
 t_begin "check request hijack" && {
-        test "xhijack.OK" = x"$(curl -sSfv http://$listen/hijack_req)"
+        test "xrequest.hijacked" = x"$(curl -sSfv http://$listen/hijack_req)"
 }
 
 t_begin "check response hijack" && {