fix default value of alt svc ma
This commit is contained in:
parent
c25012b362
commit
9b7b5a4333
2 changed files with 4 additions and 4 deletions
|
|
@ -16,14 +16,14 @@
|
||||||
echo "----------------------------"
|
echo "----------------------------"
|
||||||
echo "Benchmark on rpxy"
|
echo "Benchmark on rpxy"
|
||||||
#wrk -t8 -c100 -d30s http://127.0.0.1:8080/index.html
|
#wrk -t8 -c100 -d30s http://127.0.0.1:8080/index.html
|
||||||
rewrk -c 512 -t 4 -d 10s -h http://localhost:8080 --pct
|
rewrk -c 256 -t 4 -d 10s -h http://localhost:8080 --pct
|
||||||
|
|
||||||
echo "----------------------------"
|
echo "----------------------------"
|
||||||
echo "Benchmark on nginx"
|
echo "Benchmark on nginx"
|
||||||
# wrk -t8 -c100 -d30s http://127.0.0.1:8090/index.html
|
# wrk -t8 -c100 -d30s http://127.0.0.1:8090/index.html
|
||||||
rewrk -c 512 -t 4 -d 10s -h http://localhost:8090 --pct
|
rewrk -c 256 -t 4 -d 10s -h http://localhost:8090 --pct
|
||||||
|
|
||||||
echo "----------------------------"
|
echo "----------------------------"
|
||||||
echo "Benchmark on caddy"
|
echo "Benchmark on caddy"
|
||||||
# wrk -t8 -c100 -d30s http://127.0.0.1:8100/index.html
|
# wrk -t8 -c100 -d30s http://127.0.0.1:8100/index.html
|
||||||
rewrk -c 512 -t 4 -d 10s -h http://localhost:8100 --pct
|
rewrk -c 256 -t 4 -d 10s -h http://localhost:8100 --pct
|
||||||
|
|
|
||||||
|
|
@ -10,4 +10,4 @@ pub const MAX_CONCURRENT_STREAMS: u32 = 32;
|
||||||
pub const CERTS_WATCH_DELAY_SECS: u32 = 30;
|
pub const CERTS_WATCH_DELAY_SECS: u32 = 30;
|
||||||
|
|
||||||
#[cfg(feature = "h3")]
|
#[cfg(feature = "h3")]
|
||||||
pub const H3_ALT_SVC_MAX_AGE: u32 = 120;
|
pub const H3_ALT_SVC_MAX_AGE: u32 = 3600;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue