Follow ngtcp2_conn_writev_stream specification change
This commit is contained in:
parent
7006bf04e3
commit
8affef1061
|
@ -593,10 +593,10 @@ int Client::write_quic() {
|
|||
|
||||
quic.last_error = quic::err_transport(nwrite);
|
||||
return -1;
|
||||
} else if (ndatalen > 0 && s->add_write_offset(stream_id, ndatalen) != 0) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
assert(ndatalen == -1);
|
||||
|
||||
quic_restart_pkt_timer();
|
||||
|
||||
if (nwrite == 0) {
|
||||
|
|
Loading…
Reference in New Issue