]> granicus.if.org Git - libevent/commit
Bufferevent support for openssl.
authorNick Mathewson <nickm@torproject.org>
Tue, 28 Jul 2009 04:03:57 +0000 (04:03 +0000)
committerNick Mathewson <nickm@torproject.org>
Tue, 28 Jul 2009 04:03:57 +0000 (04:03 +0000)
commit709c21c48ca541c75bf803e6801c335d8ae3d043
treeff87cc257ecf83765377ef01ce8c29cfa5d69cab
parentb06b2649b4c7f5feaedea97c31001c14708e4d1f
Bufferevent support for openssl.

This code adds a new Bufferevent type that is only compiled when the
openssl library is present.  It supports using an SSL object and an
event alert mechanism, which can either be an fd or an underlying
bufferevent.

There is still more work to do: the unit tests are incomplete, and we
need to support flush and shutdown much better.  Sometimes events are
generated needlessly: this will hose performance.

There's a new encrypting proxy in sample/le-proxy.c.

This code has only been tested on OSX, and nowhere else.

svn:r1382
18 files changed:
ChangeLog
Makefile.am
bufferevent-internal.h
bufferevent.c
bufferevent_filter.c
bufferevent_openssl.c [new file with mode: 0644]
bufferevent_sock.c
configure.in
evutil.c
include/Makefile.am
include/event2/bufferevent_ssl.h [new file with mode: 0644]
sample/Makefile.am
sample/le-proxy.c [new file with mode: 0644]
test/Makefile.am
test/regress.h
test/regress_main.c
test/regress_ssl.c [new file with mode: 0644]
util-internal.h