Skip to content

Commit 52381a3

Browse files
authored
1 parent 4b01eb4 commit 52381a3

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

app/observatory/burst/healthping.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ func NewHealthPing(ctx context.Context, dispatcher routing.Dispatcher, config *H
6666
settings.Timeout = time.Duration(5) * time.Second
6767
}
6868
return &HealthPing{
69-
ctx: ctx,
69+
ctx: ctx,
7070
dispatcher: dispatcher,
71-
Settings: settings,
72-
Results: nil,
71+
Settings: settings,
72+
Results: nil,
7373
}
7474
}
7575

app/observatory/observer.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ type Observer struct {
3232

3333
finished *done.Instance
3434

35-
ohm outbound.Manager
35+
ohm outbound.Manager
3636
dispatcher routing.Dispatcher
3737
}
3838

@@ -226,9 +226,9 @@ func New(ctx context.Context, config *Config) (*Observer, error) {
226226
return nil, errors.New("Cannot get depended features").Base(err)
227227
}
228228
return &Observer{
229-
config: config,
230-
ctx: ctx,
231-
ohm: outboundManager,
229+
config: config,
230+
ctx: ctx,
231+
ohm: outboundManager,
232232
dispatcher: dispatcher,
233233
}, nil
234234
}

core/core.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import (
1818

1919
var (
2020
Version_x byte = 25
21-
Version_y byte = 1
22-
Version_z byte = 30
21+
Version_y byte = 2
22+
Version_z byte = 18
2323
)
2424

2525
var (

core/xray.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ func (s *Instance) AddFeature(feature features.Feature) error {
359359
}
360360
s.pendingOptionalResolutions = pendingOptional
361361
s.resolveLock.Unlock()
362-
362+
363363
var err error
364364
for _, r := range availableResolution {
365365
err = r.callbackResolution(s.features) // only return the last error for now

transport/internet/splithttp/hub.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ func ListenXH(ctx context.Context, address net.Address, port net.Port, streamSet
425425
}
426426
go func() {
427427
if err := l.h3server.ServeListener(l.h3listener); err != nil {
428-
errors.LogWarningInner(ctx, err, "failed to serve HTTP/3 for XHTTP/3")
428+
errors.LogErrorInner(ctx, err, "failed to serve HTTP/3 for XHTTP/3")
429429
}
430430
}()
431431
} else { // tcp
@@ -460,7 +460,7 @@ func ListenXH(ctx context.Context, address net.Address, port net.Port, streamSet
460460
}
461461
go func() {
462462
if err := l.server.Serve(l.listener); err != nil {
463-
errors.LogWarningInner(ctx, err, "failed to serve HTTP for XHTTP")
463+
errors.LogErrorInner(ctx, err, "failed to serve HTTP for XHTTP")
464464
}
465465
}()
466466
}

0 commit comments

Comments
 (0)