Skip to content

Commit

Permalink
EOS to end-of-stream
Browse files Browse the repository at this point in the history
Signed-off-by: Yuchen Dai <[email protected]>
  • Loading branch information
lambdai committed Jan 25, 2021
1 parent 7a6b91a commit 67934cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/extensions/io_socket/user_space/file_event_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void FileEventImpl::setEnabled(uint32_t events) {
// Recalculate activated events.
uint32_t events_to_notify = 0;
if ((events & Event::FileReadyType::Read) && (io_source_.isReadable() ||
// Notify Read event when `EOS` is received.
// Notify Read event when end-of-stream is received.
io_source_.isPeerShutDownWrite())) {
events_to_notify |= Event::FileReadyType::Read;
}
Expand Down

0 comments on commit 67934cd

Please sign in to comment.