Skip to content

Commit 4cb90cb

Browse files
committed
poll: remove POLLRDBAND mapping from wsapoll
1 parent 0fc9ddb commit 4cb90cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main/poll/poll_backend_wsapoll.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ static uint32_t wsapoll_events_to_native(uint32_t events)
2929
{
3030
uint32_t native = 0;
3131
if (events & PHP_POLL_READ) {
32-
native |= POLLRDNORM | POLLRDBAND;
32+
native |= POLLRDNORM;
3333
}
3434
if (events & PHP_POLL_WRITE) {
3535
native |= POLLWRNORM;
@@ -46,7 +46,7 @@ static uint32_t wsapoll_events_to_native(uint32_t events)
4646
static uint32_t wsapoll_events_from_native(uint32_t native)
4747
{
4848
uint32_t events = 0;
49-
if (native & (POLLRDNORM | POLLRDBAND)) {
49+
if (native & POLLRDNORM) {
5050
events |= PHP_POLL_READ;
5151
}
5252
if (native & POLLWRNORM) {

0 commit comments

Comments
 (0)