newacorn
newacorn
### Questiong1: Should values be formatted when setting HTTP headers under any circumstances? Currently, values are only formatted in the `Set` method. https://github.com/valyala/fasthttp/blob/0f84e656c2abc4f442fc3efb97aa79a252f4aba2/header.go#L1578-L1581 Other `Set`-like or `Add`-like methods do not...
Currently, when Server.TCPKeepalive is set to false, if the net.Listener is created by the package itself, it does not override the default behavior of net.ListenConfig, which keeps TCP keepalive enabled....
## Description The gzip package and strings.NewReader always return io.EOF when calling their Read methods with any size slice if the data is empty. However, the brotli Read method requires...
After refactoring, the following test can pass. ```go func TestBurstSampler(t *testing.T) { s := &BurstSampler{Burst: 20, Period: time.Millisecond * 200} wg := sync.WaitGroup{} wg.Add(2000) past := atomic.Int64{} start := time.Now()...