You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside HandleEpollEvent function,
Upon EPOLLOUT, if EAGAIN/EWOULDBLOCK occurs, the client fd is being readded to epoll list,
but shouldn't it be just modified as done while doing recv?
Also is it required to do this? or can we just skip this part without doing any modification to interest list and retry when EAGAIN/EWOULDBLOCK happens?
Thanks in advance,
--
Thanks a lot for opensourcing this project :)
The text was updated successfully, but these errors were encountered:
Inside
HandleEpollEvent
function,Upon EPOLLOUT, if
EAGAIN/EWOULDBLOCK
occurs, the client fd is being readded to epoll list,but shouldn't it be just modified as done while doing
recv
?EPOLLOUT
http-server/src/http_server.cc
Lines 206 to 207 in 1c17136
EPOLLIN
http-server/src/http_server.cc
Lines 180 to 183 in 1c17136
Also is it required to do this? or can we just skip this part without doing any modification to interest list and retry when EAGAIN/EWOULDBLOCK happens?
Thanks in advance,
--
Thanks a lot for opensourcing this project :)
The text was updated successfully, but these errors were encountered: