 +    send = 0;
 +
 +    blocked = 0;
++
++    while (in) {
++        off_t size = ngx_buf_size(in->buf);
++
++        if (size || in->buf->last_buf) {
++            break;
++        }
++
++        in = in->next;
++    }
++
++    if (in == NULL || stream->out_closed) {
++        return NULL;
++    }
 +
 +    while (in) {
 +        prev_send = send;

From 357cb80e9326176ef5bfbcdcc5df9d5ea0bd5ca4 Mon Sep 17 00:00:00 2001
From: Alessandro Ghedini <alessandro@cloudflare.com>
Date: Thu, 10 Oct 2019 17:06:08 +0100
Subject: [PATCH] Initial QUIC and HTTP/3 implementation using quiche

+
+#endif /* _NGX_HTTP_V3_MODULE_H_INCLUDED_ */
-- 
2.26.0

