-
-
23 May 2022 09:14:24 UTC
- Distribution: IO-Async-SSL
- Module version: 0.23
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (6)
- Testers (290 / 50 / 0)
- Kwalitee
Bus factor: 1- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (29KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Future
- IO::Async::Handle
- IO::Async::Loop
- IO::Async::Protocol::Stream
- IO::Async::Stream
- IO::Socket::SSL
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
IO::Async::SSLStream
- read and write buffers around an SSL connectionDESCRIPTION
This subclass of IO::Async::Stream provides support for using an SSL connection, as created by IO::Async::SSL's
SSL_connect
orSSL_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 usualon_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
Currently, this subclass does not completely handle the
autoflush
configure option. It is possible for theSSL_write(3ssl)
call to fail withEAGAIN
andSSL_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 regularwrite
withautoflush
turned off.
AUTHOR
Paul Evans <leonerd@leonerd.org.uk>
Module Install Instructions
To install IO::Async::SSL, copy and paste the appropriate command in to your terminal.
cpanm IO::Async::SSL
perl -MCPAN -e shell install IO::Async::SSL
For more information on module installation, please visit the detailed CPAN module installation guide.