diff options
author | Hugo Landau <hlandau@openssl.org> | 2022-12-15 07:07:49 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-01-13 13:20:22 +0000 |
commit | 3f0c310b80626f6286022f30a7a280b3306587ca (patch) | |
tree | 1d416f66d9fe22f372f26383ae8a817f7461b5af | |
parent | 79534440c5ff2ab0a6233457531e903fbe2968b7 (diff) |
QUIC Front-End I/O API: Determine read completion correctly
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19703)
-rw-r--r-- | ssl/quic/quic_impl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c index d94dacfe7e..19d100f50b 100644 --- a/ssl/quic/quic_impl.c +++ b/ssl/quic/quic_impl.c @@ -790,7 +790,7 @@ static int quic_write_again(void *arg) args->len -= actual_written; args->total_written += actual_written; - if (actual_written == 0) + if (args->len == 0) /* Written everything, done. */ return 1; |