Skip to content

Commit

Permalink
MINOR: global: add tune.pt.zero-copy-forwarding keyword
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Gramer <[email protected]>
  • Loading branch information
vgramer committed Dec 5, 2023
1 parent ac772fd commit b063bf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions section-parsers.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ func (p *configParser) getGlobalParser() *Parsers { //nolint: maintidx
addParser(parser, &sequence, &simple.Number{Name: "tune.pipesize"})
addParser(parser, &sequence, &simple.Number{Name: "tune.pool-high-fd-ratio"})
addParser(parser, &sequence, &simple.Number{Name: "tune.pool-low-fd-ratio"})
addParser(parser, &sequence, &simple.OnOff{Name: "tune.pt.zero-copy-forwarding"})
addParser(parser, &sequence, &simple.Number{Name: "tune.rcvbuf.backend"})
addParser(parser, &sequence, &simple.Number{Name: "tune.rcvbuf.client"})
addParser(parser, &sequence, &simple.Number{Name: "tune.rcvbuf.frontend"})
Expand Down
1 change: 1 addition & 0 deletions tests/configs/haproxy.cfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ global
tune.h1.zero-copy-fwd-recv on
tune.h1.zero-copy-fwd-send on
tune.h2.zero-copy-fwd-send on
tune.pt.zero-copy-forwarding on
tune.ssl.default-dh-param 2048
ssl-default-bind-options no-sslv3 no-tls-tickets
ssl-default-bind-ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!3DES:!MD5:!PSK
Expand Down

0 comments on commit b063bf6

Please sign in to comment.