From ae875288e96991962085a8593b2174ce2007c4a8 Mon Sep 17 00:00:00 2001 From: Michael Graeb Date: Thu, 13 Jun 2024 10:55:58 -0700 Subject: [PATCH] Fix bug where last few bytes on socket go unread (#795) **Issue:** We're 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-auth v0.7.17 -> v0.7.22 aws-c-cal v0.6.11 -> v0.6.15 aws-c-common v0.9.15 -> v0.9.21 aws-c-http v0.8.1 -> v0.8.2 aws-c-io v0.14.7 -> v0.14.9 aws-c-mqtt v0.10.3 -> v0.10.4 aws-c-sdkutils v0.1.15 -> v0.1.16 s2n v1.4.11 -> v1.4.16 ``` --- crt/aws-c-auth | 2 +- crt/aws-c-cal | 2 +- crt/aws-c-common | 2 +- crt/aws-c-http | 2 +- crt/aws-c-io | 2 +- crt/aws-c-mqtt | 2 +- crt/aws-c-sdkutils | 2 +- crt/s2n | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/crt/aws-c-auth b/crt/aws-c-auth index 0de6b271b..53a31bacf 160000 --- a/crt/aws-c-auth +++ b/crt/aws-c-auth @@ -1 +1 @@ -Subproject commit 0de6b271bdfb447853d1af0eced39faed7f746f3 +Subproject commit 53a31bacf2918e848e00b052d2e25cba0be069d9 diff --git a/crt/aws-c-cal b/crt/aws-c-cal index 314fc5558..96c47e339 160000 --- a/crt/aws-c-cal +++ b/crt/aws-c-cal @@ -1 +1 @@ -Subproject commit 314fc555846ac7bf2cc68a117c99a6af26f7043e +Subproject commit 96c47e339d030d1fa4eaca201be948bc4442510d diff --git a/crt/aws-c-common b/crt/aws-c-common index ae7b067d9..4f874cea5 160000 --- a/crt/aws-c-common +++ b/crt/aws-c-common @@ -1 +1 @@ -Subproject commit ae7b067d9274d2d3faa1d3ae42d489a6986661f7 +Subproject commit 4f874cea50a70bc6ebcd85c6ce1c6c0016b5aff4 diff --git a/crt/aws-c-http b/crt/aws-c-http index 98ec73ad0..d83f8d701 160000 --- a/crt/aws-c-http +++ b/crt/aws-c-http @@ -1 +1 @@ -Subproject commit 98ec73ad0c18b78ba08d40b4e60d97abf794f24d +Subproject commit d83f8d70143ddce5ab4e479175fbd44ba994211b diff --git a/crt/aws-c-io b/crt/aws-c-io index bf2d72230..878b4fa02 160000 --- a/crt/aws-c-io +++ b/crt/aws-c-io @@ -1 +1 @@ -Subproject commit bf2d72230727f02eddb5b16c4e6c5ac5a3f203a7 +Subproject commit 878b4fa027bda4041493f06e0562d5e98bb3deb8 diff --git a/crt/aws-c-mqtt b/crt/aws-c-mqtt index 74da9cadf..ed7bbd68c 160000 --- a/crt/aws-c-mqtt +++ b/crt/aws-c-mqtt @@ -1 +1 @@ -Subproject commit 74da9cadfa9dfd2179479fdc445617f5da3261ba +Subproject commit ed7bbd68c03d7022c915a2924740ab7992ad2311 diff --git a/crt/aws-c-sdkutils b/crt/aws-c-sdkutils index 638fdd654..8c7af71f9 160000 --- a/crt/aws-c-sdkutils +++ b/crt/aws-c-sdkutils @@ -1 +1 @@ -Subproject commit 638fdd6548df85c599f82db7ea70fd9e44917ef5 +Subproject commit 8c7af71f91ed5b9d2a043d51f120495f43723f80 diff --git a/crt/s2n b/crt/s2n index 171c96a23..114ccab0f 160000 --- a/crt/s2n +++ b/crt/s2n @@ -1 +1 @@ -Subproject commit 171c96a232eb2bf45415340378b55b3bb6dd29cd +Subproject commit 114ccab0ff2cde491203ac841837d0d39b767412