simple code cleanup in http-file.c

partial code to support select
This commit is contained in:
2023-11-20 02:30:38 +09:00
parent 098bb7b3d6
commit de5eb613ca
4 changed files with 52 additions and 7 deletions

View File

@@ -69,6 +69,14 @@ struct hio_sys_mux_t
int ctrlp[2];
};
#elif defined(USE_SELECT)
struct hio_sys_mux_t
{
fd_set rfds;
fd_set wfds;
};
#elif defined(USE_KQUEUE)
struct hio_sys_mux_t