Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core] disable MPTCP support by default
Matthieu Baerts notes: MPTCP is currently not compatible with KTLS: they both use the same technique to extend TCP behaviour in the kernel (TCP ULP). Disable network_mptcp if socket() IPPROTO_MPTCP fails and omit trace, since it probably indicates MPTCP support is not available, and lighttpd transparently falls back to IPPROTO_TCP. Matthieu Baerts notes: Creating a socket with IPPROTO_MPTCP may fail with ENOPROTOOPT (Protocol not available: linked to net.mptcp.enabled sysctl) EPROTONOSUPPORT (Protocol not supported: MPTCP not compiled on >= v5.6) EINVAL (Invalid argument: MPTCP is not available on kernels < 5.6). If socket() failed for other reasons, then the socket() IPPROTO_TCP fallback which immediately follows will likely fail the same way and lighttpd will error out. x-ref: "[core] add MPTCP support" #132 github: closes #132
- Loading branch information