Skip to content

Commit

Permalink
latest submodules (#338)
Browse files Browse the repository at this point in the history
* latest submodules

* elasticurl patch
  • Loading branch information
ilevyor authored Mar 11, 2022
1 parent fe9266a commit b57f5b8
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion crt/aws-c-cal
2 changes: 1 addition & 1 deletion crt/aws-c-http
Submodule aws-c-http updated 43 files
+9 −11 .github/workflows/ci.yml
+1 −1 .github/workflows/clang-format.yml
+24 −18 bin/elasticurl/main.c
+38 −12 include/aws/http/connection.h
+16 −2 include/aws/http/connection_manager.h
+4 −0 include/aws/http/http.h
+164 −0 include/aws/http/http2_stream_manager.h
+4 −3 include/aws/http/private/connection_impl.h
+3 −0 include/aws/http/private/connection_manager_system_vtable.h
+2 −0 include/aws/http/private/h2_connection.h
+6 −1 include/aws/http/private/h2_decoder.h
+1 −0 include/aws/http/private/h2_stream.h
+182 −0 include/aws/http/private/http2_stream_manager_impl.h
+79 −0 include/aws/http/private/random_access_set.h
+1 −0 include/aws/http/private/request_response_impl.h
+0 −40 include/aws/http/private/strutil.h
+1 −1 include/aws/http/proxy.h
+7 −2 include/aws/http/request_response.h
+8 −0 integration-testing/http_client_test.py
+12 −7 source/connection.c
+340 −174 source/connection_manager.c
+3 −3 source/h1_connection.c
+3 −3 source/h1_decoder.c
+1 −1 source/h1_encoder.c
+1 −1 source/h1_stream.c
+57 −17 source/h2_connection.c
+20 −12 source/h2_decoder.c
+44 −17 source/h2_stream.c
+13 −2 source/http.c
+1,001 −0 source/http2_stream_manager.c
+3 −6 source/proxy_connection.c
+181 −0 source/random_access_set.c
+47 −6 source/request_response.c
+0 −43 source/strutil.c
+31 −2 tests/CMakeLists.txt
+15 −2 tests/h2_test_helper.c
+11 −0 tests/h2_test_helper.h
+1 −0 tests/test_connection.c
+164 −5 tests/test_connection_manager.c
+252 −23 tests/test_h2_client.c
+203 −0 tests/test_random_access_set.c
+1,038 −0 tests/test_stream_manager.c
+0 −93 tests/test_strutil.c
2 changes: 1 addition & 1 deletion crt/aws-c-s3
Submodule aws-c-s3 updated 59 files
+9 −9 .github/workflows/ci.yml
+2 −2 .github/workflows/clang-format.yml
+1 −0 .gitignore
+5 −0 CMakeLists.txt
+7 −7 benchmarks/benchmarks-stack/benchmarks-stack/package.json
+13 −13 benchmarks/dashboard-stack/package.json
+3 −1 builder.json
+1 −0 cmake/aws-c-s3-config.cmake
+1 −1 format-check.sh
+7 −0 include/aws/s3/private/s3_auto_ranged_put.h
+130 −0 include/aws/s3/private/s3_checksums.h
+3 −0 include/aws/s3/private/s3_client_impl.h
+76 −0 include/aws/s3/private/s3_copy_object.h
+3 −1 include/aws/s3/private/s3_default_meta_request.h
+136 −0 include/aws/s3/private/s3_list_objects.h
+18 −1 include/aws/s3/private/s3_meta_request_impl.h
+14 −0 include/aws/s3/private/s3_request.h
+38 −8 include/aws/s3/private/s3_request_messages.h
+57 −0 include/aws/s3/private/s3_util.h
+2 −1 include/aws/s3/s3.h
+91 −0 include/aws/s3/s3_client.h
+2 −0 samples/CMakeLists.txt
+29 −0 samples/s3/CMakeLists.txt
+25 −0 samples/s3/app_ctx.h
+235 −0 samples/s3/cli_progress_bar.c
+79 −0 samples/s3/cli_progress_bar.h
+187 −0 samples/s3/main.c
+922 −0 samples/s3/s3-cp.c
+179 −0 samples/s3/s3-ls.c
+2 −0 source/s3.c
+221 −217 source/s3_auto_ranged_get.c
+216 −184 source/s3_auto_ranged_put.c
+126 −0 source/s3_checksum_stream.c
+270 −0 source/s3_checksums.c
+284 −0 source/s3_chunk_stream.c
+170 −87 source/s3_client.c
+792 −0 source/s3_copy_object.c
+91 −61 source/s3_default_meta_request.c
+8 −5 source/s3_endpoint.c
+484 −0 source/s3_list_objects.c
+299 −66 source/s3_meta_request.c
+290 −21 source/s3_request_messages.c
+23 −0 source/s3_util.c
+66 −0 tests/CMakeLists.txt
+148 −2 tests/s3_cancel_tests.c
+229 −0 tests/s3_checksum_stream_test.c
+236 −0 tests/s3_checksums_crc32_tests.c
+236 −0 tests/s3_checksums_crc32c_tests.c
+257 −0 tests/s3_checksums_sha1_tests.c
+273 −0 tests/s3_checksums_sha256_tests.c
+49 −0 tests/s3_checksums_test_case_helper.h
+776 −46 tests/s3_data_plane_tests.c
+3 −3 tests/s3_endpoint_tests.c
+200 −0 tests/s3_list_objects_tests.c
+9 −8 tests/s3_request_messages_tests.c
+6 −6 tests/s3_retry_tests.c
+32 −4 tests/s3_tester.c
+25 −1 tests/s3_tester.h
+1 −1 tests/s3_util_tests.c
2 changes: 1 addition & 1 deletion crt/aws-c-sdkutils
2 changes: 1 addition & 1 deletion crt/aws-lc
2 changes: 1 addition & 1 deletion crt/s2n
Submodule s2n updated from 785596 to 65455a
5 changes: 4 additions & 1 deletion elasticurl.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,10 @@ def on_incoming_body(http_stream, chunk, **kwargs):
if url.query:
request.path += '?' + url.query

request.headers.add('host', hostname)
if connection.version == http.HttpVersion.Http2:
request.headers.add(':authority', hostname)
else:
request.headers.add('host', hostname)
request.headers.add('user-agent', 'elasticurl.py 1.0, Powered by the AWS Common Runtime.')

if data_len != 0:
Expand Down

0 comments on commit b57f5b8

Please sign in to comment.