mirror of
https://gitee.com/openharmony/startup_init
synced 2024-11-23 08:09:59 +00:00
commit
a66ae544f8
@ -128,7 +128,7 @@ static LE_STATUS RunLoop_(const EventLoop *loop)
|
||||
ProcessEvent(loop, epoll->waitEvents[index].data.fd, EVENT_WRITE);
|
||||
}
|
||||
if (epoll->waitEvents[index].events & (EPOLLERR | EPOLLHUP)) {
|
||||
LE_LOGV("RunLoop_ fd:%d, error:%d", epoll->waitEvents[index].data.fd, errno);
|
||||
LE_LOGW("RunLoop_ fd:%d, error:%d", epoll->waitEvents[index].data.fd, errno);
|
||||
ProcessEvent(loop, epoll->waitEvents[index].data.fd, EVENT_ERROR);
|
||||
}
|
||||
}
|
||||
|
@ -113,7 +113,7 @@ static LE_STATUS HandleStreamEvent_(const LoopHandle loopHandle, const TaskHandl
|
||||
static LE_STATUS HandleClientEvent_(const LoopHandle loopHandle, const TaskHandle handle, uint32_t oper)
|
||||
{
|
||||
StreamClientTask *client = (StreamClientTask *)handle;
|
||||
LE_LOGV("HandleClientEvent_ fd:%d oper 0x%x", GetSocketFd(handle), oper);
|
||||
LE_LOGI("HandleClientEvent_ fd:%d oper 0x%x", GetSocketFd(handle), oper);
|
||||
|
||||
LE_STATUS status = LE_SUCCESS;
|
||||
if (LE_TEST_FLAGS(oper, EVENT_WRITE)) {
|
||||
|
Loading…
Reference in New Issue
Block a user