Skip to content

Commit

Permalink
* scoreboard: more bashing at it
Browse files Browse the repository at this point in the history
  • Loading branch information
x13aisrr committed Feb 15, 2026
1 parent 425f76b commit 4b8e4d9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions mod_http2/h2_c1.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,9 @@ apr_status_t h2_c1_run(conn_rec *c)
H2_SSSN_LOG(APLOGNO(03045), conn_ctx->session,
"process, closing conn"));
c->keepalive = AP_CONN_CLOSE;
ap_update_child_status(c->sbh, SERVER_CLOSING, NULL);
}
else {
c->keepalive = AP_CONN_KEEPALIVE;
ap_update_child_status(c->sbh, SERVER_BUSY_KEEPALIVE, NULL);
}

if (ap_mpm_query(AP_MPMQ_MPM_STATE, &mpm_state)) {
Expand All @@ -163,12 +161,17 @@ apr_status_t h2_c1_run(conn_rec *c)
* See PR 63534.
*/
c->cs->sense = CONN_SENSE_WANT_READ;
ap_update_child_status(c->sbh, SERVER_BUSY_READ, NULL);
}
else {
ap_update_child_status(c->sbh, SERVER_BUSY_KEEPALIVE, NULL);
}
break;
case H2_SESSION_ST_CLEANUP:
case H2_SESSION_ST_DONE:
default:
c->cs->state = CONN_STATE_LINGER;
ap_update_child_status(c->sbh, SERVER_CLOSING, NULL);
break;
}
}
Expand Down

0 comments on commit 4b8e4d9

Please sign in to comment.