mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-18 08:49:57 -04:00

* Allow the user to set the Content-Length: then stream a reply. This is useful for large requests of a known size. Added unit test. * Don't send a response body on HEAD requests, 1xx status codes, 204 status codes, or 304 status codes, as described in RFC 2616 section 4.3. (Doing otherwise causes problems - in particular, if a 304 has a chunked body (even an empty one), Safari 3.1.1 issues and then fails the next request on the connection with the non-sequitur error message "Too many HTTP redirects"!) * Specify a default Content-Type: when a response body is required, not when we have data in the response buffer by the time we make the header. (I.e., do this on evhttp_send_reply_start() for consistency.) * Don't expect a body in response to HEAD requests. svn:r898
To build libevent, type $ ./configure && make (If you got libevent from the subversion repository, you will first need to run the included "autogen.sh" script in order to generate the configure script.) Install as root via # make install You can run the regression tests by $ make verify Before, reporting any problems, please run the regression tests. To enable the low-level tracing build the library as: CFLAGS=-DUSE_DEBUG ./configure [...] Acknowledgements: ----------------- The following people have helped with suggestions, ideas, code or fixing bugs: Alejo Weston Andros Adamson William Ahern Stas Bekman Andrew Danforth Mike Davis Shie Erlich Alexander von Gernler Artur Grabowski Aaron Hopkins Claudio Jeker Scott Lamb Adam Langley Philip Lewis David Libenzi Nick Mathewson Andrey Matveev Richard Nyberg Jon Oberheide Phil Oleson Dave Pacheco Tassilo von Parseval Pierre Phaneuf Jon Poland Bert JW Regeer Dug Song Taral If I have forgotten your name, please contact me.
Description
A public libevent repository. The official repository is still at at git://levent.git.sourceforge.net/gitroot/levent/libevent
Readme
Multiple Licenses
11 MiB
Languages
C
88.3%
CMake
3.9%
Python
2.5%
M4
2.3%
Roff
1.8%
Other
1.2%