Skip to content

Commit

Permalink
failNoPeers context support.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Mar 24, 2021
1 parent c7f0d32 commit ca708cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions protocol/req/req.go
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ func (s *socket) OpenContext() (protocol.Context, error) {
resendTime: s.defCtx.resendTime,
sendExpire: s.defCtx.sendExpire,
recvExpire: s.defCtx.recvExpire,
failNoPeers: s.defCtx.failNoPeers,
}
s.ctxs[c] = struct{}{}
return c, nil
Expand Down

0 comments on commit ca708cb

Please sign in to comment.