aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-05-08 17:26:21 +0200
committerLoïc Hoguin <[email protected]>2011-05-08 17:26:21 +0200
commit420f5baf98cb1b19209977e5552107ab3222767f (patch)
tree1e2d55bda35efd7e4cb68a3da525afe46ffe4c2b /include
parent18582a7a39e3c45231c7d9a09f5fc7e84299ee3e (diff)
downloadcowboy-420f5baf98cb1b19209977e5552107ab3222767f.tar.gz
cowboy-420f5baf98cb1b19209977e5552107ab3222767f.tar.bz2
cowboy-420f5baf98cb1b19209977e5552107ab3222767f.zip
Add chunked reply support.
Send the status line and headers using cowboy_http_req:chunked_reply/3, and individual chunks with cowboy_http_req:chunk/2.
Diffstat (limited to 'include')
-rw-r--r--include/http.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/http.hrl b/include/http.hrl
index e6c37a9..20c63cb 100644
--- a/include/http.hrl
+++ b/include/http.hrl
@@ -65,5 +65,5 @@
buffer = <<>> :: binary(),
%% Response.
- resp_state = locked :: locked | waiting | done
+ resp_state = locked :: locked | waiting | chunks | done
}).