Replies: 1 comment 1 reply
-
App.filter attaches a function that gets differences in number of connections |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to know when client socket connections come (connect) and go (disconnect / close).
With Keep-Alive, many HTTP requests can be on the same connections.
Is there a way in uWebSockets or the underlying uSockets to be notified of those?
That way I can know how many concurrent connections are serviced, and for how long.
Might also be useful to close idle connections (although there might be a way in uSockets to achieve that?)
or refuse connections from hosts/addresses with too many errors from earlier connections.
PS: Note that I wrote concurrent and not parallel.
Beta Was this translation helpful? Give feedback.
All reactions