Commit 750d2652 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make two errormessages slightly different



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4373 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 86eba833
......@@ -337,7 +337,7 @@ http_rxchar_eof(struct http *hp, int n)
pfd[0].revents = 0;
i = poll(pfd, 1, hp->timeout);
if (i <= 0)
vtc_log(hp->vl, 0, "HTTP rx failed (%s)",
vtc_log(hp->vl, 0, "HTTP rx failed (poll: %s)",
strerror(errno));
assert(i > 0);
assert(hp->prxbuf + n < hp->nrxbuf);
......@@ -345,7 +345,7 @@ http_rxchar_eof(struct http *hp, int n)
if (i == 0)
return (i);
if (i <= 0)
vtc_log(hp->vl, 0, "HTTP rx failed (%s)",
vtc_log(hp->vl, 0, "HTTP rx failed (read: %s)",
strerror(errno));
hp->prxbuf += i;
hp->rxbuf[hp->prxbuf] = '\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