tests: make sure mod_proxy doesn't leave running processes (fixes #2435, thx kibi)
In case the proxy instance goes wrong, the clean-up doesn't kill the real instance. So close both instances explicitly in the clean-up phase. Signed-off-by: Cyril Brulebois <kibi@debian.org> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2857 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.32
parent
4002dce596
commit
4f4bcdd3c3
1
NEWS
1
NEWS
|
@ -12,6 +12,7 @@ NEWS
|
|||
* fix :port handling in $HTTP["host"] checks (fixes #2135. thx liming)
|
||||
* network_server_init: fix double free and memleak on error (fixes #2440, thx kyprizel)
|
||||
* detect "x-gzip"/"x-bzip2" as separate encodings, more strict encoding matching (fixes #2443)
|
||||
* tests: make sure mod_proxy doesn't leave running processes (fixes #2435, thx kibi)
|
||||
|
||||
- 1.4.31 - 2012-05-31
|
||||
* [ssl] fix segfault in counting renegotiations for openssl versions without TLSEXT/SNI (thx carpii for reporting)
|
||||
|
|
|
@ -82,5 +82,7 @@ exit 0;
|
|||
cleanup:
|
||||
|
||||
$tf_real->endspawnfcgi($php_child) if $php_child != -1;
|
||||
$tf_real->stop_proc;
|
||||
$tf_proxy->stop_proc;
|
||||
|
||||
die();
|
||||
|
|
Loading…
Reference in New Issue