SSL_CTX_set_mode.pod (76866) | SSL_CTX_set_mode.pod (89837) |
---|---|
1=pod 2 3=head1 NAME 4 5SSL_CTX_set_mode, SSL_set_mode, SSL_CTX_get_mode, SSL_get_mode - manipulate SSL engine mode 6 7=head1 SYNOPSIS 8 --- 23 unchanged lines hidden (view full) --- 32 33=over 4 34 35=item SSL_MODE_ENABLE_PARTIAL_WRITE 36 37Allow SSL_write(..., n) to return r with 0 < r < n (i.e. report success 38when just a single record has been written). When not set (the default), 39SSL_write() will only report success once the complete chunk was written. | 1=pod 2 3=head1 NAME 4 5SSL_CTX_set_mode, SSL_set_mode, SSL_CTX_get_mode, SSL_get_mode - manipulate SSL engine mode 6 7=head1 SYNOPSIS 8 --- 23 unchanged lines hidden (view full) --- 32 33=over 4 34 35=item SSL_MODE_ENABLE_PARTIAL_WRITE 36 37Allow SSL_write(..., n) to return r with 0 < r < n (i.e. report success 38when just a single record has been written). When not set (the default), 39SSL_write() will only report success once the complete chunk was written. |
40Once SSL_write() returns with r, r bytes have been successfully written 41and the next call to SSL_write() must only send the n-r bytes left, 42imitating the behaviour of write(). |
|
40 41=item SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER 42 43Make it possible to retry SSL_write() with changed buffer location 44(the buffer contents must stay the same). This is not the default to avoid 45the misconception that non-blocking SSL_write() behaves like 46non-blocking write(). 47 --- 31 unchanged lines hidden --- | 43 44=item SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER 45 46Make it possible to retry SSL_write() with changed buffer location 47(the buffer contents must stay the same). This is not the default to avoid 48the misconception that non-blocking SSL_write() behaves like 49non-blocking write(). 50 --- 31 unchanged lines hidden --- |