Rowin
Rowin
```go server := &fasthttp.Server{ ReadTimeout: 5 * time.Second, Handler: ServeHTTP, } tlsConfig := &tls.Config{...} http2.ConfigureServerAndConfig(server, tlsConfig) listener, err := net.Listen("tcp4", "0.0.0.0:443") if err != nil { panic(err) } tlsListener :=...
Yes, I'm sure. Chrome:  Firefox: 
Also, when I remove `http2.ConfigureServerAndConfig(server, tlsConfig)` so it uses HTTP/1.1, it doesn't happen.
Connections are no longer being closed 5 seconds after connecting, but timeouts don't work at all now.
Maybe you're misunderstanding the problem. ReadTimeout documentation: ``` ReadTimeout is the amount of time allowed to read the full request including body. The connection's read deadline is reset when the...
The timeout is not working:  Server: ```go server := &fasthttp.Server{ ReadTimeout: 5 * time.Second, Handler: ServeHTTP, } ``` Also: > Servers are encouraged to maintain open connections for as...
No, the issue is the same, CertMagic "DDoSing" the database, but his solution would not work for me as I'm not using `on_demand_tls.ask` (I am not sure what that is,...
I see. I do use on demand TLS, and all TLS handshakes had the same domain, one that's whitelisted by my `DecisionFunc`. Because of latency to the database, it takes...
Changing `drainThreshold` won't fix the problem because `expireEntries` is called in `postReadCleanup`. Instead of calling `refreshAsync` in `Get`, why don't you just call `refresh`? No need to call `expireEntries`. You...
It does not seem work properly. All waiting requests time out. Server: ``` 1.6749229003708549e+09 info maintenance started background certificate maintenance {"cache": "0xc0001925b0"} [98460] 2023/01/28 16:21:41 Load certificates/acme-v02.api.letsencrypt.org-directory/[removed]/[removed].key [98460] 2023/01/28 16:21:41...