Files
swift-nio-http2/docker/docker-compose.2004.56.yaml
T
Rick Newton-Rogers fc2e98ecad use synchronous H2 multiplexer accessor (#396)
* use synchronous H2 multiplexer accessor

Motivation:

The `ChannelPipeline.SynchronousOperations.configureHTTP2Pipeline(...)`
method added to support synchronously setting up a pipeline to handle HTTP2 with the `StreamMultiplexer` embedded within the `NIOHTTP2Handler` erroneously retrieved the multiplexer via a `.wait()`. This is not permitted and will cause any code which executes it to deadlock.

Modifications:

The synchrounous operation now obtains the multiplexer via
`handler.syncMultiplexer()`

Result:

The code should not deadlock.

* update allocation counts
2023-05-30 11:19:37 +01:00

53 lines
1.9 KiB
YAML

version: "3"
services:
runtime-setup:
image: swift-nio-http2:20.04-5.6
build:
args:
ubuntu_version: "focal"
swift_version: "5.6"
h2spec_version: "2.2.1"
unit-tests:
image: swift-nio-http2:20.04-5.6
integration-tests:
image: swift-nio-http2:20.04-5.6
performance-test:
image: swift-nio-http2:20.04-5.6
h2spec:
image: swift-nio-http2:20.04-5.6
documentation-check:
image: swift-nio-http2:20.04-5.6
test:
image: swift-nio-http2:20.04-5.6
environment:
- MAX_ALLOCS_ALLOWED_1k_requests_inline_interleaved=35150
- MAX_ALLOCS_ALLOWED_1k_requests_inline_noninterleaved=34100
- MAX_ALLOCS_ALLOWED_1k_requests_interleaved=41150
- MAX_ALLOCS_ALLOWED_1k_requests_noninterleaved=40100
- MAX_ALLOCS_ALLOWED_client_server_h1_request_response=292050
- MAX_ALLOCS_ALLOWED_client_server_h1_request_response_inline=269050
- MAX_ALLOCS_ALLOWED_client_server_request_response=261050
- MAX_ALLOCS_ALLOWED_client_server_request_response_inline=244050
- MAX_ALLOCS_ALLOWED_client_server_request_response_many=1206050
- MAX_ALLOCS_ALLOWED_client_server_request_response_many_inline=889050
- MAX_ALLOCS_ALLOWED_create_client_stream_channel=39050
- MAX_ALLOCS_ALLOWED_create_client_stream_channel_inline=39050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form=200050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace=200050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace_from_long_string=300050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace_from_short_string=200050
- MAX_ALLOCS_ALLOWED_hpack_decoding=5050
- MAX_ALLOCS_ALLOWED_stream_teardown_100_concurrent=292850
- MAX_ALLOCS_ALLOWED_stream_teardown_100_concurrent_inline=291550
shell:
image: swift-nio-http2:20.04-5.6