Skip to content

Commit

Permalink
Fix bug where last few bytes on socket go unread (#269)
Browse files Browse the repository at this point in the history
**Issue:**

We see occasional 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: awslabs/aws-c-io#642
```
aws-c-auth         v0.7.16 -> v0.7.22
aws-c-cal          v0.6.10 -> v0.6.15
aws-c-common       v0.9.14 -> v0.9.21
aws-c-http         v0.8.1 -> v0.8.2
aws-c-io           v0.14.6 -> v0.14.9
aws-c-sdkutils     v0.1.15 -> v0.1.16
s2n                v1.4.8 -> v1.4.16
```
  • Loading branch information
graebm committed Jun 12, 2024
1 parent b6380f6 commit 4719842
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion aws-common-runtime/aws-c-common
Submodule aws-c-common updated 47 files
+1 −1 .github/workflows/ci.yml
+10 −10 CMakeLists.txt
+1 −1 README.md
+14 −0 bin/system_info/print_system_info.c
+13 −0 cmake/AwsFeatureTests.cmake
+73 −24 cmake/AwsSIMD.cmake
+1 −0 cmake/AwsTestHarness.cmake
+64 −16 include/aws/common/atomics_msvc.inl
+7 −0 include/aws/common/config.h.in
+2 −0 include/aws/common/cpuid.h
+14 −0 include/aws/common/hash_table.h
+28 −0 include/aws/common/host_utils.h
+5 −0 include/aws/common/linked_list.h
+4 −0 include/aws/common/linked_list.inl
+1 −1 include/aws/common/package.h
+0 −103 include/aws/common/promise.h
+12 −24 include/aws/testing/aws_test_harness.h
+7 −1 source/arch/arm/auxv/cpuid.c
+40 −0 source/arch/arm/darwin/cpuid.c
+11 −2 source/arch/arm/windows/cpuid.c
+2 −2 source/arch/intel/cpuid.c
+4 −4 source/arch/intel/encoding_avx2.c
+6 −3 source/array_list.c
+2 −2 source/encoding.c
+17 −3 source/external/cJSON.c
+1 −1 source/external/cJSON.h
+8 −0 source/hash_table.c
+114 −0 source/host_utils.c
+37 −22 source/memtrace.c
+16 −3 source/posix/thread.c
+0 −118 source/promise.c
+2 −5 source/string.c
+3 −3 source/task_scheduler.c
+15 −6 source/uri.c
+4 −6 tests/CMakeLists.txt
+2 −2 tests/atomics_test.c
+73 −0 tests/host_util_test.c
+23 −0 tests/linked_list_test.c
+12 −8 tests/memtrace_test.c
+0 −181 tests/promise_test.c
+35 −1 tests/thread_test.c
+2 −2 tests/uri_test.c
+1 −1 verification/cbmc/include/proof_helpers/aws_byte_cursor_read_common.h
+1 −1 verification/cbmc/include/proof_helpers/make_common_data_structures.h
+8 −8 verification/cbmc/include/proof_helpers/nondet.h
+1 −1 verification/cbmc/sources/make_common_data_structures.c
+1 −1 verification/cbmc/stubs/abort_override_assert_false.c
2 changes: 1 addition & 1 deletion aws-common-runtime/aws-c-http
2 changes: 1 addition & 1 deletion aws-common-runtime/s2n
Submodule s2n updated 196 files

0 comments on commit 4719842

Please sign in to comment.