Skip to content

Fixed SO_REUSEPORT_LB on FreeBSD#504

Merged
petere merged 1 commit intopgbouncer:masterfrom
dwagin:master
Oct 2, 2020
Merged

Fixed SO_REUSEPORT_LB on FreeBSD#504
petere merged 1 commit intopgbouncer:masterfrom
dwagin:master

Conversation

@dwagin
Copy link
Copy Markdown
Contributor

@dwagin dwagin commented Jul 14, 2020

No description provided.

@petere
Copy link
Copy Markdown
Member

petere commented Jul 15, 2020

Could you explain in more than zero words what you are trying to fix? ;-)

@dwagin
Copy link
Copy Markdown
Contributor Author

dwagin commented Jul 15, 2020

FreeBSD have both

SO_REUSEPORT enables duplicate address and port bindings
SO_REUSEPORT_LB enables duplicate address and port bindings with load balancing

and original code in this situation was compiled with wrong option

@petere petere merged commit 38d01c2 into pgbouncer:master Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants