Home
last modified time | relevance | path

Searched refs:nonblocking (Results 1 – 25 of 74) sorted by relevance

123

/src/crypto/openssl/doc/designs/ddd/
H A DMakefile13 ddd-02-conn-nonblocking \
14 ddd-02-conn-nonblocking-threads \
16 ddd-04-fd-nonblocking \
17 ddd-05-mem-nonblocking \
H A DREPORT.md60 ddd-02-conn-nonblocking
92 mode (see the variant ddd-02-conn-nonblocking-threads below).
132 ddd-02-conn-nonblocking-threads
135 This is a variant of the ddd-02-conn-nonblocking demo. The base is the same, but
138 application to make fewer changes than are needed in the ddd-02-conn-nonblocking
155 ddd-02-conn-nonblocking.
167 ddd-02-conn-nonblocking).
170 ddd-02-conn-nonblocking).
193 ddd-04-fd-nonblocking
196 This demo is similar to ddd-01-conn-nonblocking but uses a file descriptor
[all …]
H A DREADME.md111 | [ddd-02-conn-nonblocking](ddd-02-conn-nonblocking.c) | A-BIOc | A `BIO_s_connect`-based nonblocki…
113 | [ddd-04-fd-nonblocking](ddd-04-fd-nonblocking.c) | A-AOSF | A `SSL_set_fd`-based non-blocking exa…
114 | [ddd-05-mem-nonblocking](ddd-05-mem-nonblocking.c) | A-BIOm | A non-blocking example based on use…
H A DWINDOWS.md48 - ddd-02-conn-nonblocking: Socket is managed by OpenSSL, and IOCP is not
53 - ddd-04-fd-nonblocking: libssl is passed an FD with BIO_set_fd.
64 - ddd-05-mem-nonblocking: Since the application is in full control of passing
/src/crypto/openssl/doc/man3/
H A DSSL_set_blocking_mode.pod29 until the requested operation can be performed. In nonblocking mode, these
35 nonblocking mode based on whether the underlying network read and write BIOs
36 provided to the SSL object are themselves configured in nonblocking mode.
38 Where a QUIC connection SSL object is used in nonblocking mode, an application
H A DSSL_do_handshake.pod28 If the underlying BIO is B<nonblocking>, SSL_do_handshake() will also return
34 The action depends on the underlying BIO. When using a nonblocking socket,
61 for nonblocking BIOs. Call SSL_get_error() with the return value B<ret>
H A DSSL_accept.pod26 If the underlying BIO is B<nonblocking>, SSL_accept() will also return
33 The action depends on the underlying BIO. When using a nonblocking socket,
60 for nonblocking BIOs. Call SSL_get_error() with the return value B<ret>
H A DSSL_state_string.pod29 When using nonblocking sockets, the function call performing the handshake
33 For both blocking or nonblocking sockets, the details state information
H A DSSL_CTX_set_mode.pod56 avoid the misconception that nonblocking SSL_write() behaves like
57 nonblocking write().
70 In a nonblocking environment applications must be prepared to handle
72 Setting B<SSL_MODE_AUTO_RETRY> for a nonblocking B<BIO> will process
H A DSSL_connect.pod26 If the underlying BIO is B<nonblocking>, SSL_connect() will also return
33 The action depends on the underlying BIO. When using a nonblocking socket,
75 for nonblocking BIOs. Call SSL_get_error() with the return value B<ret>
H A DSSL_set_fd.pod23 inherit the behaviour of B<fd>. If B<fd> is nonblocking, the B<ssl> will
24 also have nonblocking behaviour.
H A DSSL_get_rpoll_descriptor.pod23 object in nonblocking mode can determine when it should call SSL_handle_events().
36 The intention is that an application using QUIC in nonblocking mode can use
H A DSSL_handle_events.pod23 OpenSSL in nonblocking mode to give OpenSSL an opportunity to handle timer
56 nonblocking mode, it must at a minimum ensure that SSL_handle_events() is called
H A DOSSL_QUIC_client_method.pod26 nonblocking mode of operation and the application periodically calling SSL
H A DSSL_set_bio.pod19 nonblocking then the B<ssl> object will also have nonblocking behaviour. This
H A DSSL_shutdown.pod39 In general, calling SSL_shutdown() in nonblocking mode will initiate the
110 If the underlying BIO is nonblocking and the shutdown process is not yet
326 In nonblocking mode, SSL_shutdown_ex() should be called until it returns 1,
356 terminated for another reason. In nonblocking mode it exits immediately with
372 causes the call to operate as though in nonblocking mode.
408 It can occur if an action is needed to continue the operation for nonblocking
/src/crypto/openssl/doc/man7/
H A Dossl-guide-quic-client-non-block.pod13 - OpenSSL Guide: Writing a simple nonblocking QUIC client
20 supports nonblocking functionality.
22 The complete source code for this example nonblocking QUIC client is available
28 nonblocking socket. However, despite this, the B<SSL> object still has blocking
41 has nonblocking behaviour. With a nonblocking B<SSL> object, functions such as
51 In a nonblocking application you will need work to perform in the event that
53 In fact this is the whole point of using a nonblocking B<SSL> object, i.e. to
126 If you are familiar with how to write nonblocking applications in OpenSSL for
144 connection remains healthy. This is particularly important with a nonblocking
167 A QUIC application that has been configured for nonblocking behaviour will need
[all …]
H A Dossl-guide-tls-client-non-block.pod13 - OpenSSL Guide: Writing a simple nonblocking TLS client
20 supports a nonblocking socket.
22 The complete source code for this example nonblocking TLS client is available
37 With a nonblocking socket attempting to read or write to a socket that is
39 error. Although OpenSSL does the reading/writing to the socket this nonblocking
47 =head2 Setting the socket to be nonblocking
49 The first step in writing an application that supports nonblocking is to set
50 the socket into nonblocking mode. A socket will be default be blocking. The
54 /* Set to nonblocking mode */
66 In a nonblocking application you will need work to perform in the event that
[all …]
H A Dopenssl-quic.pod84 complete (either blocking, or failing appropriately if nonblocking mode is
182 Network-level I/O must always be performed in a nonblocking manner. The
186 in nonblocking mode. For application-level blocking functionality, see
216 When used in nonblocking mode, B<SSL_ERROR_WANT_READ> indicates that the
351 using QUIC. The socket must be configured in nonblocking mode. You may or may
392 calls must operate in a nonblocking fashion. Optionally, implement the
403 in blocking or nonblocking mode based on whether the underlying network BIO
404 operates in blocking or nonblocking mode. QUIC requires the use of a
405 nonblocking network BIO, therefore the blocking mode at the application level
408 wishes to use the SSL object APIs at application level in a nonblocking manner,
[all …]
H A Dossl-guide-introduction.pod80 =item L<ossl-guide-tls-client-non-block(7)>: Writing a simple nonblocking TLS client
92 =item L<ossl-guide-quic-server-non-block(7)>: Writing a simple nonblocking QUIC server
94 =item L<ossl-guide-quic-client-non-block(7)>: Writing a simple nonblocking QUIC client
H A Dossl-guide-quic-server-non-block.pod13 - OpenSSL Guide: Writing a simple nonblocking QUIC server
32 Both the listening socket and connected socket are "nonblocking". However,
38 The complete source code for this example nonblocking QUIC server is available
184 /* Set port to nonblocking mode */
186 fprintf(stderr, "Unable to set port to nonblocking mode");
203 /* Set the listener mode to nonblocking, which is inherited by
232 occurred. However, since we are in nonblocking mode, L<SSL_accept_connection(3)>
H A Dossl-guide-quic-introduction.pod96 this. However if you are developing a nonblocking application or one that may
158 blocking. Conversely if your application wants nonblocking behaviour then the
159 underlying socket is configured to be nonblocking.
162 to be nonblocking. Howevever the B<SSL> object will, by default, still operate
166 socket. If nonblocking behaviour is desired then the application must call
/src/contrib/sendmail/libmilter/
H A Dworker.c233 nonblocking(int fd, const char *name) in nonblocking() function
287 r = nonblocking(WR_PIPE, "WR_PIPE"); in mi_pool_controller_init()
290 r = nonblocking(RD_PIPE, "RD_PIPE"); in mi_pool_controller_init()
/src/contrib/ldns/
H A Dacx_nlnetlabs.m47 # 2021-06-14 fix nonblocking test to use host instead of target for mingw test.
8 # 2021-05-17 fix nonblocking socket test from grep on mingw32 to mingw for
81 # ACX_CHECK_NONBLOCKING_BROKEN - see if nonblocking sockets really work.
921 dnl check if select and nonblocking sockets actually work.
924 dnl a nonblocking socket do not work, a new call to select is necessary.
927 AC_MSG_CHECKING([if nonblocking sockets work])
930 …ING_IS_BROKEN], 1, [Define if the network stack does not fully support nonblocking io (causes lowe…
965 /* test if select and nonblocking reads work well together */
969 then try to nonblocking read the 10 messages
970 then, nonblocking read must give EAGAIN
[all …]
/src/contrib/unbound/
H A Dacx_nlnetlabs.m411 # 2022-09-01 fix checking if nonblocking sockets work on OpenBSD.
16 # 2021-06-14 fix nonblocking test to use host instead of target for mingw test.
17 # 2021-05-17 fix nonblocking socket test from grep on mingw32 to mingw for
90 # ACX_CHECK_NONBLOCKING_BROKEN - see if nonblocking sockets really work.
1003 dnl check if select and nonblocking sockets actually work.
1006 dnl a nonblocking socket do not work, a new call to select is necessary.
1009 AC_MSG_CHECKING([if nonblocking sockets work])
1012 …ING_IS_BROKEN], 1, [Define if the network stack does not fully support nonblocking io (causes lowe…
1050 /* test if select and nonblocking reads work well together */
1054 then try to nonblocking read the 10 messages
[all …]

123