Skip to content

Commit 31c23af

Browse files
committed
QUIC: return success when no post-handshake data
1 parent a33c406 commit 31c23af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ssl/ssl_quic.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,10 @@ int SSL_process_quic_post_handshake(SSL *ssl)
312312
return 0;
313313
}
314314

315+
/* if there is no data, return success as BoringSSL */
316+
if (ssl->quic_input_data_head == NULL)
317+
return 1;
318+
315319
/*
316320
* This is always safe (we are sure to be at a record boundary) because
317321
* SSL_read()/SSL_write() are never used for QUIC connections -- the

0 commit comments

Comments
 (0)