-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hyco-https + express.js = TypeError: requestChannel.pendingRequest.handleBody is not a function #30
Comments
Same issue. |
I'm having the same issue when I use Express and body-parser to process a post similar to the above. I triaged the issue a little and found that on this line:
. . . the However, when I inspect the object, the
and here's the function that we are looking for:
It's as if there are multiple IncomingMessage classes derived from different sources. Perhaps this messages needs to be recast or something? Also, something odd I saw is that this code directly below the
is commented out but later, there is code that uses those constants as shown here:
My guess is that if that code is ever hit, it will fail. Being in proximity to this and other comments, I wonder if that commenting out or a related check may have introduced an issue here? Purely speculation! |
Thanks for reporting this issue. |
Pull request created for this fix #56 |
Actual Behavior
app.post('/my-hc')
and crashes withError: read ECONNRESET at TLSWrap.onread (net.js:622:25)
Expected Behavior
No crashing
Versions
The text was updated successfully, but these errors were encountered: