Commit cd69b37e authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(write_err_cb): Don't log EPIPE errors.

parent b57fac67
/*
* $Id: connections.c,v 0.105 2003/07/27 14:59:15 ceder Exp $
* $Id: connections.c,v 0.106 2003/07/28 07:52:06 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -706,7 +706,7 @@ write_err_cb(struct isc_mcb *UNUSED(cb_mcb),
void *user)
{
Connection * cp = user;
if (saved_errno != ECONNRESET)
if (saved_errno != ECONNRESET && saved_errno != EPIPE)
kom_log("Failed to write to client %lu from %s: %s\n",
cp->session_no, cp->peer, strerror(saved_errno));
add_to_kill_list(cp);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment