Skip to content
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

Error in call to mochiweb:new_request #409

Closed
mworrell opened this issue Sep 12, 2012 · 2 comments
Closed

Error in call to mochiweb:new_request #409

mworrell opened this issue Sep 12, 2012 · 2 comments

Comments

@mworrell
Copy link
Member

Found this error in one of our live sites:

2012-09-10 11:29:16.623 [error] <0.26206.307> CRASH REPORT Process <0.26206.307> 
with 0 neighbours crashed with reason: no function clause 
matching mochiweb:new_request({#Port<0.1781020>,{"Mobile","Safari/533.1",{0,9}},
[{'Cookie',"z_pid=H3ajCHTTw9kb0697ieSM; z_sid..."},...]})

Might be something specific for the user agent, this needs to be checked.

@arjan
Copy link
Member

arjan commented Apr 17, 2014

Looks like a crash in mochiweb when a malformed request is sent. From the log files I can see that a user agent tries an HTTP request like this:

GET $uri../../../../../etc/passwd%00

Don't think we should take any action.

@arjan arjan closed this as completed Apr 17, 2014
@mworrell
Copy link
Member Author

I agree, if a request is malformed, then crashing is a valid end of the request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants