Commit d482255c authored by Tollef Fog Heen's avatar Tollef Fog Heen

Merge r3425: Log write errors under SLT_Debug.



git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3629 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 31313779
......@@ -126,6 +126,9 @@ WRK_Flush(struct worker *w)
i = writev(*w->wfd, w->iov, w->niov);
if (i != w->liov)
w->werr++;
WSL(w, SLT_Debug, *w->wfd,
"Write error, len = %d/%d, errno = %s",
i, w->liov, strerror(errno));
}
w->liov = 0;
w->niov = 0;
......
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