[php-src] PR #23841: sapi/cli: Make the Expect 100-continue abort test wait for the connec…
| From: | devnexen | Date: | Tue, 22 Sep 2026 10:31:07 +0000 |
| Subject: | [php-src] PR #23841: sapi/cli: Make the Expect 100-continue abort test wait for the connec… | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38710@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23841
Author: devnexen
…tion
The test resets the connection as soon as it is opened, so the reset could reach the server while
the connection was still in the listen backlog. The server then never saw the request and the
expected error was never logged.
Complete a request on a second connection first: the accept queue is FIFO, so a response on the
later connection means the earlier one has been accepted, and the reset is guaranteed to hit an
established connection.