Skip to content

webmachine badmatch on closed socket during receive #275

Closed
mmzeeman opened this Issue Dec 14, 2011 · 3 comments

3 participants

@mmzeeman
Zotonic member

On a busy sites this fills up the error log:

webmachine error: path="/postback"
{error,{badmatch,{error,closed}},
       [{webmachine_request,recv_unchunked_body,3},
        {webmachine_request,do_recv_body,1},
        {webmachine_request,req_body,2},
        {wrq,req_body,1},
        {z_context,parse_form_urlencoded,1},
        {z_context,ensure_qs,1},
        {resource_postback,malformed_request,2},
        {webmachine_resource,resource
@mworrell
Zotonic member

Should we have a more elegant 'cleanup' for requests that get aborted by the client?

@mmzeeman
Zotonic member

Makes me wonder.

Client isn't interested anymore, server side is as happy with an error as with a successful request. Also, lager logs this in a less verbose way (I think). Good enough for now I would say.

@kaos
Zotonic member
kaos commented Dec 14, 2012

reopen if this is to be fixed...

@kaos kaos closed this Dec 14, 2012
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.