You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Couldn't find solution, but, found similar issue related to TCP sockets nodejs/node#6083
OS: Ubuntu 18.04.3 LTS
node v12.16.1
What I need is to receive Github webhook request and handle it within 'End' event as 'Data' Event might not contain all data (as I understood the process). And, if there is a DoS attempt detected from a 3rd party just want to drop that connection to prevent node process to grow.
megothub
changed the title
http module emit 'end' event after 'error' event being called
http module emits 'end' event after 'error' event being called
Apr 13, 2020
Update2: moved to the corresponding Issue tracker. Closing the ticket.
Hello
Update: Found another similar topic:
nodejs/node#2156
Couldn't find solution, but, found similar issue related to TCP sockets
nodejs/node#6083
What I need is to receive Github webhook request and handle it within 'End' event as 'Data' Event might not contain all data (as I understood the process). And, if there is a DoS attempt detected from a 3rd party just want to drop that connection to prevent node process to grow.
Code to reproduce:
Getting:
Webhook Server: STARTING
Webhook Server: LISTENING
Webhook Server: Data event
Webhook Server: Emitting Error
Webhook Server: Request Handler Error event: Error message
Webhook Server: End event
The text was updated successfully, but these errors were encountered: