ap_filter_t *f;
ap_filter_rec_t *fg;
+ if (strncasecmp(url, "fd://", 5) == 0) {
+ url += 5;
+ }
+ else {
+ return DECLINED;
+ }
+
+ rv = get_socket_from_path(r, r->pool, url, &sock);
+
+ if (rv != APR_SUCCESS) {
+ ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
+ "proxy: FD: Failed to connect to '%s' %d xxx",
+ url, rv);
+ return HTTP_INTERNAL_SERVER_ERROR;
+ }
+
fg = ap_get_output_filter_handle("HTTP_HEADER");
close(mop_fd);
}
- if (strncasecmp(url, "fd://", 5) == 0) {
- url += 5;
- }
- else {
- return DECLINED;
- }
-
- rv = get_socket_from_path(r, r->pool, url, &sock);
-
- if (rv != APR_SUCCESS) {
- ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
- "proxy: FD: Failed to connect to '%s' %d xxx",
- url, rv);
- return HTTP_INTERNAL_SERVER_ERROR;
- }
-
/* create a couple of sockets and pass one to the client for headers and so on */
if (socketpair(AF_UNIX, SOCK_STREAM, 0, ctrlrawsock)) {
ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,