commit | 0272ba349c09b38c51ad20909555db21c707e773 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Sun Apr 26 03:54:40 2009 +0400 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Sun Apr 26 03:54:40 2009 +0400 |
tree | 29a2ed41cdb04c914198d36f76e38e10f8b6f67d | |
parent | c4500d4a46c5156e5170599ab0dcee17372455b9 [diff] [blame] |
Tests: proxy_store leaving temporary files bug test. It shouldn't even if client closed prematurely connection.
diff --git a/lib/Test/Nginx.pm b/lib/Test/Nginx.pm index ed2da14..5986468 100644 --- a/lib/Test/Nginx.pm +++ b/lib/Test/Nginx.pm
@@ -260,6 +260,7 @@ $s->print($request); local $/; select undef, undef, undef, $extra{sleep} if $extra{sleep}; + return '' if $extra{aborted}; $reply = $s->getline(); log_in($reply); alarm(0);