Skip to content

Commit 2007342

Browse files
committed
BUG/MINOR: mux-h1: Use the right variable to set NEGO_FF_FL_EXACT_SIZE flag
Instead of setting this flag on the ones used for the zero-copy negociation, it is set on the connection flags used for xprt->rcv_buf() call. Fortunately, there is no real consequence. The only visible effect is the chunk size that is written on 8 bytes for no reason. This patch is related to issue #2598. It must be backported to 3.0. (cherry picked from commit 7bff576) Signed-off-by: Christopher Faulet <[email protected]>
1 parent e4e7965 commit 2007342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mux_h1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4862,7 +4862,7 @@ static int h1_fastfwd(struct stconn *sc, unsigned int count, unsigned int flags)
48624862
ret = 0;
48634863

48644864
if (h1m->state == H1_MSG_DATA && (h1m->flags & (H1_MF_CHNK|H1_MF_CLEN)) && count > h1m->curr_len) {
4865-
flags |= NEGO_FF_FL_EXACT_SIZE;
4865+
nego_flags |= NEGO_FF_FL_EXACT_SIZE;
48664866
count = h1m->curr_len;
48674867
}
48684868

0 commit comments

Comments
 (0)