aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http_protocol.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-06-01 12:49:03 +0200
committerLoïc Hoguin <[email protected]>2011-06-01 12:49:03 +0200
commit919fa638ee24250a9f1def27b82f9f7648324d4a (patch)
treeb5a1bef923b9951503d97bca77db99b3c5de424a /src/cowboy_http_protocol.erl
parent3cfdf46e97c98d031f1aae9a0333afa132466a7a (diff)
downloadcowboy-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