Closed vearne closed 1 week ago
[!CAUTION]
Review failed
The pull request is closed.
The pull request introduces several changes across multiple files. The Makefile
is updated to change the version number from v0.2.4
to v0.2.5
, affecting the VERSION
variable and LDFLAGS
. In the http2
package, the error handling in the deal
method is modified to log warnings instead of errors for specific read failures. Additionally, a new constant MaxWindowSize
is added in tcp_buffer.go
, along with a new function validPackage
to validate TCP packets. Corresponding tests for the validPackage
function are added in tcp_buffer_test.go
.
File | Change Summary |
---|---|
Makefile | Updated VERSION from v0.2.4 to v0.2.5 ; modified LDFLAGS to include the new version. |
http2/http2.go | Changed error logging from slog.Error to slog.Warn in deal method; added warning log in processFrameSetting . |
http2/tcp_buffer.go | Added constant MaxWindowSize (65536); introduced validPackage function for TCP packet validation; modified AddTCP method to include validation logic. |
http2/tcp_buffer_test.go | Added TestValidPackage function to test validPackage with various scenarios. |
Makefile
to change the VERSION
variable, similar to the main PR's version update from v0.2.4
to v0.2.5
.Makefile
to update the VERSION
variable from v0.0.5
to v0.0.6
, indicating a related change in versioning.Makefile
, changing the version number from v0.0.8
to v0.0.9
, which aligns with the versioning theme of the main PR.Makefile
, changing the VERSION
variable from v0.1.0
to v0.1.1
, showing a similar pattern of version updates.Makefile
to change the version number from v0.1.2
to v0.1.3
, which is consistent with the versioning changes in the main PR.🐇 In the meadow, hops a bunny bright,
With a version change, oh what a sight!
Fromv0.2.4
tov0.2.5
,
We leap with joy, our code's alive!
With warnings logged and packets checked,
Our little project, oh so perfect! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes
Tests