Bug 29889 - Please set SO_REUSEADDR on TCP listen sockets
Summary: Please set SO_REUSEADDR on TCP listen sockets
Status: RESOLVED DUPLICATE of bug 28838
Alias: None
Product: dbus
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: All All
: medium enhancement
Assignee: Havoc Pennington
QA Contact: John (J5) Palmieri
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-30 10:21 UTC by Thomas Themel
Modified: 2010-08-31 02:53 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch vs HEAD (1.17 KB, patch)
2010-08-30 10:21 UTC, Thomas Themel
Details | Splinter Review

Description Thomas Themel 2010-08-30 10:21:43 UTC
Created attachment 38316 [details] [review]
Patch vs HEAD

Hi,

when creating TCP listen sockets, DBus doesn't currently set SO_REUSEADDR on the listen socket. This is somewhat annoying when restarting dbus-daemon because one has to wait for the TIME_WAIT sockets from former clients to disappear before starting the new dbus-daemon (or it will fail out with EADDRINUSE).

Patch is trivial, see attachment.
Comment 1 Thomas Themel 2010-08-31 02:53:31 UTC
Apparently, this is a duplicate of #28838, but the patch has not yet found its way to master.

*** This bug has been marked as a duplicate of bug 28838 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.