mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 09:45:31 +00:00
http: use separate sockets for IPv4 and IPv6 (#221)
This commit is contained in:
parent
048c297fc7
commit
94e3af2463
6 changed files with 235 additions and 121 deletions
|
|
@ -66,14 +66,14 @@ address_ipv4 = '127.0.0.1:3000'" > udp.toml
|
|||
echo "log_level = 'debug'
|
||||
|
||||
[network]
|
||||
address = '127.0.0.1:3004'" > http.toml
|
||||
address_ipv4 = '127.0.0.1:3004'" > http.toml
|
||||
./target/debug/aquatic http -c http.toml > "$HOME/http.log" 2>&1 &
|
||||
|
||||
# HTTP with TLS
|
||||
echo "log_level = 'debug'
|
||||
|
||||
[network]
|
||||
address = '127.0.0.1:3001'
|
||||
address_ipv4 = '127.0.0.1:3001'
|
||||
enable_tls = true
|
||||
tls_certificate_path = './server.crt'
|
||||
tls_private_key_path = './key.pk8'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue