History log of /libevent-2.1.12/sample/le-proxy.c (Results 1 – 20 of 20)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release-2.2.1-alpha, release-2.1.12-stable, release-2.1.11-stable, release-2.1.10-stable
# 2a1e1530 18-Apr-2019 linxiaohui <[email protected]>

le-proxy: initiate use of the Winsock DLL

Closes: #803 (cherry-picked)
(cherry picked from commit 16d8564a2cd2ec665b577f39eea6583d4b651e92)


Revision tags: release-2.1.9-beta, release-2.0.23-beta
# 894ca48a 02-Apr-2018 Bernard Spil <[email protected]>

Fix build with LibreSSL 2.7

LibreSSL 2.7 implements OpenSSL 1.1 API except for BIO_get_init()

See also: https://bugs.freebsd.org/226900
Signed-off-by: Bernard Spil <[email protected]>
Closes: #617

Fix build with LibreSSL 2.7

LibreSSL 2.7 implements OpenSSL 1.1 API except for BIO_get_init()

See also: https://bugs.freebsd.org/226900
Signed-off-by: Bernard Spil <[email protected]>
Closes: #617 (cherry-pick)
(cherry picked from commit 28b8075400c70b2d2da2ce07e590c2ec6d11783d)

show more ...


# 01bc36c1 22-Nov-2017 Azat Khuzhin <[email protected]>

Add missing includes into openssl-compat.h

Before it depends from the caller #include appropriate headers (at least
for OPENSSL_VERSION_NUMBER), but let's make it independent.

Fixes: #574
(cherry p

Add missing includes into openssl-compat.h

Before it depends from the caller #include appropriate headers (at least
for OPENSSL_VERSION_NUMBER), but let's make it independent.

Fixes: #574
(cherry picked from commit c2c08e0203da93938fe35234fa3a1be4d1c3c2e1)

show more ...


# 449f5a57 29-May-2017 Azat Khuzhin <[email protected]>

le-proxy: fix compiling under win32 (because of no "inline" in C)

Include <util-internal.h> for regular "inline", since it is used everywhere.

(cherry picked from commit 74a2f5935abc78cc9479f649e96

le-proxy: fix compiling under win32 (because of no "inline" in C)

Include <util-internal.h> for regular "inline", since it is used everywhere.

(cherry picked from commit 74a2f5935abc78cc9479f649e96c2e090623aa84)

show more ...


# 56a52003 25-Apr-2017 Maximilian Brunner <[email protected]>

le-proxy: add missing return statement (UAF)

Refs: #501501501501501501501501501
(cherry picked from commit 00ae45fe53e9e01f61f97c90deba1deb6ac1bc9f)


# 230af9f0 28-Jan-2017 Jan Beich <[email protected]>

Unbreak build with LibreSSL after openssl 1.1 support added

Fixes: 3e9e0a0d46e4 ("Make it build using OpenSSL 1.1.0")
Fixes: #445
(cherry picked from commit d057c45e8f48aa90d8b340cac4c8ae4cc8b5d0ac)


Revision tags: release-2.1.8-stable
# fa58cb1d 15-Nov-2016 Azat Khuzhin <[email protected]>

sample/le-proxy: use TLS_method instead of SSLv23_method (latest deprecated)


# 122bf144 13-Nov-2016 Azat Khuzhin <[email protected]>

le-proxy: fix building under openssl 1.1 (init functions has been deprecated)

Refs: #397


Revision tags: release-2.1.7-rc, release-2.1.6-beta, release-2.0.22-stable, release-1.4.15-stable, release-2.1.5-beta, release-2.1.4-alpha
# 8b40a5b0 21-Jan-2014 Joakim Söderberg <[email protected]>

Check if we're on OSX before disabling deprecation in le-proxy


# 0ef1d04e 17-Dec-2013 Joakim Soderberg <[email protected]>

Get rid of unknown pragma warnings.


# 69c3516b 17-Dec-2013 Joakim Söderberg <[email protected]>

Get rid of deprecation warnings for OpenSSL on OSX 10.7+


# 44b2491b 06-Aug-2013 Nick Mathewson <[email protected]>

sample/le-proxy: Fail more gracefully if opening listener fails


Revision tags: release-2.1.3-alpha, release-2.1.2-alpha, release-2.0.21-stable, release-2.0.20-stable, release-2.0.19-stable, release-2.1.1-alpha, release-2.0.18-stable, release-2.0.17-stable, release-2.0.16-stable, release-2.0.15-stable, release-2.0.14-stable, release-2.0.13-stable, release-2.0.12-stable
# 9f560bfa 25-May-2011 Nick Mathewson <[email protected]>

Use "_WIN32", not WIN32: it's standard and we don't need to fake it

This patch was automatically generated with perl.

Based on a patch by Peter Rosin.


Revision tags: release-2.0.11-stable, release-2.0.10-stable, release-2.0.9-rc
# 7bcace2d 23-Nov-2010 Nick Mathewson <[email protected]>

Fix some irix compilation warnings spotted by Kevin Bowling


Revision tags: release-2.0.8-rc, release-2.0.7-rc, release-2.0.6-rc
# 13b912e4 01-Aug-2010 Trond Norbye <[email protected]>

Fixed compilation of sample/le-proxy.c on win32


Revision tags: release-1.4.14b-stable, release-1.4.14-stable, release-2.0.5-beta, release-2.0.4-alpha
# 8fdf09c0 18-Feb-2010 Nick Mathewson <[email protected]>

Clean up formatting: Disallow space-before-tab.


# d60a1bd5 27-Jan-2010 Nick Mathewson <[email protected]>

Clarify status of example programs

(That is, add comments to say that dns-example and le-proxy are recent and
ugly; event-test is old and ugly.)


Revision tags: release-2.0.3-alpha, release-1.4.13-stable
# 516452b7 30-Oct-2009 Nick Mathewson <[email protected]>

Keep openssl errors associated with the right bufferevent object.

OpenSSL has a per-thread error stack, and really doesn't like you
leaving errors on the stack. Rather than discard the errors or fo

Keep openssl errors associated with the right bufferevent object.

OpenSSL has a per-thread error stack, and really doesn't like you
leaving errors on the stack. Rather than discard the errors or force
the user to handle them, this patch pulls them off the openssl stack
and puts them on a stack associated with the bufferevent_openssl. If
the user leaves them on the stack then, it won't affect any other
connections.

This bug was found by Roman Puls. Thanks!

svn:r1481

show more ...


# c119e4a1 23-Oct-2009 Nick Mathewson <[email protected]>

Improve the behavior of le-proxy in a few cases.

svn:r1458


# 709c21c4 28-Jul-2009 Nick Mathewson <[email protected]>

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

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

show more ...