awslabs / aws-crt-cpp

C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
Apache License 2.0
73 stars 64 forks source link

Fix bug where last few bytes on socket go unread #624

Closed graebm closed 2 months ago

graebm commented 2 months ago

Issue:

aws-c-s3 is occasionally seeing errors when the server sends an HTTP response with a Connection: close header (meaning it intends to close the connection after the response is sent). The server is sending the full response, then immediately hanging up. But the last few bytes of the response never make it to the HTTP client.

Description of changes:

Update submodules, bringing in this fix: https://github.com/awslabs/aws-c-io/pull/642

aws-c-common       v0.9.19 -> v0.9.21
aws-c-http         v0.8.1 -> v0.8.2
aws-c-io           v0.14.8 -> v0.14.9
aws-c-s3           v0.5.9 -> v0.5.10
aws-lc             v1.28.0 -> v1.29.0
s2n                v1.4.15 -> v1.4.16

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.