Skip to content

Commit

Permalink
Address Ruediger's comment (to squash in "Add/use ap_proxy_determine_…
Browse files Browse the repository at this point in the history
…address()")
  • Loading branch information
ylavic committed Jul 21, 2023
1 parent deb8ab5 commit 52126bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/proxy/mod_proxy_ftp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1136,8 +1136,8 @@ static int proxy_ftp_handler(request_rec *r, proxy_worker *worker,
err = ap_proxy_determine_address("FTP", backend, connectname, connectport,
r, r->server);
if (APR_SUCCESS != err) {
proxy_ftp_cleanup(r, backend);
return HTTP_BAD_GATEWAY;
return ftp_proxyerror(r, backend, HTTP_BAD_GATEWAY,
"Error resolving backend address");
}

/* check if ProxyBlock directive on this host */
Expand Down

0 comments on commit 52126bf

Please sign in to comment.