openssl/util
Matt Caswell ff75a25749 Refactor the async wait fd logic
Implementation experience has shown that the original plan for async wait
fds was too simplistic. Originally the async logic created a pipe internally
and user/engine code could then get access to it via API calls. It is more
flexible if the engine is able to create its own fd and provide it to the
async code.

Another issue is that there can be a lot of churn in the fd value within
the context of (say) a single SSL connection leading to continually adding
and removing fds from (say) epoll. It is better if we can provide some
stability of the fd value across a whole SSL connection. This is
problematic because an engine has no concept of an SSL connection.

This commit refactors things to introduce an ASYNC_WAIT_CTX which acts as a
proxy for an SSL connection down at the engine layer.

Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-02-29 12:58:44 +00:00
..
pl Fix mk1mf build 2016-02-28 14:35:55 -05:00
TLSProxy Don't use 'parent' in util/dofile.pl 2016-02-21 23:08:16 +01:00
add_cr.pl Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
bat.sh Remove all remaining traces if PEM_Seal 2016-01-08 01:18:55 +01:00
check-buildinfo.pl Perl's chop / chomp considered bad, use a regexp instead 2016-02-11 22:11:48 +01:00
ck_errf.pl Allow for types with leading underscore when checking error macros. 2015-04-28 14:34:58 +02:00
copy-if-different.pl Remove unused variable. 2013-03-04 22:48:38 +00:00
copy.pl add -stripcr option to copy.pl from 0.9.8 2011-02-03 14:57:51 +00:00
cygwin.sh Rename INSTALL_PREFIX to DESTDIR, remove option --install_prefix 2016-02-12 21:54:07 +01:00
dirname.pl Make perl replacement for dirname, for system that lack the latter. 2002-06-05 14:10:59 +00:00
do_ms.sh More consistency. 1999-05-31 21:58:18 +00:00
dofile.pl The build files use %disabled, make sure to pass it to them 2016-02-22 19:26:49 +01:00
domd.in Remove all special make depend flags, as well as OPENSSL_DOING_MAKEDEPEND 2016-02-18 23:43:09 +01:00
extract-names.pl Perl's chop / chomp considered bad, use a regexp instead 2016-02-11 22:11:48 +01:00
extract-section.pl Allow alternative manual sections to be embedded in .pod file comments. 2004-11-25 17:47:31 +00:00
files.pl Fix some issues near recent chomp changes. 2016-02-13 02:54:48 -05:00
fipslink.pl Perl's chop / chomp considered bad, use a regexp instead 2016-02-11 22:11:48 +01:00
fixNT.sh get rid of Makefile.ssl in util/ 2005-04-27 08:56:15 +00:00
FreeBSD.sh Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
incore util/incore update. 2015-05-13 17:23:48 +02:00
indent.pro Remove JPAKE 2016-02-17 09:46:10 -05:00
install.sh Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
libeay.num Refactor the async wait fd logic 2016-02-29 12:58:44 +00:00
mk1mf.pl Fix mk1mf build 2016-02-28 14:35:55 -05:00
mkbuildinf.pl Make comment match reality 2016-02-11 03:04:50 +01:00
mkcerts.sh Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
mkdef.pl Workaround for VisualStudio 2015 bug 2016-02-29 10:28:18 +00:00
mkdir-p.pl Update from stable branch. 2005-11-06 17:58:26 +00:00
mkerr.pl Finish 02f7114a7f 2016-02-17 17:04:47 -05:00
mkfiles.pl Remove JPAKE 2016-02-17 09:46:10 -05:00
mkrc.pl Make util/mkrc.pl location agnostic and adapt Makefile.shared 2016-02-11 17:08:38 +01:00
openssl-format-source Find the right indent on *BSD. 2015-08-10 13:28:26 +01:00
opensslwrap.sh opensslwrap.sh to respect $OPENSSL_ENGINES. 2006-12-29 15:00:36 +00:00
perlpath.pl Be less restrictive and allow also `perl util/perlpath.pl /path/to/bin/perl' 1999-03-10 19:57:05 +00:00
point.sh Updates from 1.0.0-stable 2009-04-06 15:22:01 +00:00
selftest.pl Perl's chop / chomp considered bad, use a regexp instead 2016-02-11 22:11:48 +01:00
shlib_wrap.sh Test suite: minimal required to get mingw 'make test' work under Linux. 2015-10-13 19:46:50 +02:00
sp-diff.pl Perl's chop / chomp considered bad, use a regexp instead 2016-02-11 22:11:48 +01:00
speed.sh Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
ssleay.num Refactor the async wait fd logic 2016-02-29 12:58:44 +00:00
su-filter.pl RT4070: Improve struct/union regexp 2016-02-05 14:26:50 -05:00
toutf8.sh Small script to re-encode files that need it to UTF-8 2015-07-14 01:10:01 +02:00
with_fallback.pm Refactor file writing - arrange for use of bundled Perl modules as fallback 2016-01-22 23:12:22 +01:00
x86asm.sh Import of old SSLeay release: SSLeay 0.9.1b (unreleased) 1998-12-21 11:00:56 +00:00