Skip to content

Commit 201d620

Browse files
author
YUNRU
committed
typo fix
1 parent 63808fe commit 201d620

4 files changed

Lines changed: 194 additions & 194 deletions

File tree

infra/conf/transport_internet.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,9 @@ func (c *SplitHTTPConfig) Build() (proto.Message, error) {
260260
case "disabled", "off", "none":
261261
muxProtobuf.Mode = splithttp.Multiplexing_DISABLED
262262
case "prefer_reuse", "preferreuse", "prefer_existing", "preferexisting", "": // Default: Reuse existing connections before opening new ones
263-
muxProtobuf.Mode = splithttp.Multiplexing_PREFRE_EXTISTING
263+
muxProtobuf.Mode = splithttp.Multiplexing_PREFER_EXTISTING
264264
case "prefer_new", "prefernew": // Open new connections until max limit, then reuse
265-
muxProtobuf.Mode = splithttp.Multiplexing_PREFRE_NEW
265+
muxProtobuf.Mode = splithttp.Multiplexing_PREFER_NEW
266266
default:
267267
return nil, errors.New("unsupported splithttp multiplexing mode: ", c.Mux.Mode)
268268
}

0 commit comments

Comments
 (0)