Skip to content

Commit 54406ed

Browse files
committed
Address review comments for openssl/project#949
1 parent 456d01b commit 54406ed

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

demos/guide/quic-hq-interop-server.c

-5
Original file line numberDiff line numberDiff line change
@@ -354,10 +354,6 @@ static BIO *create_socket(uint16_t port)
354354
static int handle_io_failure(SSL *ssl, int res)
355355
{
356356
switch (SSL_get_error(ssl, res)) {
357-
case SSL_ERROR_WANT_READ:
358-
case SSL_ERROR_WANT_WRITE:
359-
return 1;
360-
361357
case SSL_ERROR_ZERO_RETURN:
362358
/* EOF */
363359
return 0;
@@ -459,7 +455,6 @@ static void process_new_stream(SSL *stream)
459455
ret = handle_io_failure(stream, ret);
460456
if (ret >= 1) {
461457
/* Transient failure, retry */
462-
fprintf(stderr, "Transient read failure, retrying\n");
463458
continue;
464459
} else if (ret == 0) {
465460
/* EOF condition, fin bit set, we got the whole request */

0 commit comments

Comments
 (0)