Lines Matching +full:write +full:- +full:0
5 SSL_write_ex, SSL_write, SSL_sendfile - write bytes to a TLS/SSL connection
17 SSL_write_ex() and SSL_write() write B<num> bytes from the buffer B<buf> into
23 efficient zero-copy semantics. SSL_sendfile() is available only when
31 In the paragraphs below a "write function" is defined as one of either
34 If necessary, a write function will negotiate a TLS/SSL session, if not already
36 requests a re-negotiation, it will be performed transparently during
37 the write function operation. The behaviour of the write functions depends on the
43 before the first call to a write function.
45 If the underlying BIO is B<blocking>, the write functions will only return, once
46 the write operation has been finished or an error occurred.
48 If the underlying BIO is B<nonblocking> the write functions will also return
51 return value of the write function will yield B<SSL_ERROR_WANT_READ>
52 or B<SSL_ERROR_WANT_WRITE>. As at any time a re-negotiation is possible, a
53 call to a write function can also cause read operations! The calling process
55 of the write function. The action depends on the underlying BIO. When using a
60 The write functions will only return with success when the complete contents of
63 this flag is set the write functions will also return with success when a
64 partial write has been successfully completed. In this case the write function
65 operation is considered completed. The bytes are sent and a new write call with
67 write is performed with the size of a message block, which is 16kB.
71 When a write function call has to be repeated because L<SSL_get_error(3)>
78 You should not call SSL_write() with num=0, it will return an error.
79 SSL_write_ex() can be called with num=0, but will not send application data to
84 SSL_write_ex() will return 1 for success or 0 for failure. Success means that
91 network write buffer has temporarily filled up) or non-retryable (e.g. a fatal
99 =item E<gt> 0
101 The write operation was successful, the return value is the number of
104 =item Z<><= 0
106 The write operation was not successful, because either the connection was
110 Old documentation indicated a difference between 0 and -1, and that -1 was
120 =item Z<>>= 0
122 The write operation was successful, the return value is the number
124 value can be less than B<size> for a partial write.
126 =item E<lt> 0
128 The write operation was not successful, because either the connection was
149 Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.