httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r789071 - /httpd/httpd/trunk/server/mpm/simple/simple_run.c
Date Sun, 28 Jun 2009 08:30:08 GMT
Author: pquerna
Date: Sun Jun 28 08:30:07 2009
New Revision: 789071

URL: http://svn.apache.org/viewvc?rev=789071&view=rev
Log:
* server/mpm/simple/simple_run.c
    (simple_setup_pollcb): If the pollset was created successfully, break out of the loop
:)

Modified:
    httpd/httpd/trunk/server/mpm/simple/simple_run.c

Modified: httpd/httpd/trunk/server/mpm/simple/simple_run.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/simple/simple_run.c?rev=789071&r1=789070&r2=789071&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/simple/simple_run.c (original)
+++ httpd/httpd/trunk/server/mpm/simple/simple_run.c Sun Jun 28 08:30:07 2009
@@ -262,6 +262,9 @@
         /* pqXXXXX: make size of pollcb configrable or dynamic */
         rv = apr_pollcb_create_ex(&sc->pollcb, 512,
                                   sc->pool, APR_POLLSET_NODEFAULT, good_methods[i]);
+        if (!rv) {
+            break;
+        }
     }
     if (rv) {
         ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL,



Mime
View raw message