Skip to content

Commit

Permalink
[!] fix interop multiplexing testcase error when hq stream send conte…
Browse files Browse the repository at this point in the history
…nt and fin separately. (#420)
  • Loading branch information
Kulsk authored May 8, 2024
1 parent 872a167 commit c95ca00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions demo/xqc_hq_request.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,9 @@ xqc_hq_request_recv_req(xqc_hq_request_t *hqr, char *res_buf, size_t buf_sz, uin
read = (ssize_t)strncpy(res_buf, hqr->resource_buf, buf_sz);
hqr->resource_read_offset += read;
*fin = (hqr->fin || req_fin);

} else {
read = 0;
}

return read;
Expand Down

0 comments on commit c95ca00

Please sign in to comment.