]> granicus.if.org Git - apache/commitdiff
Add a comment about the passoff logic.
authorAaron Bannert <aaron@apache.org>
Wed, 19 Dec 2001 01:22:03 +0000 (01:22 +0000)
committerAaron Bannert <aaron@apache.org>
Wed, 19 Dec 2001 01:22:03 +0000 (01:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92526 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/experimental/perchild/perchild.c
server/mpm/perchild/perchild.c

index f942b6dfc4ae3c8820a4fe121a0203376038d53f..8cb0f84c1c401acdeb01c4d6f9322a83a1819cf4 100644 (file)
@@ -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,
index f942b6dfc4ae3c8820a4fe121a0203376038d53f..8cb0f84c1c401acdeb01c4d6f9322a83a1819cf4 100644 (file)
@@ -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,