MAJOR: fd: replace all EV_FD_* macros with new fd_*_* inline calls
These functions have a more explicity meaning and will offer provisions
for explicit polling.
EV_FD_ISSET() has been left for now as it is still in use in checks.
diff --git a/src/frontend.c b/src/frontend.c
index 63a2c1f..82699dc 100644
--- a/src/frontend.c
+++ b/src/frontend.c
@@ -212,7 +212,7 @@
stream_int_retnclose(&s->si[0], &msg); /* forge a 200 response */
s->req->analysers = 0;
s->task->expire = s->rep->wex;
- EV_FD_CLR(cfd, DIR_RD);
+ fd_stop_recv(cfd);
}
else if (unlikely(s->fe->mode == PR_MODE_HEALTH)) { /* health check mode, no client reading */
struct chunk msg;
@@ -220,7 +220,7 @@
stream_int_retnclose(&s->si[0], &msg); /* forge an "OK" response */
s->req->analysers = 0;
s->task->expire = s->rep->wex;
- EV_FD_CLR(cfd, DIR_RD);
+ fd_stop_recv(cfd);
}
/* everything's OK, let's go on */
return 1;