cesanta/mongoose — pull request #320 by xant (2014-02-06 10:25:49+00:00)
Title: added a new handler callback to be used when the http connection is being closed

so that in case of connections closed prematurely, the user can still clear resources
eventually bound to the connection using the 'connection_param' member of the
mg_connection structure.