]> err.no Git - varnish/commitdiff
Use POLLIN instead of POLLRDNORM
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 17 Jun 2008 08:57:46 +0000 (08:57 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 17 Jun 2008 08:57:46 +0000 (08:57 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2720 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishtest/vtc_http.c

index 6cbe464605fd64768cd79ccc95dbf99be2d31a0e..80e693618e51b8a12c6781841649a0e05d736bed 100644 (file)
@@ -234,7 +234,7 @@ http_rxhdr(struct http *hp)
        l = 0;
        while (1) {
                pfd[0].fd = hp->fd;
-               pfd[0].events = POLLRDNORM;
+               pfd[0].events = POLLIN;
                pfd[0].revents = 0;
                i = poll(pfd, 1, hp->timeout);
                assert(i > 0);