r->filename = apr_pstrcat(r->pool, "proxy:fd://", path, NULL);
- ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,
- "proxy: FD: set r->filename to %s", r->filename);
+ /* ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,
+ "proxy: FD: set r->filename to %s", r->filename); */
return OK;
}
}
do {
- ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
- "proxy: FD: pre_connect");
+ /* ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
+ "proxy: FD: pre_connect"); */
rv = connect(rawsock, (struct sockaddr*)sa,
sizeof(*sa) /* + strlen(sa->sun_path)*/ );
- ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
- "proxy: FD: post_connect %d", rv);
+ /* ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
+ "proxy: FD: post_connect %d", rv); */
} while (rv == -1 && errno == EINTR);
if ((rv == -1) && (errno == EINPROGRESS || errno == EALREADY)
ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
"proxy: FD: Failed to connect to '%s' %d xxx",
url, rv);
- */
ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
"proxy: FD: get_socket_from_path::START");
+ */
rv = apr_socket_create(&s, AF_UNIX, SOCK_STREAM, 0, p);
fg = ap_get_output_filter_handle("HTTP_HEADER");
-
+ /*
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
"proxy: FD: filter fg: %lx func %lx", fg, ap_http_header_filter);
-
+ */
for (f = r->output_filters ; f != NULL ; f = f->next) {
- ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
- "proxy: FD: filter loop: %lx", f->frec);
+ /* ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
+ "proxy: FD: filter loop: %lx", f->frec);
+ */
if (f->frec == fg) {
+ /*
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
"proxy: FD: filter found, remove it");
+ */
ap_remove_output_filter(f);
break;
}
}
}
+ /*
if ((buf = apr_table_get(r->headers_in, "Host"))) {
ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
"proxy: FD: Host is: [%s]", buf);
}
+ */
/* XXXXX: THIS IS AN EVIL HACK */
/* There should really be a (documented) public API for this ! */