Browse Source

[mod_proxy,mod_scgi] fix truncated error trace

personal/stbuehler/mod-csrf
Glenn Strauss 5 years ago
parent
commit
c66e826978
  1. 2
      src/mod_proxy.c
  2. 2
      src/mod_scgi.c

2
src/mod_proxy.c

@ -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);

2
src/mod_scgi.c

@ -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