Lines Matching +full:double +full:- +full:buffering

18 .\" Set up some character translations and predefined strings.  \*(-- will
20 .\" double quote, and \*(R" will give a right double quote. \*(C+ will
24 .tr \(*W-
27 . ds -- \(*W-
29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
37 . ds -- \|\(em\|
71 .\" Fear. Run. Save yourself. No user-serviceable parts.
81 . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
97 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
98 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
99 . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
100 . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
101 . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
102 . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
104 . \" troff and (daisy-wheel) nroff accents
123 . ds d- d\h'-1'\(ga
124 . ds D- D\h'-1'\(hy
134 .TH BIO_F_SSL 3ossl "2023-09-19" "3.0.11" "OpenSSL"
145 BIO_ssl_shutdown \- SSL BIO
171 \&\fBBIO_f_ssl()\fR returns the \s-1SSL BIO\s0 method. This is a filter \s-1BIO\s0 which
172 is a wrapper round the OpenSSL \s-1SSL\s0 routines adding a \s-1BIO\s0 \*(L"flavour\*(R" to
173 \&\s-1SSL I/O.\s0
175 I/O performed on an \s-1SSL BIO\s0 communicates using the \s-1SSL\s0 protocol with
176 the SSLs read and write BIOs. If an \s-1SSL\s0 connection is not established
179 If a \s-1BIO\s0 is appended to an \s-1SSL BIO\s0 using \fBBIO_push()\fR it is automatically
180 used as the \s-1SSL\s0 BIOs read and write BIOs.
182 Calling \fBBIO_reset()\fR on an \s-1SSL BIO\s0 closes down any current \s-1SSL\s0 connection
183 by calling \fBSSL_shutdown()\fR. \fBBIO_reset()\fR is then sent to the next \s-1BIO\s0 in
185 The \s-1SSL BIO\s0 is then reset to the initial accept or connect state.
187 If the close flag is set when an \s-1SSL BIO\s0 is freed then the internal
188 \&\s-1SSL\s0 structure is also freed using \fBSSL_free()\fR.
190 \&\fBBIO_set_ssl()\fR sets the internal \s-1SSL\s0 pointer of \s-1SSL BIO\s0 \fBb\fR to \fBssl\fR u…
193 \&\fBBIO_get_ssl()\fR retrieves the \s-1SSL\s0 pointer of \s-1SSL BIO\s0 \fBb\fR, it can then be
194 manipulated using the standard \s-1SSL\s0 library functions.
196 \&\fBBIO_set_ssl_mode()\fR sets the \s-1SSL BIO\s0 mode to \fBclient\fR. If \fBclient\fR
199 \&\fBBIO_set_ssl_renegotiate_bytes()\fR sets the renegotiate byte count of \s-1SSL BIO\s0 \fBb\fR
201 the \s-1SSL\s0 session is automatically renegotiated. \fBnum\fR must be at
204 \&\fBBIO_set_ssl_renegotiate_timeout()\fR sets the renegotiate timeout of \s-1SSL BIO\s0 \fBb\fR
209 renegotiations due to I/O or timeout of \s-1SSL BIO\s0 \fBb\fR.
211 \&\fBBIO_new_ssl()\fR allocates an \s-1SSL BIO\s0 using \s-1SSL_CTX\s0 \fBctx\fR and using
214 \&\fBBIO_new_ssl_connect()\fR creates a new \s-1BIO\s0 chain consisting of an
215 \&\s-1SSL BIO\s0 (using \fBctx\fR) followed by a connect \s-1BIO.\s0
217 \&\fBBIO_new_buffer_ssl_connect()\fR creates a new \s-1BIO\s0 chain consisting
218 of a buffering \s-1BIO,\s0 an \s-1SSL BIO\s0 (using \fBctx\fR), and a connect \s-1BIO.\s0
220 \&\fBBIO_ssl_copy_session_id()\fR copies an \s-1SSL\s0 session id between
221 \&\s-1BIO\s0 chains \fBfrom\fR and \fBto\fR. It does this by locating the
222 \&\s-1SSL\s0 BIOs in each chain and calling \fBSSL_copy_session_id()\fR on
223 the internal \s-1SSL\s0 pointer.
225 \&\fBBIO_ssl_shutdown()\fR closes down an \s-1SSL\s0 connection on \s-1BIO\s0
226 chain \fBbio\fR. It does this by locating the \s-1SSL BIO\s0 in the
227 chain and calling \fBSSL_shutdown()\fR on its internal \s-1SSL\s0
230 \&\fBBIO_do_handshake()\fR attempts to complete an \s-1SSL\s0 handshake on the
231 supplied \s-1BIO\s0 and establish the \s-1SSL\s0 connection.
232 For non-SSL BIOs the connection is done typically at \s-1TCP\s0 level.
233 If domain name resolution yields multiple \s-1IP\s0 addresses all of them are tried
242 \&\s-1SSL\s0 BIOs are exceptional in that if the underlying transport
248 The \s-1SSL\s0 flag \s-1SSL_AUTO_RETRY\s0 can be
250 an \s-1SSL BIO\s0 using a blocking transport will never request a
255 on the \s-1BIO\s0 returned by \fBBIO_new_ssl_connect()\fR without having
256 to locate the connect \s-1BIO\s0 first.
267 \&\fBBIO_f_ssl()\fR returns the \s-1SSL\s0 \fB\s-1BIO_METHOD\s0\fR structure.
274 a valid \fB\s-1BIO\s0\fR structure on success or \fB\s-1NULL\s0\fR if an error occurred.
282 This \s-1SSL/TLS\s0 client example attempts to retrieve a page from an
283 \&\s-1SSL/TLS\s0 web server. The I/O routines are identical to those of the
332 Here is a simple server example. It makes use of a buffering
333 \&\s-1BIO\s0 to allow lines to be read from the \s-1SSL BIO\s0 using BIO_gets.
405 \& BIO_puts(sbio, "HTTP/1.0 200 OK\er\enContent\-type: text/plain\er\en\er\en");
407 \& BIO_puts(sbio, "\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
420 \& BIO_puts(sbio, "\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
428 the I/O \s-1BIO\s0 reference count was incorrectly incremented (instead of
429 decremented) and dissociated with the \s-1SSL BIO\s0 even if the \s-1SSL BIO\s0 was not
432 be modified to handle this fix or they may free up an already freed \s-1BIO.\s0
435 Copyright 2000\-2022 The OpenSSL Project Authors. All Rights Reserved.
439 in the file \s-1LICENSE\s0 in the source distribution or at