/openssl/doc/man3/ |
H A D | SSL_set_default_stream_mode.pod | 23 stream is a QUIC stream to which calls to L<SSL_read(3)> and L<SSL_write(3)> 29 connection once L<SSL_read(3)> or L<SSL_write(3)> is called. 34 first. As such, if L<SSL_read(3)> is called first (before any call to 38 L<SSL_read(3)>, OpenSSL assumes the client wishes to transmit first, creates a 49 L<SSL_read(3)> and L<SSL_write(3)>) will fail. 67 the default stream. If L<SSL_read(3)> is called prior to any call to 69 L<SSL_read(3)> to block if the connection is in blocking mode), and then binds 72 presence of a bidirectional stream when L<SSL_read(3)> is called first. To 73 determine the type of a stream after a call to L<SSL_read(3)>, use 81 B<SSL_DEFAULT_STREAM_MODE_AUTO_BIDI>. The behaviour when L<SSL_read(3)> is [all …]
|
H A D | SSL_read.pod | 5 SSL_read_ex, SSL_read, SSL_peek_ex, SSL_peek 13 int SSL_read(SSL *ssl, void *buf, int num); 20 SSL_read_ex() and SSL_read() try to read B<num> bytes from the specified B<ssl> 24 SSL_peek_ex() and SSL_peek() are identical to SSL_read_ex() and SSL_read() 26 the read, so that a subsequent call to SSL_read_ex() or SSL_read() will yield 32 SSL_read(), SSL_peek_ex() or SSL_peek(). 96 When used with a QUIC SSL object, calling an I/O function such as SSL_read() 100 SSL_read() is called regularly, or alternatively ensure that SSL_handle_events() 115 For SSL_read() and SSL_peek() the following return values can occur:
|
H A D | SSL_pending.pod | 19 read by the application via a call to L<SSL_read_ex(3)> or L<SSL_read(3)>. 37 return 1, and then a subsequent call to SSL_read_ex() or SSL_read() to return no 41 SSL_read_ex() or SSL_read() call because the buffered and unprocessed data is 53 L<SSL_read_ex(3)>, L<SSL_read(3)>, L<SSL_CTX_set_read_ahead(3)>,
|
H A D | SSL_get_error.pod | 17 SSL_read_ex(), SSL_read(), SSL_peek_ex(), SSL_peek(), SSL_shutdown(), 72 SSL_read() and SSL_read_ex() can also set B<SSL_ERROR_WANT_READ> when there is 75 See L<SSL_read(3)> for more information. 97 It is safe to call SSL_read() or SSL_read_ex() when more data is available 111 SSL_read_ex(), SSL_read(), SSL_peek_ex(), or SSL_peek() may want to write data 115 either the client or the server); SSL_read_ex(), SSL_read(), SSL_peek_ex(),
|
H A D | SSL_set_connect_state.pod | 43 using L<SSL_write_ex(3)>, L<SSL_write(3)>, L<SSL_read_ex(3)>, or L<SSL_read(3)>, 64 L<SSL_write_ex(3)>, L<SSL_write(3)>, L<SSL_read_ex(3)>, L<SSL_read(3)>,
|
H A D | SSL_CTX_set_mode.pod | 64 L<SSL_read_ex(3)> and L<SSL_read(3)> can return with a failure and indicate the 84 Otherwise the call to SSL_read() or SSL_read_ex() might hang when a 134 L<ssl(7)>, L<SSL_read_ex(3)>, L<SSL_read(3)>, L<SSL_write_ex(3)> or
|
H A D | SSL_get_stream_read_state.pod | 60 be residual data available to read via L<SSL_read(3)> when this state is 75 read by calling L<SSL_read(3)>. 109 read via L<SSL_read(3)> when this state is returned. Calls to L<SSL_write(3)>
|
H A D | SSL_shutdown.pod | 79 L<SSL_write(3)> can no longer be used, but L<SSL_read(3)> may still be used 92 L<SSL_read(3)> (i.e., L<SSL_read(3)> will fail and L<SSL_get_error(3)> will 123 L<SSL_read(3)> until L<SSL_get_error(3)> indicates EOF by returning 132 sent by the peer using L<SSL_read(3)>. 138 from the network, such as L<SSL_read(3)> or SSL_shutdown(). These flags 201 An alternative approach is to simply avoid calling L<SSL_read(3)> if it is known 210 peer during calls to L<SSL_read(3)> by the application. 411 It can also occur when not all data was read using SSL_read(), or if called
|
H A D | SSL_handle_events.pod | 42 automatically by calls to other SSL functions such as L<SSL_read(3)> or 62 is not necessary unless no I/O calls (such as L<SSL_read(3)> or L<SSL_write(3)>)
|
H A D | SSL_stream_conclude.pod | 28 of the stream. Thus, SSL_read() can still be used.
|
/openssl/doc/designs/quic-design/ |
H A D | error-handling.md | 51 Operations on QUIC streams (SSL_write(), SSL_read()) can also trigger errors, 55 or SSL_read() on the stream. 67 processing, or when calling SSL_read()/SSL_write() on a stream need to be 68 replicated for SSL_read()/SSL_write() calls on other streams. 78 When returning to an application from an SSL_read()/SSL_write() call with 100 are calling SSL_read()/SSL_write() simultaneously they all get
|
H A D | stream-receive-buffers.md | 5 until the application reads it with SSL_read() or any future stream read 16 - As packets can be received before application calls SSL_read() to read 22 - After the data is passed via SSL_read() to the application the stored 68 SSL_read() copies data out of the stored buffers if available and
|
H A D | quic-requirements.md | 125 * Simple clients that just do basic SSL_read/SSL_write or BIO_read/BIO_write 129 * Simple servers that just do basic SSL_read/SSL_write or BIO_read/BIO_write 200 * Support simple clients that just do basic SSL_read/SSL_write or BIO_read/BIO_write
|
/openssl/demos/sslecho/ |
H A D | main.c | 236 if ((rxlen = SSL_read(ssl, rxbuf, rxcap)) <= 0) { in main() 334 rxlen = SSL_read(ssl, rxbuf, rxcap); in main()
|
H A D | README.md | 20 SSL_write() and SSL_read().
|
/openssl/apps/ |
H A D | s_time.c | 287 while ((i = SSL_read(scon, buf, sizeof(buf))) > 0) in s_time_main() 340 while (SSL_read(scon, buf, sizeof(buf)) > 0) in s_time_main() 368 while ((i = SSL_read(scon, buf, sizeof(buf))) > 0) in s_time_main()
|
/openssl/doc/man7/ |
H A D | openssl-quic.pod | 23 stream associated with it. Calls to L<SSL_read(3)> and 26 perspective depends on whether L<SSL_read(3)> or L<SSL_write(3)> is called 71 connection SSL object; L<SSL_read(3)> and L<SSL_write(3)> calls to the QUIC 80 mode, if a client application calls L<SSL_read(3)> first before any call to 82 is using a server-initiated stream, and the L<SSL_read(3)> call will not 85 application calls L<SSL_write(3)> before any call to L<SSL_read(3)> on the 111 receiving application data using L<SSL_read(3)> and L<SSL_write(3)>. 413 Most applications will service the SSL object by calling L<SSL_read(3)> or 504 L<SSL_handle_events(3)> (or another I/O function such as L<SSL_read(3)> or 516 functions on an SSL object, such as L<SSL_read(3)> and L<SSL_write(3)> [all …]
|
/openssl/test/ |
H A D | fatalerrtest.c | 67 if (!TEST_int_le(len = SSL_read(sssl, buf, sizeof(buf) - 1), 0)) { in test_fatalerr()
|
H A D | quic_newcid_test.c | 118 if (!TEST_int_eq(SSL_read(cssl, buf, sizeof(buf)), msglen)) in test_ncid_frame()
|
/openssl/fuzz/ |
H A D | client.c | 92 if (SSL_read(client, tmp, sizeof(tmp)) <= 0) { in FuzzerTestOneInput()
|
H A D | dtlsclient.c | 92 if (SSL_read(client, tmp, sizeof(tmp)) <= 0) { in FuzzerTestOneInput()
|
H A D | dtlsserver.c | 711 if (SSL_read(server, tmp, sizeof(tmp)) <= 0) { in FuzzerTestOneInput()
|
H A D | quic-client.c | 163 ret = SSL_read(stream, tmp, sizeof(tmp)); in FuzzerTestOneInput()
|
H A D | server.c | 643 if (SSL_read(server, tmp, sizeof(tmp)) <= 0) { in FuzzerTestOneInput()
|
/openssl/doc/designs/ddd/ |
H A D | ddd-03-fd-blocking.c | 105 return SSL_read(ssl, buf, buf_len); in rx()
|