diff options
author | Bill Stoddard <stoddard@apache.org> | 2002-10-25 22:58:55 +0200 |
---|---|---|
committer | Bill Stoddard <stoddard@apache.org> | 2002-10-25 22:58:55 +0200 |
commit | 20ea80fcd9200d27eef897ea378b8cf0e4434c0c (patch) | |
tree | 019f5e23dff55304e52d887020fd71bab5fc6b92 /modules/proxy | |
parent | don't apply byte ranges to redirects, error documents, etc. (diff) | |
download | apache2-20ea80fcd9200d27eef897ea378b8cf0e4434c0c.tar.xz apache2-20ea80fcd9200d27eef897ea378b8cf0e4434c0c.zip |
Fix a segfault when the client closes the connection prematurely.
Reported by: Fabio Wakim Trentini
Reviewed by: Bill Stoddard
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97305 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/proxy')
-rw-r--r-- | modules/proxy/proxy_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/proxy/proxy_http.c b/modules/proxy/proxy_http.c index 115251602d..ee80c67d3c 100644 --- a/modules/proxy/proxy_http.c +++ b/modules/proxy/proxy_http.c @@ -374,7 +374,7 @@ apr_status_t ap_proxy_http_create_connection(apr_pool_t *p, request_rec *r, *origin = ap_run_create_connection(c->pool, r->server, p_conn->sock, r->connection->id, r->connection->sbh, c->bucket_alloc); - if (!origin) { + if (!*origin) { /* the peer reset the connection already; ap_run_create_connection() * closed the socket */ |