Skip to content

Commit 7b5a6de

Browse files
committed
Revert "Least load balancer (XTLS#2999)"
This reverts commit fa5d7a2.
1 parent ad3dd3d commit 7b5a6de

105 files changed

Lines changed: 426 additions & 3520 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/commander/config.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/dispatcher/config.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/dispatcher/default.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ func (d *DefaultDispatcher) Dispatch(ctx context.Context, destination net.Destin
230230
content = new(session.Content)
231231
ctx = session.ContextWithContent(ctx, content)
232232
}
233-
234233
sniffingRequest := content.SniffingRequest
235234
inbound, outbound := d.getLink(ctx)
236235
if !sniffingRequest.Enabled {
@@ -367,6 +366,7 @@ func sniffer(ctx context.Context, cReader *cachedReader, metadataOnly bool, netw
367366
}
368367
return contentResult, contentErr
369368
}
369+
370370
func (d *DefaultDispatcher) routedDispatch(ctx context.Context, link *transport.Link, destination net.Destination) {
371371
ob := session.OutboundFromContext(ctx)
372372
if hosts, ok := d.dns.(dns.HostsLookup); ok && destination.Address.Family().IsDomain() {

app/dns/config.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/dns/fakedns/fakedns.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/log/command/config.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/log/config.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/metrics/config.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/observatory/burst/burst.go

Lines changed: 0 additions & 14 deletions
This file was deleted.

app/observatory/burst/burstobserver.go

Lines changed: 0 additions & 108 deletions
This file was deleted.

0 commit comments

Comments
 (0)