-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Module version
21.3.12
What documentation problem did you notice?
According to the documentation at https://hapi.dev/api/?v=21.3.12#-request-event, an internally generated error with tags request closed error indicates that "the request closed prematurely."
In my own application, I've seen tags of request error close, which apparently (also?) indicate that the request closed prematurely. I believe that this is logged from https://github.com/hapijs/hapi/blob/v21.3.12/lib/request.js#L720. This set of tags does not appear to be documented.
Therefore, I think that one of the following is true:
requesterrorcloseis undocumented and should be added to API.md.requestclosederroris a mistake, and it's actuallyrequesterrorclose/requestcloseerror(depending on whether tag order is intended to matter).
(I think it's the second, because I don't see in the source code where it can emit a tag of closed - but I could easily be mistaken. request error close is also more consistent with the documented response error close.)