Skip to content

Commit

Permalink
Removed comment for AUTO_SEGS_N value not changed
Browse files Browse the repository at this point in the history
AUTO_SEGS_N not changed after #1103 fix, because
most of responses has large size and with this
value (8) we can cover higher percentage of
responses
  • Loading branch information
const-t committed Sep 22, 2023
1 parent dca009f commit 629f00d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fw/tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,6 @@ int
tfw_tls_encrypt(struct sock *sk, struct sk_buff *skb, unsigned int mss_now,
unsigned int limit, unsigned int nskbs)
{
/*
* TODO #1103 currently even trivial 500-bytes HTTP message generates
* 6 segment skb. After the fix the number probably should be decreased.
*/
#define AUTO_SEGS_N 8

int r = -ENOMEM;
Expand Down

0 comments on commit 629f00d

Please sign in to comment.