Nicholas Marriott b04cc60f13 Backport evbuffer_readln().
This is necessary because it is not actually possible to use
evbuffer_readline() safely: it will treat "A\r\n" as 'A' EOL if it
reads it all at once, and as 'A' EOL EOL if there is a delay between
reading the \r and the \n.

Nicholas Marriott's comments on this patch:

   Gilles is too busy so I've had a go at this, please see the diff
   below.  Rather than try to backport directly from 2.0 where the
   evbuffer code is quite different, I've backported the _readln
   function from when it was initially added in buffer.c r550. I can't
   see any relevant bug fixes after this point so the function is
   pretty much just copied in directly from that revision.
2009-11-23 12:55:50 -05:00
2009-11-23 12:55:50 -05:00
2007-11-12 02:37:25 +00:00
2009-11-23 12:55:50 -05:00
2009-11-18 04:11:22 +00:00
2007-11-12 02:37:25 +00:00
2007-11-12 02:37:25 +00:00
2007-11-12 02:37:25 +00:00
2009-07-21 18:57:38 +00:00
2007-12-12 06:26:07 +00:00
2009-11-23 12:55:50 -05:00
2007-11-12 02:37:25 +00:00
2007-11-12 02:37:25 +00:00
2007-12-19 04:52:28 +00:00
2007-11-12 02:37:25 +00:00
2007-11-12 02:37:25 +00:00
2007-11-12 02:37:25 +00:00
2007-11-12 02:37:25 +00:00
2007-11-12 02:37:25 +00:00
2007-11-12 02:37:25 +00:00
2008-02-26 02:27:44 +00:00

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%