From: Greg Ames Date: Wed, 15 Apr 2009 18:52:39 +0000 (+0000) Subject: no longer amusing. X-Git-Tag: 2.3.3~721 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f9554d542d0fe24f51039fe0ee522ea73e5ee644;p=thirdparty%2Fapache%2Fhttpd.git no longer amusing. I'll still pay off if somebody does it legitimately, but I haven't been to Apachecon in ages so we'll have to work out a different delivery mechanism. With the stability of the 2.0.x and 2.2.x releases and Moore's Law in effect for the last decade, it might be possible... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@765305 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c index 84bd2a68310..630121adbc5 100644 --- a/server/mpm/event/event.c +++ b/server/mpm/event/event.c @@ -772,17 +772,6 @@ static void check_infinite_requests(void) signal_threads(ST_GRACEFUL); } else { - /* wow! if you're executing this code, you may have set a record. - * either this child process has served over 2 billion requests, or - * you're running a threaded 2.0 on a 16 bit machine. - * - * I'll buy pizza and beers at Apachecon for the first person to do - * the former without cheating (dorking with INT_MAX, or running with - * uncommitted performance patches, for example). - * - * for the latter case, you probably deserve a beer too. Greg Ames - */ - requests_this_child = INT_MAX; /* keep going */ } } diff --git a/server/mpm/worker/worker.c b/server/mpm/worker/worker.c index 45840328b87..a5994d0c2d5 100644 --- a/server/mpm/worker/worker.c +++ b/server/mpm/worker/worker.c @@ -571,17 +571,6 @@ static void check_infinite_requests(void) signal_threads(ST_GRACEFUL); } else { - /* wow! if you're executing this code, you may have set a record. - * either this child process has served over 2 billion requests, or - * you're running a threaded 2.0 on a 16 bit machine. - * - * I'll buy pizza and beers at Apachecon for the first person to do - * the former without cheating (dorking with INT_MAX, or running with - * uncommitted performance patches, for example). - * - * for the latter case, you probably deserve a beer too. Greg Ames - */ - requests_this_child = INT_MAX; /* keep going */ } }