-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
82 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule ls-qpack
updated
5 files
+1 −0 | CMakeLists.txt | |
+1 −0 | README.md | |
+109 −107 | lsqpack.c | |
+2 −2 | lsqpack.h | |
+17 −17 | lsxpack_header.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2291,8 +2291,9 @@ stream_dispatch_write_events_loop (lsquic_stream_t *stream) | |
no_progress_count = 0; | ||
stream->stream_flags |= STREAM_LAST_WRITE_OK; | ||
while ((stream->sm_qflags & SMQF_WANT_WRITE) | ||
&& (stream->stream_flags & STREAM_LAST_WRITE_OK) | ||
&& stream_writeable(stream)) | ||
&& (stream->stream_flags & STREAM_LAST_WRITE_OK) | ||
&& !(stream->stream_flags & STREAM_ONCLOSE_DONE) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
litespeedtech
Owner
|
||
&& stream_writeable(stream)) | ||
{ | ||
progress = stream_progress(stream); | ||
|
||
|
@@ -2415,6 +2416,7 @@ lsquic_stream_dispatch_write_events (lsquic_stream_t *stream) | |
if (stream->sm_bflags & SMBF_RW_ONCE) | ||
{ | ||
if ((stream->sm_qflags & SMQF_WANT_WRITE) | ||
&& !(stream->stream_flags & STREAM_ONCLOSE_DONE) | ||
This comment has been minimized.
Sorry, something went wrong.
wangfuyu
Contributor
|
||
&& stream_writeable(stream)) | ||
{ | ||
on_write = select_on_write(stream); | ||
|
@gwanglst @litespeedtech I think we should replace STREAM_ONCLOSE_DONE with STREAM_U_WRITE_DONE, because WRITE_DONE means that we would not write anything.