Browse Source

[core] fix typo in h2_send_cqdata()

fix typo in h2_send_cqdata(); no impact in practice since only caller,
connection_state_machine_h2() already limits dlen to <= max frame size
master
Glenn Strauss 2 months ago
parent
commit
60a1224cd0
  1. 2
      src/h2.c

2
src/h2.c

@ -2432,7 +2432,7 @@ h2_send_cqdata (request_st * const r, connection * const con, chunkqueue * const
dataframe.c[5] = (len ) & 0xFF;
chunkqueue_append_mem(con->write_queue, /*(+3 to skip over align pad)*/
(const char *)dataframe.c+3, sizeof(dataframe)-3);
chunkqueue_steal(con->write_queue, cq, (off_t)dlen);
chunkqueue_steal(con->write_queue, cq, (off_t)len);
dlen -= len;
} while (dlen);
}

Loading…
Cancel
Save