summaryrefslogtreecommitdiffstats
path: root/modules/http2/mod_proxy_http2.c
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2016-05-12 17:12:59 +0200
committerStefan Eissing <icing@apache.org>2016-05-12 17:12:59 +0200
commit6804fad5e7e76067073669c994bb59a8c51c587d (patch)
treedac3316c81817c215888480ec54337cd15a3e78d /modules/http2/mod_proxy_http2.c
parentapplied mod_proxy_http2 related cmake biuld changes as proposed by Evgeny Kotkov (diff)
downloadapache2-6804fad5e7e76067073669c994bb59a8c51c587d.tar.xz
apache2-6804fad5e7e76067073669c994bb59a8c51c587d.zip
fix for handling invalid proxy uris and code cleanup provided by Evgeny Kotkov
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1743517 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http2/mod_proxy_http2.c')
-rw-r--r--modules/http2/mod_proxy_http2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/http2/mod_proxy_http2.c b/modules/http2/mod_proxy_http2.c
index 381b31a881..73a87a5d45 100644
--- a/modules/http2/mod_proxy_http2.c
+++ b/modules/http2/mod_proxy_http2.c
@@ -259,7 +259,7 @@ static apr_status_t add_request(h2_proxy_session *session, request_rec *r)
apr_table_setn(r->notes, "proxy-source-port", apr_psprintf(r->pool, "%hu",
ctx->p_conn->connection->local_addr->port));
status = h2_proxy_session_submit(session, url, r);
- if (status != OK) {
+ if (status != APR_SUCCESS) {
ap_log_cerror(APLOG_MARK, APLOG_ERR, status, r->connection, APLOGNO(03351)
"pass request body failed to %pI (%s) from %s (%s)",
ctx->p_conn->addr, ctx->p_conn->hostname ?