From: Aaron Bannert Date: Wed, 19 Dec 2001 01:22:03 +0000 (+0000) Subject: Add a comment about the passoff logic. X-Git-Tag: 2.0.30~168 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=19c039333d2a1730ac3798270c042b999520eb28;p=thirdparty%2Fapache%2Fhttpd.git 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 f942b6dfc4a..8cb0f84c1c4 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 f942b6dfc4a..8cb0f84c1c4 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,