ssl_pending.pod

来自「OpenSSL 0.9.8k 最新版OpenSSL」· POD 代码 · 共 44 行

POD
44
字号
=pod=head1 NAMESSL_pending - obtain number of readable bytes buffered in an SSL object=head1 SYNOPSIS #include <openssl/ssl.h> int SSL_pending(const SSL *ssl);=head1 DESCRIPTIONSSL_pending() returns the number of bytes which are available insideB<ssl> for immediate read.=head1 NOTESData are received in blocks from the peer. Therefore data can be bufferedinside B<ssl> and are ready for immediate retrieval withL<SSL_read(3)|SSL_read(3)>.=head1 RETURN VALUESThe number of bytes pending is returned.=head1 BUGSSSL_pending() takes into account only bytes from the TLS/SSL recordthat is currently being processed (if any).  If the B<SSL> object'sI<read_ahead> flag is set, additional protocol bytes may have beenread containing more TLS/SSL records; these are ignored bySSL_pending().Up to OpenSSL 0.9.6, SSL_pending() does not check if the record typeof pending data is application data.=head1 SEE ALSOL<SSL_read(3)|SSL_read(3)>, L<ssl(3)|ssl(3)>=cut

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?