[php-src] PR #22606: main/poll: Fix kqueue event buffer overflow in grouped mode

From: Date: Sun, 05 Jul 2026 12:25:11 +0000
Subject: [php-src] PR #22606: main/poll: Fix kqueue event buffer overflow in grouped mode
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-36847@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/22606 Author: bukka Cap each kevent() request at the number of entries that can still be delivered instead of requesting twice the buffer size. Events that are not retrieved (including oneshot and edge-triggered ones) stay pending in the kqueue and are delivered by the next wait, matching the epoll behavior. Merged read+write events can under-fill the buffer, so top up with zero timeout rounds, and base the suitable max events on the filter count so a default sized wait retrieves everything in one call.

« previous php.git-pulls (#36847) next »