mirror of
https://github.com/curl/curl.git
synced 2026-05-30 06:57:28 +03:00
sockfilt.c: added some debug output to select_ws
This commit is contained in:
parent
234abd9013
commit
c3eeb526ae
1 changed files with 11 additions and 0 deletions
|
|
@ -857,6 +857,17 @@ static int select_ws(int nfds, fd_set *readfds, fd_set *writefds,
|
|||
}
|
||||
}
|
||||
|
||||
for(fds = 0; fds < nfds; fds++) {
|
||||
if(FD_ISSET(fds, readfds))
|
||||
logmsg("select_ws: %d is readable", fds);
|
||||
|
||||
if(FD_ISSET(fds, writefds))
|
||||
logmsg("select_ws: %d is writable", fds);
|
||||
|
||||
if(FD_ISSET(fds, exceptfds))
|
||||
logmsg("select_ws: %d is excepted", fds);
|
||||
}
|
||||
|
||||
for(idx = 0; idx < wsa; idx++) {
|
||||
WSAEventSelect(data[idx].wsasock, NULL, 0);
|
||||
WSACloseEvent(data[idx].wsaevent);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue