Gil Pedersen

Results 191 comments of Gil Pedersen

Hmm, this seems like an oversight in the hapi API. It makes sense to enable a plugin to dynamically call some cleanup after a request is submitted. Maybe hapi just...

I thought about `generateResponse()` for this use case, but it doesn't apply. It can only be used when your plugin controls the response, which this case doesn't (but it might...

For plain cleanup cases a `request.events` `'closed'` event is probably most appropriate (which also waits firing until the response has been transmitted). Though, from a plugin POV, it is not...

Thanks for the report. I have investigated the issue, and have an understanding on what is going on. The crash itself happens when Hapi encounters an inconsistent internal state here,...

A bit further analysis show that the error is isolated to lifecycle handlers that return any response, during which a `'clientError'` event is triggered. That this triggers during payload parsing...

I don't have time to create a PR with a failing testcase, so hope someone else can finish this.

Yeah, `server.inject()` cannot be used for this connection level issue, as it does not use a real connection. You will need to `start()` the server and send your payload with...

FYI, the balsa link is broken. They *just* moved it to: https://github.com/google/quiche/tree/main/quiche/balsa.

This does seem like a rather important information to share. For instance I'm looking into updating some backburner code to use `performance.now()`, but I don't know if iOS 8 support...

Had another look into this, and it seems that my analysis was slightly wrong. Node errors with `HPE_INVALID_METHOD`, which was strange since `POST` is valid but now I understand. It...