From: Jeff Trawick Date: Sat, 22 Dec 2001 23:53:49 +0000 (+0000) Subject: fix a nasty bug which periodically led to segfaults trying to X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f1a199bdcdeb251c398c7f31a5da9dfd998cf5b;p=apache fix a nasty bug which periodically led to segfaults trying to access the scoreboard git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92579 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/experimental/perchild/perchild.c b/server/mpm/experimental/perchild/perchild.c index b3cd5cde8b..8519e6f653 100644 --- a/server/mpm/experimental/perchild/perchild.c +++ b/server/mpm/experimental/perchild/perchild.c @@ -552,7 +552,7 @@ static void process_socket(apr_pool_t *p, apr_socket_t *sock, long conn_id) ap_sock_disable_nagle(sock); } - ap_create_sb_handle(&sbh, p, conn_id / HARD_SERVER_LIMIT, thread_num); + ap_create_sb_handle(&sbh, p, conn_id / HARD_THREAD_LIMIT, thread_num); current_conn = ap_run_create_connection(p, ap_server_conf, sock, conn_id, sbh); if (current_conn) { ap_process_connection(current_conn); diff --git a/server/mpm/perchild/perchild.c b/server/mpm/perchild/perchild.c index b3cd5cde8b..8519e6f653 100644 --- a/server/mpm/perchild/perchild.c +++ b/server/mpm/perchild/perchild.c @@ -552,7 +552,7 @@ static void process_socket(apr_pool_t *p, apr_socket_t *sock, long conn_id) ap_sock_disable_nagle(sock); } - ap_create_sb_handle(&sbh, p, conn_id / HARD_SERVER_LIMIT, thread_num); + ap_create_sb_handle(&sbh, p, conn_id / HARD_THREAD_LIMIT, thread_num); current_conn = ap_run_create_connection(p, ap_server_conf, sock, conn_id, sbh); if (current_conn) { ap_process_connection(current_conn);