Skip to content

Commit

Permalink
nghttpx: Fix batch UDP QUIC packet dropped on GRO read
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed May 19, 2024
1 parent 20d21b2 commit e28c2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shrpx_quic_listener.cc
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ void QUICListener::on_read() {
{std::begin(data), datalen});

data = data.subspan(datalen);
if (data.empty() == 0) {
if (data.empty()) {
break;
}
}
Expand Down

0 comments on commit e28c2d3

Please sign in to comment.