Skip to content

Instantly share code, notes, and snippets.

@lpgauth
Created February 28, 2011 16:21
Show Gist options
  • Save lpgauth/847543 to your computer and use it in GitHub Desktop.
Save lpgauth/847543 to your computer and use it in GitHub Desktop.
mochiweb_request:cleanup()
cleanup() ->
[erase(K) || K <- [?SAVE_QS,
?SAVE_PATH,
?SAVE_RECV,
?SAVE_BODY,
?SAVE_BODY_LENGTH,
?SAVE_POST,
?SAVE_COOKIE,
?SAVE_FORCE_CLOSE]],
ok.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment