Skip to content
This repository was archived by the owner on Jun 9, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mod_http2/h2_mplx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ static void s_mplx_be_happy(h2_mplx *m, conn_rec *c, h2_conn_ctx_t *conn_ctx)
m->last_mood_change = now;
m->irritations_since = 0;
ap_log_cerror(APLOG_MARK, APLOG_TRACE1, 0, c,
H2_MPLX_MSG(m, "mood update, increasing worker limit "
H2_MPLX_MSG(m, "mood update, increasing worker limit"
"to %d, processing %d right now"),
m->processing_limit, m->processing_count);
}
Expand Down Expand Up @@ -1263,7 +1263,7 @@ static apr_status_t mplx_pollset_poll(h2_mplx *m, apr_interval_time_t timeout,
if (APR_SUCCESS != rv) {
if (APR_STATUS_IS_TIMEUP(rv)) {
ap_log_cerror(APLOG_MARK, APLOG_TRACE2, 0, m->c1,
H2_MPLX_MSG(m, "polling timed out"));
H2_MPLX_MSG(m, "polling timed out "));
}
else {
ap_log_cerror(APLOG_MARK, APLOG_ERR, rv, m->c1, APLOGNO(10310) \
Expand Down
4 changes: 2 additions & 2 deletions mod_http2/h2_protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const char *H2_MAGIC_TOKEN = "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n";
/*******************************************************************************
* HTTP/2 error stuff
*/
static const char *h2_err_descr[] = {
static const char *const h2_err_descr[] = {
"no error", /* 0x0 */
"protocol error",
"internal error",
Expand Down Expand Up @@ -91,7 +91,7 @@ const char *h2_protocol_err_description(unsigned int h2_error)
* Black Listed Ciphers from RFC 7549 Appendix A
*
*/
static const char *RFC7540_names[] = {
static const char *const RFC7540_names[] = {
/* ciphers with NULL encrpytion */
"NULL-MD5", /* TLS_NULL_WITH_NULL_NULL */
/* same */ /* TLS_RSA_WITH_NULL_MD5 */
Expand Down
2 changes: 1 addition & 1 deletion mod_http2/h2_proxy_session.c
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ static apr_status_t session_shutdown(h2_proxy_session *session, int reason,
}


static const char *StateNames[] = {
static const char *const StateNames[] = {
"INIT", /* H2_PROXYS_ST_INIT */
"DONE", /* H2_PROXYS_ST_DONE */
"IDLE", /* H2_PROXYS_ST_IDLE */
Expand Down
2 changes: 1 addition & 1 deletion mod_http2/h2_session.c
Original file line number Diff line number Diff line change
Expand Up @@ -1416,7 +1416,7 @@ static void on_stream_output(void *ctx, h2_stream *stream)
}


static const char *StateNames[] = {
static const char *const StateNames[] = {
"INIT", /* H2_SESSION_ST_INIT */
"DONE", /* H2_SESSION_ST_DONE */
"IDLE", /* H2_SESSION_ST_IDLE */
Expand Down
Loading