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 47a6450 commit 6d724cb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tunnels/client/http2/helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static void onH2LinePaused(void *arg)
{
http2_client_con_state_t *con = (http2_client_con_state_t *) arg;
++(con->pause_counter);
if (con->pause_counter > 8)
if (con->pause_counter > 4)
{
http2_client_child_con_state_t *stream_i;
for (stream_i = con->root.next; stream_i;)
Expand Down
2 changes: 1 addition & 1 deletion tunnels/client/protobuf/protobuf_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ enum
{
kMaxPacketSize = (65536 * 1),
kMaxRecvBeforeAck = (1 << 15) - 1,
kMaxSendBeforeAck = (1 << 21)
kMaxSendBeforeAck = (1 << 20)
};

typedef struct protobuf_client_state_s
Expand Down
2 changes: 1 addition & 1 deletion tunnels/server/http2/helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static void onH2LinePaused(void *arg)
{
http2_server_con_state_t *con = (http2_server_con_state_t *) arg;
++(con->pause_counter);
if (con->pause_counter > 8)
if (con->pause_counter > 4)
{
http2_server_child_con_state_t *stream_i;
for (stream_i = con->root.next; stream_i;)
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 @@ -20,7 +20,7 @@ enum
{
kMaxPacketSize = (65536 * 1),
kMaxRecvBeforeAck = (1 << 15) - 1,
kMaxSendBeforeAck = (1 << 21)
kMaxSendBeforeAck = (1 << 20)
};

typedef struct protobuf_server_state_s
Expand Down

0 comments on commit 6d724cb

Please sign in to comment.