diff options
author | Eric Covener <covener@apache.org> | 2017-01-25 23:23:43 +0100 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2017-01-25 23:23:43 +0100 |
commit | f05f006b854db6586be87179efad30b9a3b37ff8 (patch) | |
tree | 41157fcf3e8af2754339fb2a9ddb5643c30468d8 /server/scoreboard.c | |
parent | documentation rebuild (diff) | |
download | apache2-f05f006b854db6586be87179efad30b9a3b37ff8.tar.xz apache2-f05f006b854db6586be87179efad30b9a3b37ff8.zip |
PR60647: ACC per connection not available w/ event MPM
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1780280 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/scoreboard.c')
-rw-r--r-- | server/scoreboard.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/server/scoreboard.c b/server/scoreboard.c index 36fe995cbe..6c0d024d9e 100644 --- a/server/scoreboard.c +++ b/server/scoreboard.c @@ -364,6 +364,17 @@ AP_DECLARE(int) ap_exists_scoreboard_image(void) return (ap_scoreboard_image ? 1 : 0); } +AP_DECLARE(void) ap_set_conn_count(ap_sb_handle_t *sb, request_rec *r, unsigned short conn_count) +{ + worker_score *ws; + + if (!sb) + return; + + ws = &ap_scoreboard_image->servers[sb->child_num][sb->thread_num]; + ws->conn_count = conn_count; +} + AP_DECLARE(void) ap_increment_counts(ap_sb_handle_t *sb, request_rec *r) { worker_score *ws; |