From 71ecfee987f13ba447abe97cac14274f38ff70f4 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 27 Jul 2010 06:36:07 +0000 Subject: event_machine: fix pipelining of static files EM::FileStreamer writes may be intermingled with the headers in the subsequent response if we enable processing of the second pipelined response right away, so wait until the first response is complete before hitting the second one. This also avoids potential deep stack recursion in the unlikely case where too many requests are pipelined. --- t/t0024-pipelined-sendfile-response.sh | 8 -------- 1 file changed, 8 deletions(-) (limited to 't/t0024-pipelined-sendfile-response.sh') diff --git a/t/t0024-pipelined-sendfile-response.sh b/t/t0024-pipelined-sendfile-response.sh index 2acc243..b0f5d56 100755 --- a/t/t0024-pipelined-sendfile-response.sh +++ b/t/t0024-pipelined-sendfile-response.sh @@ -1,14 +1,6 @@ #!/bin/sh . ./test-lib.sh -case $model in -EventMachine|NeverBlock) - t_info "skipping $T since it's not compatible with $model" - exit 0 - ;; -*) ;; -esac - t_plan 5 "pipelined sendfile response for $model" t_begin "setup and startup" && { -- cgit v1.2.3-24-ge0c7