[mod_proxy,mod_scgi] fix truncated error trace

personal/stbuehler/mod-csrf
Glenn Strauss 6 years ago
parent 77509ed087
commit c66e826978

@ -1386,7 +1386,7 @@ static handler_t proxy_write_request(server *srv, handler_ctx *hctx) {
return HANDLER_ERROR;
}
if (socket_error != 0) {
log_error_write(srv, __FILE__, __LINE__, "ss",
log_error_write(srv, __FILE__, __LINE__, "sssd",
"establishing connection failed:", strerror(socket_error),
"port:", hctx->host->port);

@ -1950,7 +1950,7 @@ static handler_t scgi_write_request(server *srv, handler_ctx *hctx) {
if (!hctx->proc->is_local || hctx->conf.debug) {
/* local procs get restarted */
log_error_write(srv, __FILE__, __LINE__, "ss",
log_error_write(srv, __FILE__, __LINE__, "sssd",
"establishing connection failed:", strerror(socket_error),
"port:", hctx->proc->port);
}

Loading…
Cancel
Save