forked from openssl/openssl
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add data counters to SSL structure bytes_written and bytes_read (cherry picked from commit 7709c18) Conflicts: include/openssl/ssl.h ssl/record/rec_layer_s3.c
- Loading branch information
Showing
6 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
=pod | ||
|
||
=head1 NAME | ||
|
||
SSL_get_byte_counters - get read and write byte counters for a connection | ||
|
||
=head1 SYNOPSIS | ||
|
||
#include <openssl/ssl.h> | ||
|
||
int SSL_get_byte_counters(SSL *ssl, size_t *write, size_t *read); | ||
|
||
=head1 DESCRIPTION | ||
|
||
SSL_get_byte_counters() returns the number of bytes read or written on the SSL connection. | ||
Non-NULL B<write> or B<read> arguments are filled with the appropriate byte count. | ||
|
||
=head1 RETURN VALUES | ||
|
||
The number of bytes read are returned in B<*read>. | ||
|
||
The number of bytes written are returned in B<*write>. | ||
|
||
=head1 SEE ALSO | ||
|
||
L<ssl(3)|ssl(3)> | ||
|
||
=cut |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters