Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.0
-
None
-
gentoo linux (or any linux where you create a custom kernel without IPv6)
-
2c790b251d9e3a30abe8ac63ab50f81c9c7631ce
Description
We should fall back to IPv4 if QHostAddress::Any is used when IPv6 is disabled on the system.
Currently QNativeSocketEnginePrivate::createNewSocket fails due to EPROTONOSUPPORT
Affects people who built a kernel without IPv6 in order to save memory.
Most binary distributions ship a kernel with IPv4 and IPv6 both enabled.
Reject this issue if we don't want to support such kernels.
Attachments
For Gerrit Dashboard: QTBUG-23660 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
21605,1 | If user didn't specify which protocol to use and IPv6 fails try IPv4. | master | qt/qtbase | Status: ABANDONED | -2 | 0 |
26478,3 | Fallback to IPv4 when IPv6 is not present. | master | qt/qtbase | Status: MERGED | +2 | 0 |