Skip to content

Commit

Permalink
Comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed May 5, 2024
1 parent 3e72477 commit 9b0a0e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/net/proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ void proxy::read_heading() NOEXCEPT
BC_ASSERT_MSG(stranded(), "strand");

// Both terminate read loop, paused can be resumed, stopped cannot.
// Pause only prevents start of the read loop, it does not prevent messages
// from being issued for sockets already past that point (e.g. waiting).
// This is mainly for startup coordination, preventing missed messages.
if (stopped() || paused())
return;

Expand Down

0 comments on commit 9b0a0e8

Please sign in to comment.