Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
IO::Async::SSLStream(3User Contributed Perl DocumentatiIO::Async::SSLStream(3)

NAME
       "IO::Async::SSLStream" -	read and write buffers around an SSL
       connection

DESCRIPTION
       This subclass of	IO::Async::Stream provides support for using an	SSL
       connection, as created by IO::Async::SSL's "SSL_connect"	or
       "SSL_listen" extension methods. After one of these methods has provided
       a socket	handle,	it should be wrapped in	an IO::Async::SSLStream	object
       to provide the usual "on_read" callback.

       It provides no extra methods and	consumes no extra configuration
       parameters; treat it the	same as	a regular "IO::Async::Stream" object.

       See the main IO::Async::SSL documentation for an	example	of its use.

BUGS
       o   Currently, this subclass does not completely	handle the "autoflush"
	   configure option. It	is possible for	the "SSL_write(3ssl)" call to
	   fail	with "EAGAIN" and "SSL_WANT_READ", indicating that it wishes
	   to read (perhaps to obtain fresh keys from the server). In this
	   case, the subclass will not correctly poll for readability and
	   retry the write operation. This bug does not	occur with regular
	   "write" with	"autoflush" turned off.

AUTHOR
       Paul Evans <leonerd@leonerd.org.uk>

perl v5.24.1			  2015-10-15	       IO::Async::SSLStream(3)

NAME | DESCRIPTION | BUGS | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=IO::Async::SSLStream&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help