Opened 9 years ago

Closed 9 years ago

#298 closed enhancement (fixed)

review: use 'REUSEADDR' option for UDP sockets

Reported by: jinmei Owned by: UnAssigned
Priority: medium Milestone: 06. 4th Incremental Release
Component: b10-auth Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity:
Sub-Project: Feature Depending on Ticket:
Estimated Difficulty: 0.0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

Could someone review the attached patch?

Without this fix we cannot run two instances of name servers, one listening on a specific address and the other on a different (or wildcard) address.

I know we passed the code freeze point, but I'd like to merge it for this week's release if it's okay. The patch is quite simple (a one line change), and can be crucial if you want to run BIND 10 a bit more seriously (you may want to run BIND 9 with one address and BIND10 with another address in a migration phase).

Subtickets

Attachments (1)

diff (464 bytes) - added by jinmei 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by jinmei

comment:1 Changed 9 years ago by jinmei

  • Owner set to UnAssigned
  • Status changed from new to reviewing

comment:2 Changed 9 years ago by jinmei

btw, I think it's quite minor and wouldn't need a separate changelog entry.

comment:3 follow-up: Changed 9 years ago by jelte

Say, didn't we use to have this flag set anyway? (before asio)

I think this should go in, looks ok to me.

comment:4 in reply to: ↑ 3 Changed 9 years ago by jinmei

  • Resolution set to fixed
  • Status changed from reviewing to closed

Replying to jelte:

Say, didn't we use to have this flag set anyway? (before asio)

I think this should go in, looks ok to me.

Thanks, committed. Closing ticket.

btw, as far as I can see we've never made UDP sockets "reusable".

Note: See TracTickets for help on using tickets.