Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not cache local/remote address when creating EpollDatagramChannel with InternetProtocolFamily #9436

merged 2 commits into from Aug 11, 2019
Commits on Aug 7, 2019
  1. Do not cache local/remote address when creating EpollDatagramChannel …

    violetagg committed Aug 7, 2019
    …with InternetProtocolFamily
    EpollDatagramChannel#localAddress returns wrong information when
    EpollDatagramChannel is created with InternetProtocolFamily,
    and EpollDatagramChannel#localAddress is invoked BEFORE the actual binding.
    This is a regression caused by change
    EpollDatagramChannel() and EpollDatagramChannel(InternetProtocolFamily family)
    do not cache local/remote address
    Rebinding on the same address without "reuse port" works
    EpollDatagramChannel#localAddress returns correct address
Commits on Aug 10, 2019
  1. Add unit tests

    violetagg committed Aug 10, 2019
You can’t perform that action at this time.