summaryrefslogtreecommitdiffstats
path: root/modules/proxy/proxy_util.c
diff options
context:
space:
mode:
authorChuck Murcko <chuck@apache.org>2001-02-07 06:41:35 +0100
committerChuck Murcko <chuck@apache.org>2001-02-07 06:41:35 +0100
commitc9dc3847d275bcab207f05d476335ca9693319c2 (patch)
tree55169ca60c376a56089bb7416a2786b4e5aff9ee /modules/proxy/proxy_util.c
parentNo longer need to set ap_restart_time here as it's done in (diff)
downloadapache2-c9dc3847d275bcab207f05d476335ca9693319c2.tar.xz
apache2-c9dc3847d275bcab207f05d476335ca9693319c2.zip
Changes to get running on the current codebase
PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88004 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--modules/proxy/proxy_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c
index ed858b98e9..d726202760 100644
--- a/modules/proxy/proxy_util.c
+++ b/modules/proxy/proxy_util.c
@@ -464,6 +464,7 @@ apr_table_t *ap_proxy_read_headers(request_rec *r, char *buffer, int size, conn_
return resp_hdrs;
}
+#if 0
long int ap_proxy_send_fb(proxy_completion *completion, BUFF *f, request_rec *r, ap_cache_el *c)
{
int ok;
@@ -479,7 +480,6 @@ long int ap_proxy_send_fb(proxy_completion *completion, BUFF *f, request_rec *r,
total_bytes_rcvd = 0;
if (c) ap_cache_el_data(c, &cachefp);
-#if 0
#if APR_CHARSET_EBCDIC
/* The cache copy is ASCII, not EBCDIC, even for text/html) */
ap_bsetflag(f, B_ASCII2EBCDIC|B_EBCDIC2ASCII, 0);
@@ -487,7 +487,6 @@ long int ap_proxy_send_fb(proxy_completion *completion, BUFF *f, request_rec *r,
ap_bsetflag(c->fp, B_ASCII2EBCDIC|B_EBCDIC2ASCII, 0);
ap_bsetflag(con->client, B_ASCII2EBCDIC|B_EBCDIC2ASCII, 0);
#endif
-#endif
/* Since we are reading from one buffer and writing to another,
* it is unsafe to do a soft_timeout here, at least until the proxy
@@ -572,6 +571,7 @@ long int ap_proxy_send_fb(proxy_completion *completion, BUFF *f, request_rec *r,
return total_bytes_rcvd;
}
+#endif /* 0, ap_proxy_send_fb */
/*
* Sends response line and headers. Uses the client fd and the