Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B64F319361 for ; Tue, 1 Mar 2016 22:35:48 +0000 (UTC) Received: (qmail 27114 invoked by uid 500); 1 Mar 2016 22:35:43 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 27039 invoked by uid 500); 1 Mar 2016 22:35:43 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 27030 invoked by uid 99); 1 Mar 2016 22:35:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2016 22:35:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 135C9C396C for ; Tue, 1 Mar 2016 22:35:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.799 X-Spam-Level: * X-Spam-Status: No, score=1.799 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id HLBsJWReLTi6 for ; Tue, 1 Mar 2016 22:35:42 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 552FF5FCD1 for ; Tue, 1 Mar 2016 22:35:33 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 513DEE0ECD for ; Tue, 1 Mar 2016 22:33:24 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 586EF3A024F for ; Tue, 1 Mar 2016 22:33:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1733176 - in /httpd/httpd/trunk/server/mpm: motorz/motorz.c simple/simple_api.c Date: Tue, 01 Mar 2016 22:33:24 -0000 To: cvs@httpd.apache.org From: ylavic@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20160301223324.586EF3A024F@svn01-us-west.apache.org> Author: ylavic Date: Tue Mar 1 22:33:24 2016 New Revision: 1733176 URL: http://svn.apache.org/viewvc?rev=1733176&view=rev Log: mpms: follow up to r1629925: more error reports. motorz and simple cases (not in 2.4.x, for now). Modified: httpd/httpd/trunk/server/mpm/motorz/motorz.c httpd/httpd/trunk/server/mpm/simple/simple_api.c Modified: httpd/httpd/trunk/server/mpm/motorz/motorz.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/motorz/motorz.c?rev=1733176&r1=1733175&r2=1733176&view=diff ============================================================================== --- httpd/httpd/trunk/server/mpm/motorz/motorz.c (original) +++ httpd/httpd/trunk/server/mpm/motorz/motorz.c Tue Mar 1 22:33:24 2016 @@ -1536,7 +1536,7 @@ static int motorz_open_logs(apr_pool_t * ap_log_error(APLOG_MARK, APLOG_ALERT | level_flags, 0, (startup ? NULL : s), APLOGNO(03275) "no listening sockets available, shutting down"); - return DONE; + return !OK; } if (one_process) { @@ -1551,7 +1551,7 @@ static int motorz_open_logs(apr_pool_t * ap_log_error(APLOG_MARK, APLOG_CRIT | level_flags, rv, (startup ? NULL : s), APLOGNO(03276) "could not duplicate listeners"); - return DONE; + return !OK; } all_buckets = apr_pcalloc(pconf, num_buckets * sizeof(motorz_child_bucket)); @@ -1560,7 +1560,7 @@ static int motorz_open_logs(apr_pool_t * ap_log_error(APLOG_MARK, APLOG_CRIT | level_flags, rv, (startup ? NULL : s), APLOGNO(03277) "could not open pipe-of-death"); - return DONE; + return !OK; } /* Initialize cross-process accept lock (safe accept needed only) */ if ((rv = SAFE_ACCEPT((apr_snprintf(id, sizeof id, "%i", i), @@ -1570,7 +1570,7 @@ static int motorz_open_logs(apr_pool_t * ap_log_error(APLOG_MARK, APLOG_CRIT | level_flags, rv, (startup ? NULL : s), APLOGNO(03278) "could not create accept mutex"); - return DONE; + return !OK; } all_buckets[i].listeners = listen_buckets[i]; } Modified: httpd/httpd/trunk/server/mpm/simple/simple_api.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/simple/simple_api.c?rev=1733176&r1=1733175&r2=1733176&view=diff ============================================================================== --- httpd/httpd/trunk/server/mpm/simple/simple_api.c (original) +++ httpd/httpd/trunk/server/mpm/simple/simple_api.c Tue Mar 1 22:33:24 2016 @@ -115,7 +115,7 @@ simple_open_logs(apr_pool_t * p, ap_log_error(APLOG_MARK, APLOG_ALERT, 0, s, APLOGNO(00256) "simple_open_logs: no listening sockets available, shutting down"); - return DONE; + return !OK; } return OK;