Project

General

Profile

Actions

Bug #3441

closed

two processes can open the same UDP port without error

Added by dexter over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
08/01/2018
Due date:
% Done:

100%

Spec Reference:

Description

When two processes open a socket with the same UDP port there will be no error since we set SO_REUSEADDR also for UDP ports. This is dangerous and might lead into situations that are very difficult to debug. There is no point in setting SO_REUSEADDR for UDP ports since UDP is connection less and there can not be any lingering connections like with TCP.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)