📄 ssl_pending.pod
字号:
=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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -