MEDIUM: mux-quic: handle when sending buffer is full

Handle the case when the app layer sending buffer is full. A new flag
QC_SF_BLK_MROOM is set in this case and the transfer is interrupted. It
is expected that then the conn-stream layer will subscribe to SEND.

The MROOM flag is reset each time the muxer transfer data from the app
layer to its own buffer. If the app layer has been subscribed on SEND it
is woken up.
diff --git a/src/h3.c b/src/h3.c
index 359b276..0ed1800 100644
--- a/src/h3.c
+++ b/src/h3.c
@@ -534,11 +534,14 @@
 		b_slow_realign(res, trash.area, b_data(res));
 	}
 
-	/* not enough room for headers and at least one data byte, block the
-	 * stream
+	/* Not enough room for headers and at least one data byte, block the
+	 * stream. It is expected that the conn-stream layer will subscribe on
+	 * SEND.
 	 */
-	if (b_size(&outbuf) <= hsize)
-		ABORT_NOW();
+	if (b_size(&outbuf) <= hsize) {
+		qcs->flags |= QC_SF_BLK_MROOM;
+		goto end;
+	}
 
 	if (b_size(&outbuf) < hsize + fsize)
 		fsize = b_size(&outbuf) - hsize;
@@ -579,7 +582,7 @@
 
 	htx = htx_from_buf(buf);
 
-	while (count && !htx_is_empty(htx)) {
+	while (count && !htx_is_empty(htx) && !(qcs->flags & QC_SF_BLK_MROOM)) {
 		idx = htx_get_head(htx);
 		blk = htx_get_blk(htx, idx);
 		btype = htx_get_blk_type(blk);