@ -1,6 +1,7 @@
package main
import (
"context"
"crypto/tls"
"errors"
"io"
@ -71,7 +72,7 @@ func (s *Server) Connect(w http.ResponseWriter, r *http.Request) {
defer src.Close()
io.Copy(
throttledWriter{
ctx: r.Context(),
ctx: context.Background(),
w: dst,
limiter: s.limiter,
},