feat(http3|quic): add http3|quic support (#1466)

* feat(http3|quic): add http3|quic support

* revert(ai): fix ai error

* fix(shutdown): shutdown was using close

* feat(http3|quic): add config if needs h3

* feat(http3|quic): add Alt-Svc to expose h3
This commit is contained in:
ShenLin
2025-10-14 15:57:16 +08:00
committed by GitHub
parent 2bfbad2874
commit 89235012af
4 changed files with 44 additions and 3 deletions

View File

@@ -35,6 +35,7 @@ type Scheme struct {
UnixFile string `json:"unix_file" env:"UNIX_FILE"`
UnixFilePerm string `json:"unix_file_perm" env:"UNIX_FILE_PERM"`
EnableH2c bool `json:"enable_h2c" env:"ENABLE_H2C"`
EnableH3 bool `json:"enable_h3" env:"ENABLE_H3"`
}
type LogConfig struct {