commit | e5bdc51bb5803309938946c710e7233dbf9382a4 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Aug 28 18:03:10 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Aug 28 18:51:36 2020 +0200 |
tree | 25ae71f640f29e7ed8c5485a74b034d8327dc9ec | |
parent | d88e8c06ac076d5550366aa6a283ad485948975e [diff] |
REORG: sock_inet: move default_tcp_maxseg from proto_tcp.c Let's determine it at boot time instead of doing it on first use. It also saves us from having to keep it thread local. It's been moved to the new sock_inet_prepare() function, and the variables were renamed to sock_inet_tcp_maxseg_default and sock_inet6_tcp_maxseg_default.