Skip to content

Commit

Permalink
fix failing on debug mode (#2079)
Browse files Browse the repository at this point in the history
  • Loading branch information
marty1885 authored Jun 20, 2024
1 parent 88bf6f7 commit e7eff32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/Http2Transport.cc
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ void Http2Transport::sendRequestInLoop(const HttpRequestPtr &req,
// -2 because we are using the next stream id for the next request
// TODO: Clean interface to get the current highest stream id. Might need
// to keep tracking separately
const auto streamId = *sid - 2;
const auto streamId = *sid;
assert(streamId % 2 == 1);
LOG_TRACE << "Sending HTTP/2 request: streamId=" << streamId;
if (streams.find(streamId) != streams.end())
Expand Down

0 comments on commit e7eff32

Please sign in to comment.