Skip to content

Commit

Permalink
tests for quic and http3
Browse files Browse the repository at this point in the history
  • Loading branch information
oxpa committed Aug 3, 2023
1 parent 6840277 commit 20a79b1
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
\#*
!molecule.crt
!molecule.key
!rand.key

# OS Specific #
###############
Expand Down
1 change: 1 addition & 0 deletions molecule/common/files/ssl/rand.key
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
E�4�h���4�֚Y�� &i"/m�{�7��<%�J%f���^��`R�P��[ �,6=!�>Z� �o�K�cG�
21 changes: 21 additions & 0 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
- src: ../common/files/ssl/molecule.key
dest: /etc/ssl/private
backup: true
- src: ../common/files/ssl/rand.key
dest: /etc/ssl/private
backup: true

nginx_config_main_template_enable: true
nginx_config_main_template:
Expand Down Expand Up @@ -67,6 +70,8 @@
threads: 32
timer_resolution: 1s
working_directory: /etc/nginx
quic:
bpf: false
events:
accept_mutex: false
accept_mutex_delay: 500ms
Expand Down Expand Up @@ -236,6 +241,11 @@
max_concurrent_streams: 31
recv_buffer_size: 128k
recv_timeout: 10s
http3:
enable: true
hq: false
max_concurrent_streams: 100
stream_buffer_size: 32k
ssl:
buffer_size: 16k
certificate: /etc/ssl/certs/molecule.crt
Expand All @@ -257,6 +267,7 @@
- TLSv1
- TLSv1.1
- TLSv1.2
- TLSv1.3
reject_handshake: false
session_cache:
builtin:
Expand Down Expand Up @@ -569,6 +580,8 @@
port: 443
default_server: true
ssl: false
quic: true
reuseport: true
so_keepalive:
keepidle: 30m
keepintvl: 5
Expand All @@ -585,6 +598,14 @@
http2:
enable: false
chunk_size: 8k
http3:
enabled: false
hq: true
quic:
active_connection_id_limit: 10
gso: off

Check failure on line 606 in molecule/default/converge.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[truthy]

Truthy value should be one of \[false, true]
retry: off

Check failure on line 607 in molecule/default/converge.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[truthy]

Truthy value should be one of \[false, true]
host_key: /etc/ssl/private/rand.key
auth_basic:
realm: false
log:
Expand Down
3 changes: 3 additions & 0 deletions molecule/push/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@
- src: ../common/files/ssl/molecule.key
dest: /etc/ssl/private
backup: true
- src: ../common/files/ssl/rand.key
dest: /etc/ssl/private
backup: true

0 comments on commit 20a79b1

Please sign in to comment.