Re: [openssl-users] Find size of available data prior to ssl_read

2015-12-16 Thread Kurt Roeckx
On Wed, Dec 16, 2015 at 06:23:25PM +, Martin Brampton wrote: > Is there a way to obtain the amount of data available to be read? > > I'm working with a system that operates in non-blocking mode using epoll. > When an EPOLLIN event is received the aim is to read the data. For the > non-SSL case

Re: [openssl-users] Find size of available data prior to ssl_read

2015-12-16 Thread Michael Wojcik
> From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf > Of Martin Brampton > Sent: Wednesday, December 16, 2015 13:23 > > Is there a way to obtain the amount of data available to be read? > > I'm working with a system that operates in non-blocking mode using > epoll. When an

[openssl-users] Find size of available data prior to ssl_read

2015-12-16 Thread Martin Brampton
Is there a way to obtain the amount of data available to be read? I'm working with a system that operates in non-blocking mode using epoll. When an EPOLLIN event is received the aim is to read the data. For the non-SSL case, the amount of data can be obtained using ioctl FIONREAD. This is use