MCPcopy Create free account
hub / github.com/Invisv-Privacy/masque / isIdleTimeoutError

Function isIdleTimeoutError

http3/client.go:372–381  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

370}
371
372func isIdleTimeoutError(err error) bool {
373 e, ok := err.(*url.Error)
374 if ok {
375 _, ok := e.Err.(*quic.IdleTimeoutError)
376 if ok {
377 return true
378 }
379 }
380 return false
381}
382
383func (c *Client) refreshRoundTripper() error {
384 c.mutex.Lock()

Callers 2

CreateTCPStreamMethod · 0.85
CreateUDPStreamMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected