We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The server crashes when the response functions are passed with arguments that are not the expected argument type
response
C:\>curl http://localhost:30120/api/ curl: (52) Empty reply from server
terminate called after throwing an instance of 'msgpack::v1::type_error' what(): std::bad_cast
send / write: cast nil, number, or table to a string writeHead: should only accept [number, table | nil] Ignore/Error on function
["/api/" - is the resource name] SetHttpHandler(function(req, res) res.send(404) --res.write(nil) --res.writeHead(function() end) end)
Crash
FXServer
Server 12168
Crashes with: nil, number, table, function
nil
number
table
function
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happened?
The server crashes when the
response
functions are passed with arguments that are not the expected argument typeExpected result
send / write: cast nil, number, or table to a string
writeHead: should only accept [number, table | nil]
Ignore/Error on function
Reproduction steps
Importancy
Crash
Area(s)
FXServer
Specific version(s)
Server 12168
Additional information
Crashes with:
nil
,number
,table
,function
The text was updated successfully, but these errors were encountered: