mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-05 08:02:13 +00:00
parent
31a78592e8
commit
ce0ded7c78
@ -228,8 +228,8 @@ func NewService(cfg config.Wrapper, myID protocol.DeviceID, mdl Model, tlsCfg *t
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *service) handleConns(ctx context.Context) error {
|
func (s *service) handleConns(ctx context.Context) error {
|
||||||
var c internalConn
|
|
||||||
for {
|
for {
|
||||||
|
var c internalConn
|
||||||
select {
|
select {
|
||||||
case <-ctx.Done():
|
case <-ctx.Done():
|
||||||
return ctx.Err()
|
return ctx.Err()
|
||||||
|
Loading…
Reference in New Issue
Block a user