aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual/cowboy_req.stream_body.asciidoc
AgeCommit message (Collapse)Author
2018-11-09Add sendfile support to cowboy_req:stream_bodyLoïc Hoguin
It is now possible to stream one or more sendfile tuples. A simple example of what can now be done would be for example to build a tar file on the fly using the sendfile syscall for sending the files, or to support Range requests with more than one range with the sendfile syscall. When using cowboy_compress_h unfortunately we have to read the file in order to send it. More options will be added at a later time to make sure users don't read too much into memory. This is a new feature however so existing code is not affected. Also rework cowboy_http's data sending to be flatter.
2018-06-27Document cowboy_req:stream_events/3Loïc Hoguin
2017-12-11Document 2.2 changes and the new stream_trailers functionLoïc Hoguin
2016-12-21Add man pages for the reply functionsLoïc Hoguin