Skip to content

Commit

Permalink
Now that we support pipelined auth, make default auth buffer larger
Browse files Browse the repository at this point in the history
This way we can avoid multiple reads in the pipelined case.
  • Loading branch information
alexlarsson committed Aug 16, 2024
1 parent 38df0ec commit 5be19ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flatpak-proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -2940,7 +2940,7 @@ side_in_cb (GSocket *socket, GIOCondition condition, gpointer user_data)
if (!side->got_first_byte)
buffer = buffer_new (1, NULL);
else if (client->auth_state != AUTH_COMPLETE)
buffer = buffer_new (64, NULL);
buffer = buffer_new (256, NULL);
else
buffer = side->current_read_buffer;

Expand Down

0 comments on commit 5be19ef

Please sign in to comment.