Commit 4719842
authored
Fix bug where last few bytes on socket go unread (#269)
**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
```1 parent b6380f6 commit 4719842
7 files changed
Lines changed: 7 additions & 7 deletions
Submodule aws-c-auth updated 21 files
- include/aws/auth/auth.h+1
- include/aws/auth/credentials.h+86-18
- include/aws/auth/private/credentials_utils.h+20
- source/auth.c+5-2
- source/credentials_provider_cognito.c+1-1
- source/credentials_provider_default_chain.c+25-73
- source/credentials_provider_ecs.c+162-9
- source/credentials_provider_environment.c+11
- source/credentials_provider_imds.c+25
- source/credentials_provider_profile.c+34-1
- source/credentials_provider_sso.c+7-40
- source/credentials_provider_sts.c+105-31
- source/credentials_provider_sts_web_identity.c+32-59
- source/credentials_utils.c+65
- tests/CMakeLists.txt+6
- tests/aws-signing-test-suite/v4/get-vanilla-query-order-key/context.json-12
- tests/aws-signing-test-suite/v4/get-vanilla-query-order-key/request.txt-2
- tests/aws-signing-test-suite/v4/get-vanilla-query-order-value/context.json-12
- tests/aws-signing-test-suite/v4/get-vanilla-query-order-value/request.txt-2
- tests/credentials_provider_ecs_tests.c+397-43
- tests/credentials_provider_sts_tests.c+527-60
- .github/workflows/ci.yml+22-5
- CMakeLists.txt+7-1
- bin/produce_x_platform_fuzz_corpus/CMakeLists.txt+1-9
- bin/run_x_platform_fuzz_corpus/CMakeLists.txt+1-9
- bin/sha256_profile/CMakeLists.txt+1-9
- builder.json+16-2
- include/aws/cal/private/symmetric_cipher_priv.h+9
- include/aws/cal/symmetric_cipher.h+12-1
- source/darwin/commoncrypto_aes.c+14-14
- source/darwin/securityframework_ecc.c+1
- source/rsa.c+5
- source/symmetric_cipher.c+20-8
- source/unix/openssl_aes.c+29-17
- source/unix/openssl_platform_init.c+29-7
- source/windows/bcrypt_aes.c+22-19
- tests/CMakeLists.txt+1
- tests/aes256_test.c+88
Submodule aws-c-common updated 47 files
- .github/workflows/ci.yml+1-1
- CMakeLists.txt+10-10
- README.md+1-1
- bin/system_info/print_system_info.c+14
- cmake/AwsFeatureTests.cmake+13
- cmake/AwsSIMD.cmake+73-24
- cmake/AwsTestHarness.cmake+1
- include/aws/common/atomics_msvc.inl+64-16
- include/aws/common/config.h.in+7
- include/aws/common/cpuid.h+2
- include/aws/common/hash_table.h+14
- include/aws/common/host_utils.h+28
- include/aws/common/linked_list.h+5
- include/aws/common/linked_list.inl+4
- include/aws/common/package.h+1-1
- include/aws/common/promise.h-103
- include/aws/testing/aws_test_harness.h+12-24
- source/arch/arm/auxv/cpuid.c+7-1
- source/arch/arm/darwin/cpuid.c+40
- source/arch/arm/windows/cpuid.c+11-2
- source/arch/intel/cpuid.c+2-2
- source/arch/intel/encoding_avx2.c+4-4
- source/array_list.c+6-3
- source/encoding.c+2-2
- source/external/cJSON.c+17-3
- source/external/cJSON.h+1-1
- source/hash_table.c+8
- source/host_utils.c+114
- source/memtrace.c+37-22
- source/posix/thread.c+16-3
- source/promise.c-118
- source/string.c+2-5
- source/task_scheduler.c+3-3
- source/uri.c+15-6
- tests/CMakeLists.txt+4-6
- tests/atomics_test.c+2-2
- tests/host_util_test.c+73
- tests/linked_list_test.c+23
- tests/memtrace_test.c+12-8
- tests/promise_test.c-181
- tests/thread_test.c+35-1
- tests/uri_test.c+2-2
- verification/cbmc/include/proof_helpers/aws_byte_cursor_read_common.h+1-1
- verification/cbmc/include/proof_helpers/make_common_data_structures.h+1-1
- verification/cbmc/include/proof_helpers/nondet.h+8-8
- verification/cbmc/sources/make_common_data_structures.c+1-1
- verification/cbmc/stubs/abort_override_assert_false.c+1-1
- include/aws/io/tls_channel_handler.h+2-1
- source/future.c+4-1
- source/posix/socket.c+17-13
- source/s2n/s2n_tls_channel_handler.c+29-2
- source/socket_channel_handler.c+40-21
- source/windows/iocp/socket.c+2-1
- tests/CMakeLists.txt+29-5
- tests/default_host_resolver_test.c+97
- tests/future_test.c+23
- tests/read_write_test_handler.c+34-16
- tests/read_write_test_handler.h+7
- tests/resources/ca_root.crt+15-15
- tests/resources/ec_unittests.crt+4-4
- tests/resources/ec_unittests.p12
- tests/resources/server.crt+15-15
- tests/resources/server.key+25-25
- tests/resources/server_chain.crt+30-30
- tests/resources/unittests.crt+8-8
- tests/resources/unittests.p12
- tests/socket_handler_test.c+314-93
- tests/socket_test.c+3-1
0 commit comments