diff options
author | Alexander Rössler <mail.aroessler@gmail.com> | 2015-07-06 17:51:15 +0200 |
---|---|---|
committer | Kati Kankaanpaa <kati.kankaanpaa@theqtcompany.com> | 2015-09-22 19:07:15 +0000 |
commit | c28bc5f11361960da1bc94a5ea6566ee0fc8397c (patch) | |
tree | 1e36be1a0b5efba8a583b206274f4fc55d23d173 /src/network/access/qhttpnetworkconnectionchannel.cpp | |
parent | ec6556a2b99df373eb43ca009340a7f0f19bacbd (diff) |
QNativeSocketEngine: fix SO_REUSEPORT problems on Linux
Commit d1cd75e81af809a46fcf40cd2b39858e238a4d97 introduced the usage of
the SO_REUSEPORT socket flag on Unix systems if available. However, on
Linux systems this socket option behaves differently from the previously
used SO_REUSEADDR socket option. This patch disables the use of the
SO_REUSEPORT option to fix rebinding problems on Linux. The option was
introduced to improve support on OS X and other BSDs. It is not
necessary on Linux.
[ChangeLog][QtNetwork][QUdpSocket] Fixed a bug that caused the
QAbstractSocket::ShareAddress option not to work on Linux.
Change-Id: Ice04b8b9e78400dce193e2c1d73b67e33edf8840
Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/network/access/qhttpnetworkconnectionchannel.cpp')
0 files changed, 0 insertions, 0 deletions