mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-29 10:17:39 +08:00
Added Premature end of data
into DetectsLostConnections
. (#6763)
This commit is contained in:
parent
959fb8cf0d
commit
6598a22d87
@ -1,4 +1,20 @@
|
||||
# v3.0.47 - TBD
|
||||
# v3.0.49 - 2024-05-16
|
||||
|
||||
## Added
|
||||
|
||||
- [#6764](https://github.com/hyperf/hyperf/pull/6764) Added `Premature end of data` into `DetectsLostConnections`.
|
||||
|
||||
# v3.0.48 - 2024-04-17
|
||||
|
||||
## Fixed
|
||||
|
||||
- [#6693](https://github.com/hyperf/hyperf/pull/6693) Fixed bug that socket-io cannot parse data with `?` but without `query`.
|
||||
|
||||
# v3.0.47 - 2024-01-11
|
||||
|
||||
## Optimized
|
||||
|
||||
- [#6455](https://github.com/hyperf/hyperf/pull/6455) Optimized code of Hyperf\SocketIOServer\Parser\Decoder::decode().
|
||||
|
||||
# v3.0.46 - 2023-11-30
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
# v3.1.23 - TBD
|
||||
|
||||
## Added
|
||||
|
||||
- [#6763](https://github.com/hyperf/hyperf/pull/6763) Added `Premature end of data` into `DetectsLostConnections`.
|
||||
|
||||
# v3.1.22 - 2024-05-16
|
||||
|
||||
## Fixed
|
||||
|
@ -1,5 +1,23 @@
|
||||
# Changelogs
|
||||
|
||||
# v3.0.49 - 2024-05-16
|
||||
|
||||
## Added
|
||||
|
||||
- [#6764](https://github.com/hyperf/hyperf/pull/6764) Added `Premature end of data` into `DetectsLostConnections`.
|
||||
|
||||
# v3.0.48 - 2024-04-17
|
||||
|
||||
## Fixed
|
||||
|
||||
- [#6693](https://github.com/hyperf/hyperf/pull/6693) Fixed bug that socket-io cannot parse data with `?` but without `query`.
|
||||
|
||||
# v3.0.47 - 2024-01-11
|
||||
|
||||
## Optimized
|
||||
|
||||
- [#6455](https://github.com/hyperf/hyperf/pull/6455) Optimized code of Hyperf\SocketIOServer\Parser\Decoder::decode().
|
||||
|
||||
# v3.0.46 - 2023-11-30
|
||||
|
||||
## Fixed
|
||||
|
@ -1,8 +1,26 @@
|
||||
# 版本更新记录
|
||||
|
||||
# v3.0.49 - 2024-05-16
|
||||
|
||||
## Added
|
||||
|
||||
- [#6764](https://github.com/hyperf/hyperf/pull/6764) 当遇到 `Premature end of data` 错误时,则认为当前数据库连接不可用,下次从连接池中取出来时,会被重连。
|
||||
|
||||
# v3.0.48 - 2024-04-17
|
||||
|
||||
## 修复
|
||||
|
||||
- [#6693](https://github.com/hyperf/hyperf/pull/6693) 修复使用 `socket-io` 时,如果没有传入 `query` 会在 `data` 中存在 `?` 的情况下解析出错的问题。
|
||||
|
||||
# v3.0.47 - 2024-01-11
|
||||
|
||||
## 优化
|
||||
|
||||
- [#6455](https://github.com/hyperf/hyperf/pull/6455) 优化 `Hyperf\SocketIOServer\Parser\Decoder::decode()` 的代码实现。
|
||||
|
||||
# v3.0.46 - 2023-11-30
|
||||
|
||||
## Fixed
|
||||
## 修复
|
||||
|
||||
- [#6321](https://github.com/hyperf/hyperf/pull/6321) 修复使用 `tracer` 组件时,`jaeger` 无法正确展示 `HTTP` 状态码的问题。
|
||||
|
||||
|
@ -52,6 +52,8 @@ trait DetectsLostConnections
|
||||
// SSL: Connection timed out
|
||||
// SQLSTATE[HY000] [2002] Connection timed out
|
||||
'timed out',
|
||||
// PDOStatement::execute(): Premature end of data
|
||||
'Premature end of data',
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user