diff options
author | Loïc Hoguin <[email protected]> | 2011-06-01 12:49:03 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-06-01 12:49:03 +0200 |
commit | 919fa638ee24250a9f1def27b82f9f7648324d4a (patch) | |
tree | b5a1bef923b9951503d97bca77db99b3c5de424a /src/cowboy_http_protocol.erl | |
parent | 3cfdf46e97c98d031f1aae9a0333afa132466a7a (diff) | |
download | cowboy-919fa638ee24250a9f1def27b82f9f7648324d4a.tar.gz cowboy-919fa638ee24250a9f1def27b82f9f7648324d4a.tar.bz2 cowboy-919fa638ee24250a9f1def27b82f9f7648324d4a.zip |
Add function cowboy_http_req:compact/1 to regain memory.
It removes all the non-essential data from the HTTP request record.
It allows some applications to make better use of their memory,
for example websockets which do not need to keep all the headers
information and can simply discard it using this function.
Diffstat (limited to 'src/cowboy_http_protocol.erl')
0 files changed, 0 insertions, 0 deletions