Follow ngtcp2_conn_writev_stream specification change
This commit is contained in:
parent
95102c1c6c
commit
d2d2c31ec7
|
@ -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