This commit is contained in:
fiatjaf
2026-03-01 09:18:55 -03:00
parent 8ba05114cd
commit 5de9501556
3 changed files with 3 additions and 6 deletions
-3
View File
@@ -197,9 +197,6 @@ func (r *Relay) ConnectWithClient(ctx context.Context, client *http.Client) erro
func (r *Relay) newConnection(ctx context.Context, httpClient *http.Client) error {
debugLogf("{%s} connecting!\n", r.URL)
if r.connectionContext.Err() != nil {
return fmt.Errorf("relay context canceled")
}
dialCtx := ctx
if _, ok := dialCtx.Deadline(); !ok {