You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2009/06/28 10:30:08 UTC

svn commit: r789071 - /httpd/httpd/trunk/server/mpm/simple/simple_run.c

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,