mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-30 05:28:45 +00:00
Motivation: It's important to ensure that child channel users can observe the writability state of a child channel in order to avoid ballooning data in memory. Up until now we haven't supported writability notifications, but we really should. Modifications: - Added a flow controller to manage writability. - Managed data flow through promises. - Lots of tests. Result: Child channels will provide a much better signal as to whether they are writable.
38 lines
888 B
YAML
38 lines
888 B
YAML
version: "3"
|
|
|
|
services:
|
|
|
|
runtime-setup:
|
|
image: swift-nio-http2:18.04-5.0
|
|
build:
|
|
args:
|
|
ubuntu_version: "bionic"
|
|
swift_version: "5.0"
|
|
h2spec_version: "2.2.1"
|
|
|
|
unit-tests:
|
|
image: swift-nio-http2:18.04-5.0
|
|
|
|
integration-tests:
|
|
image: swift-nio-http2:18.04-5.0
|
|
environment:
|
|
- MAX_ALLOCS_ALLOWED_create_client_stream_channel=72010
|
|
- MAX_ALLOCS_ALLOWED_hpack_decoding=5050
|
|
- MAX_ALLOCS_ALLOWED_client_server_request_response=374000
|
|
|
|
performance-test:
|
|
image: swift-nio-http2:18.04-5.0
|
|
|
|
h2spec:
|
|
image: swift-nio-http2:18.04-5.0
|
|
|
|
test:
|
|
image: swift-nio-http2:18.04-5.0
|
|
environment:
|
|
- MAX_ALLOCS_ALLOWED_create_client_stream_channel=72010
|
|
- MAX_ALLOCS_ALLOWED_hpack_decoding=5050
|
|
- MAX_ALLOCS_ALLOWED_client_server_request_response=374000
|
|
|
|
shell:
|
|
image: swift-nio-http2:18.04-5.0
|