Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
radkesvat committed Jul 15, 2024
1 parent dda7f73 commit 954ac7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tunnels/client/protobuf/protobuf_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ static void downStream(tunnel_t *self, context_t *c)
shiftr(full_data, sizeof(uint32_t));
cstate->bytes_sent_nack -= consumed;

if (cstate->bytes_sent_nack < kMaxSendBeforeAck / 2)
if (cstate->bytes_sent_nack <=kMaxSendBeforeAck / 3)
{
resumeLineDownSide(c->line);
}
Expand Down
2 changes: 1 addition & 1 deletion tunnels/server/protobuf/protobuf_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ static void upStream(tunnel_t *self, context_t *c)

cstate->bytes_sent_nack -= consumed;

if (cstate->bytes_sent_nack < kMaxSendBeforeAck / 2)
if (cstate->bytes_sent_nack <= kMaxSendBeforeAck / 3)
{
resumeLineUpSide(c->line);
}
Expand Down

0 comments on commit 954ac7d

Please sign in to comment.