mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix FPM tester conflict
This commit is contained in:
parent
f3c357c446
commit
e3034dba3e
1 changed files with 2 additions and 9 deletions
|
@ -619,12 +619,9 @@ class Tester
|
|||
string $errorMessage = null,
|
||||
bool $connKeepAlive = false,
|
||||
string $scriptFilename = null,
|
||||
<<<<<<< HEAD
|
||||
string $stdin = null
|
||||
=======
|
||||
string $stdin = null,
|
||||
bool $expectError = false,
|
||||
int $readLimit = -1,
|
||||
>>>>>>> PHP-8.1
|
||||
) {
|
||||
if ($this->hasError()) {
|
||||
return new Response(null, true);
|
||||
|
@ -634,11 +631,7 @@ class Tester
|
|||
|
||||
try {
|
||||
$this->response = new Response(
|
||||
<<<<<<< HEAD
|
||||
$this->getClient($address, $connKeepAlive)->request_data($params, $stdin)
|
||||
=======
|
||||
$this->getClient($address, $connKeepAlive)->request_data($params, false, $readLimit)
|
||||
>>>>>>> PHP-8.1
|
||||
$this->getClient($address, $connKeepAlive)->request_data($params, $stdin, $readLimit)
|
||||
);
|
||||
if ($expectError) {
|
||||
$this->error('Expected request error but the request was successful');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue