Commit f780addd authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Silence typical broken client connection messages and move the

interesting ones to shmem


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@353 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent e192d9c0
......@@ -562,9 +562,12 @@ smf_send(struct storage *st, struct sess *sp, struct iovec *iov, int niov, size_
st->len, &sfh, &sent, 0);
if (sent == st->len + liov)
return;
printf("sent i=%d sent=%ju size=%ju liov=%ju errno=%d\n",
i, (uintmax_t)sent, (uintmax_t)st->len, (uintmax_t)liov, errno);
vca_close_session(sp, "remote closed");
if (errno == EPIPE || errno == ENOTCONN)
return;
VSL(SLT_Debug, sp->fd,
"sent i=%d sent=%ju size=%ju liov=%ju errno=%d\n",
i, (uintmax_t)sent, (uintmax_t)st->len, (uintmax_t)liov, errno);
}
/*--------------------------------------------------------------------*/
......
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