Searched refs:stream1 (Results 1 – 2 of 2) sorted by relevance
/openssl/demos/guide/ |
H A D | quic-multi-stream.c | 138 SSL *stream1 = NULL, *stream2 = NULL, *stream3 = NULL; in main() local 270 stream1 = SSL_new_stream(ssl, 0); in main() 272 if (stream1 == NULL || stream2 == NULL) { in main() 278 if (!write_a_request(stream1, request1_start, hostname)) { in main() 301 while (SSL_read_ex(stream1, buf, sizeof(buf), &readbytes)) { in main() 322 switch (SSL_get_error(stream1, 0)) { in main() 332 switch (SSL_get_stream_read_state(stream1)) { in main() 438 SSL_free(stream1); in main()
|
/openssl/doc/man7/ |
H A D | ossl-guide-quic-multi-stream.pod | 206 stream1 = SSL_new_stream(ssl, 0); 208 if (stream1 == NULL || stream2 == NULL) { 239 this sequentially, writing to B<stream1> first and, when this is successful, 247 if (!write_a_request(stream1, request1_start, hostname)) { 259 In this example B<stream1> is a bi-directional stream so, once we have sent the 271 while (SSL_read_ex(stream1, buf, sizeof(buf), &readbytes)) { 308 switch (SSL_get_error(stream1, 0)) { 318 switch (SSL_get_stream_read_state(stream1)) { 368 We can now read data from the stream in the same way that we did for B<stream1> 383 SSL_free(stream1);
|
Completed in 6 milliseconds