Commit 8affef10 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Follow ngtcp2_conn_writev_stream specification change

parent 7006bf04
...@@ -593,10 +593,10 @@ int Client::write_quic() { ...@@ -593,10 +593,10 @@ int Client::write_quic() {
quic.last_error = quic::err_transport(nwrite); quic.last_error = quic::err_transport(nwrite);
return -1; return -1;
} else if (ndatalen > 0 && s->add_write_offset(stream_id, ndatalen) != 0) {
return -1;
} }
assert(ndatalen == -1);
quic_restart_pkt_timer(); quic_restart_pkt_timer();
if (nwrite == 0) { if (nwrite == 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment