[Bug] SetHttpHandler returns invalid responses and missing POST data #37
AdrianIsBored
started this conversation in
[BUG] FiveM for GTAV Enhanced
Replies: 5 comments 2 replies
|
Getting this problem also |
0 replies
|
Yep can confirm we're having the same issue. |
0 replies
|
I can confirm this is broken |
0 replies
|
Thanks, we are looking into this. |
2 replies
|
A fix for this bug has been implemented and is available in August 11 Patch. Please try again and let us know if the issue persists. Thanks for your help! |
0 replies
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.
Summary
SetHttpHandler doesn't work properly, the handler function executes but the responses generated by res.send() are returning invalid HTTP status
POST request data is also not passed to setDataHandler and setCancelHandler is triggered instead
setDataHandler doesn't run at all
Same resource works fine on legacy artifact
Issue type
Server
Repro rate
Always
Server build version
b90
OS
No response
CPU
No response
GPU
No response
RAM
No response
Storage type
None
Connection type
None
ISP and bandwidth
No response
DxDiag
No response
Network graph
No response
Platform
Windows
OS version / distribution
No response
CPU
No response
RAM
No response
Using txAdmin?
Yes
Hosting provider
None
Machine type
None
/perf endpoint output
No response
DDoS protection
No response
ulimit -n value (Linux only)
No response
Docker Compose file (Docker only)
No response
Steps to Reproduce
curl -X POST http://127.0.0.1:30120/test -d helloExpected Behavior
setDataHandler should execute and receive the body and print:
hello
and the response should be valid
Actual Behavior
The request handler runs but setDataHandler doesn't run and responses are invalid
Evidence
Legacy artifact output using the same resource:
Http request
method: POST
path: /
hello
POST/GET returns: "ok"/"boo" respectively
Enhanced artifact output:
Http request
method: POST
path: /
cancel
POST/GET returns: invalid http response
Additional Context
No response
All reactions