Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-554

A hook between bind() and accept()

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.0-M1
    • Fix Version/s: 2.0.8
    • Component/s: Core
    • Labels:
      None

      Description

      Related discussion: http://markmail.org/message/2yzhbttmen22gida

      The typical use case is to run a server with a regular user which binds to a previledged port (i.e. 1~1024). To implement this kind of server, there needs to be a hook after ServerSocket.bind() and before ServerSocket.accept().

      The first suggested solution was to provide a listener method to IoServiceListener, but it's not optimal because IoServiceListener is used for both acceptor and connector. Any better idea is appreciated.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              trustin Trustin Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: