config: default to http2 (#3660)

* config: default to http2

* fix test
This commit is contained in:
Caleb Doxsey 2022-10-12 14:46:06 -06:00 committed by GitHub
parent 245d1b0de4
commit 71b1bcfac5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 9 deletions

View file

@ -1049,9 +1049,6 @@ func (o *Options) GetQPS() float64 {
// GetCodecType gets a codec type.
func (o *Options) GetCodecType() CodecType {
if o.CodecType == CodecTypeUnset {
if IsAll(o.Services) {
return CodecTypeHTTP1
}
return CodecTypeAuto
}
return o.CodecType