From 7534be6aaa750beb98dbdd2abc39fe042c9e32c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=93=AD=E6=98=95?= <715557344@qq.com> Date: Thu, 16 May 2024 20:49:05 +0800 Subject: [PATCH] Added `Premature end of data` into `DetectsLostConnections`. (#6764) * Added `Premature end of data` into `DetectsLostConnections`. * Update --- src/DetectsLostConnections.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DetectsLostConnections.php b/src/DetectsLostConnections.php index a3bfc68..c405d3a 100644 --- a/src/DetectsLostConnections.php +++ b/src/DetectsLostConnections.php @@ -51,6 +51,8 @@ protected function causedByLostConnection(Throwable $e): bool // SSL: Connection timed out // SQLSTATE[HY000] [2002] Connection timed out 'timed out', + // PDOStatement::execute(): Premature end of data + 'Premature end of data', ]); } }