[MEDIUM] updated all files to use EV_FD_*
Removed the temporary dirty hack.
diff --git a/src/backend.c b/src/backend.c
index ff02443..0eb97ed 100644
--- a/src/backend.c
+++ b/src/backend.c
@@ -532,13 +532,7 @@
fdtab[fd].cb[DIR_WR].f = &stream_sock_write;
fdtab[fd].cb[DIR_WR].b = s->req;
- MY_FD_SET(fd, StaticWriteEvent); /* for connect status */
-#if defined(DEBUG_FULL) && defined(ENABLE_EPOLL)
- if (PrevReadEvent) {
- assert(!(MY_FD_ISSET(fd, PrevReadEvent)));
- assert(!(MY_FD_ISSET(fd, PrevWriteEvent)));
- }
-#endif
+ EV_FD_SET(fd, DIR_WR); /* for connect status */
fd_insert(fd);
if (s->srv) {