File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,9 @@ public function readLine(): string
74
74
if ($ metas ['timed_out ' ]) {
75
75
throw new TransportException (sprintf ('Connection to "%s" timed out. ' , $ this ->getReadConnectionDescription ()));
76
76
}
77
+ if ($ metas ['eof ' ]) {
78
+ throw new TransportException (sprintf ('Connection to "%s" has been closed unexpectedly. ' , $ this ->getReadConnectionDescription ()));
79
+ }
77
80
}
78
81
79
82
return $ line ;
Original file line number Diff line number Diff line change @@ -74,6 +74,9 @@ public function readLine(): string
74
74
if ($ metas ['timed_out ' ]) {
75
75
throw new TransportException (sprintf ('Connection to "%s" timed out. ' , $ this ->getReadConnectionDescription ()));
76
76
}
77
+ if ($ metas ['eof ' ]) {
78
+ throw new TransportException (sprintf ('Connection to "%s" has been closed unexpectedly. ' , $ this ->getReadConnectionDescription ()));
79
+ }
77
80
}
78
81
79
82
return $ line ;
Original file line number Diff line number Diff line change @@ -74,6 +74,9 @@ public function readLine(): string
74
74
if ($ metas ['timed_out ' ]) {
75
75
throw new TransportException (sprintf ('Connection to "%s" timed out. ' , $ this ->getReadConnectionDescription ()));
76
76
}
77
+ if ($ metas ['eof ' ]) {
78
+ throw new TransportException (sprintf ('Connection to "%s" has been closed unexpectedly. ' , $ this ->getReadConnectionDescription ()));
79
+ }
77
80
}
78
81
79
82
return $ line ;
Original file line number Diff line number Diff line change @@ -74,6 +74,9 @@ public function readLine(): string
74
74
if ($ metas ['timed_out ' ]) {
75
75
throw new TransportException (sprintf ('Connection to "%s" timed out. ' , $ this ->getReadConnectionDescription ()));
76
76
}
77
+ if ($ metas ['eof ' ]) {
78
+ throw new TransportException (sprintf ('Connection to "%s" has been closed unexpectedly. ' , $ this ->getReadConnectionDescription ()));
79
+ }
77
80
}
78
81
79
82
return $ line ;
You can’t perform that action at this time.
0 commit comments