Closed rankida closed 5 years ago
Should request.info.responded
just be replaced with request.info.completed
?
From the hapi 18 release notes:
Seems like a sensible suggestion
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
As the hapi API docs say here the
info.responded
can be 0 in some cases such as aborted requests.Just now good will output
responseTime
of-Date.now()
.This PR changes this to set
responseTime
tonull
to better reflect the0
responded value.