Revert "last_write_len must not be 0, which makes weight useless"

This reverts commit e260006182.
This commit is contained in:
Tatsuhiro Tsujikawa 2015-09-09 21:16:53 +09:00
parent e282462e1f
commit 22b39f0337
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ void nghttp2_stream_init(nghttp2_stream *stream, int32_t stream_id,
stream->queued = 0;
stream->descendant_last_cycle = 0;
stream->cycle = 0;
stream->last_writelen = NGHTTP2_DATA_PAYLOADLEN;
stream->last_writelen = 0;
}
void nghttp2_stream_free(nghttp2_stream *stream) {