mirror of
https://github.com/curl/curl.git
synced 2026-05-13 19:06:20 +03:00
parent
c47ef9115e
commit
408c758bb8
1 changed files with 9 additions and 0 deletions
|
|
@ -1946,6 +1946,15 @@ static CURLcode ng_flush_egress(struct connectdata *conn, int sockfd,
|
|||
return CURLE_SEND_ERROR;
|
||||
}
|
||||
}
|
||||
else if(ndatalen > 0) {
|
||||
rv = nghttp3_conn_add_write_offset(qs->h3conn, stream_id, ndatalen);
|
||||
if(rv != 0) {
|
||||
failf(conn->data,
|
||||
"nghttp3_conn_add_write_offset returned error: %s\n",
|
||||
nghttp3_strerror(rv));
|
||||
return CURLE_SEND_ERROR;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if(outlen < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue