From: Paul Querna Date: Sun, 28 Jun 2009 08:30:07 +0000 (+0000) Subject: * server/mpm/simple/simple_run.c X-Git-Tag: 2.3.3~489 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d9272cd922675dcbe4af593bde8637bd43c7451;p=thirdparty%2Fapache%2Fhttpd.git * server/mpm/simple/simple_run.c (simple_setup_pollcb): If the pollset was created successfully, break out of the loop :) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@789071 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/simple/simple_run.c b/server/mpm/simple/simple_run.c index a1864ce671d..0b3246e5411 100644 --- a/server/mpm/simple/simple_run.c +++ b/server/mpm/simple/simple_run.c @@ -262,6 +262,9 @@ static int simple_setup_pollcb(simple_core_t * sc) /* 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,