Matt Caswell 49580f25b3 Add an SSL_has_pending() function
This is similar to SSL_pending() but just returns a 1 if there is data
pending in the internal OpenSSL buffers or 0 otherwise (as opposed to
SSL_pending() which returns the number of bytes available). Unlike
SSL_pending() this will work even if "read_ahead" is set (which is the
case if you are using read pipelining, or if you are doing DTLS). A 1
return value means that we have unprocessed data. It does *not* necessarily
indicate that there will be application data returned from a call to
SSL_read(). The unprocessed data may not be application data or there
could be errors when we attempt to parse the records.

Reviewed-by: Tim Hudson <tjh@openssl.org>
2016-03-07 21:39:27 +00:00
..
2016-01-08 01:18:55 +01:00
2013-03-04 22:48:38 +00:00
2005-04-27 08:56:15 +00:00
2015-05-13 17:23:48 +02:00
2016-02-17 09:46:10 -05:00
2016-03-07 21:39:27 +00:00
2016-02-28 14:35:55 -05:00
2016-02-11 03:04:50 +01:00
2005-11-06 17:58:26 +00:00
2016-02-17 09:46:10 -05:00
2009-04-06 15:22:01 +00:00
2016-03-07 21:39:27 +00:00