Skip to content

Commit

Permalink
Added Premature end of data into DetectsLostConnections. (#6765)
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo committed May 16, 2024
1 parent 6105b95 commit b4c8f8e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/DetectsLostConnections.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ protected function causedByLostConnection(Throwable $e)
'Name or service not known',
'ORA-03114',
'Packets out of order. Expected',
'Broken pipe',
'Error reading result',
// PDO::prepare(): Send of 77 bytes failed with errno=110 Operation timed out
// SSL: Handshake timed out
// SSL: Operation timed out
// SSL: Connection timed out
// SQLSTATE[HY000] [2002] Connection timed out
'timed out',
// PDOStatement::execute(): Premature end of data
'Premature end of data',
]);
}
}

0 comments on commit b4c8f8e

Please sign in to comment.