Erik Dubbelboer

Results 272 comments of Erik Dubbelboer

I'm not exactly sure what you mean by `Connection Closed or No Connection available`, but there are methods to set and get this header and the header is respected by...

I'm not sure I understand? You only get one chunk of the response at a time but you want your handler to process this chunk already? I'm afraid that's not...

Just parsing the request headers can be done with [`RequestHeader.Read`](https://godoc.org/github.com/valyala/fasthttp#RequestHeader.Read). But parsing only one chunk of a multi chunk response is something that is not exported at the moment. In...

This is something only @valyala can answer as he's the only one that can do this.

We should definitely do a test with a new repo to see if everything works. I remember the https://github.com/sirupsen/logrus/issues/543 fiasco which was only a case change so not even a...

Waiting `MaxIdleConnDuration*2` after [`PendingRequests()`](https://godoc.org/github.com/valyala/fasthttp#HostClient.PendingRequests) returned `0` should work yes. But I would also accept a pull request that adds a `CloseIdleConnections()` function to `HostClient`. In which case calling `CloseIdleConnections()` when...

See https://github.com/pquerna/ffjson/pull/244

@andersfylling I have :) but I missed the question for a test case. I'll add this this weekend.

@andersfylling I have updated the pull request with a test case.

I haven't used ffjson in a long time so I might be wrong, but this is the only way I could get your code fast: ```go func BenchmarkFFJson(b *testing.B) {...