-
-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When I perform a HTTP3 request to some Cloudflare website and repeat the request after over one minute, the second request produces a timeout. This does not occur for HTTP2 and it does not occur for all HTTP3 targets (i.e. google.com does not produces this error, but Cloudflare does).
To Reproduce
session := azuretls.NewSession()
defer session.Close()
session.Log()
response, err := session.Do(&azuretls.Request{
Method: "GET",
Url: "https://cloudflare-quic.com",
ForceHTTP3: true,
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("Status: %d\n", response.StatusCode)
fmt.Printf("Proto: %s\n", response.HttpResponse.Proto)
time.Sleep(70 * time.Second)
response, err = session.Do(&azuretls.Request{
Method: "GET",
Url: "https://cloudflare-quic.com",
ForceHTTP3: true,
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("Status: %d\n", response.StatusCode)
fmt.Printf("Proto: %s\n", response.HttpResponse.Proto)
It produces the following output:
[AZURETLS] 01/20/2026 - 19:12:40 | GET | cloudflare-quic.com | ""
[AZURETLS] 01/20/2026 - 19:12:41 | 200 | 911.3953ms | HTTP/3.0 | cloudflare-quic.com | ""
Status: 200
Proto: HTTP/3.0
[AZURETLS] 01/20/2026 - 19:13:51 | GET | cloudflare-quic.com | ""
[AZURETLS] 01/20/2026 - 19:14:21 | timeout | 30.0008639s | cloudflare-quic.com | ""
2026/01/20 19:14:21 timeout
exit status 1
Expected behavior
The second request should proceed just as the first one.
Desktop:
- OS: Windows 10
- Version 1.12.12
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working