From: Aaron Bannert Date: Wed, 19 Dec 2001 01:22:03 +0000 (+0000) Subject: Add a comment about the passoff logic. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3999a8c4bb66c493ab68a688ded7f0e9daeb5888;p=apache Add a comment about the passoff logic. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92526 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/experimental/perchild/perchild.c b/server/mpm/experimental/perchild/perchild.c index f942b6dfc4..8cb0f84c1c 100644 --- a/server/mpm/experimental/perchild/perchild.c +++ b/server/mpm/experimental/perchild/perchild.c @@ -1586,6 +1586,9 @@ static int perchild_post_read(request_rec *r) return OK; } else { + /* sconf is the server config for this vhost, so if our socket + * is not the same that was set in the config, then the request + * needs to be passed to another child. */ if (sconf->sd != child_info_table[child_num].sd) { if (pass_request(r) == -1) { ap_log_error(APLOG_MARK, APLOG_ERR | APLOG_NOERRNO, 0, diff --git a/server/mpm/perchild/perchild.c b/server/mpm/perchild/perchild.c index f942b6dfc4..8cb0f84c1c 100644 --- a/server/mpm/perchild/perchild.c +++ b/server/mpm/perchild/perchild.c @@ -1586,6 +1586,9 @@ static int perchild_post_read(request_rec *r) return OK; } else { + /* sconf is the server config for this vhost, so if our socket + * is not the same that was set in the config, then the request + * needs to be passed to another child. */ if (sconf->sd != child_info_table[child_num].sd) { if (pass_request(r) == -1) { ap_log_error(APLOG_MARK, APLOG_ERR | APLOG_NOERRNO, 0,