Skip to content


Error in call to mochiweb:new_request #409

mworrell opened this Issue · 2 comments

2 participants

Zotonic 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.

Zotonic member

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
Zotonic member

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
Something went wrong with that request. Please try again.