You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2008/03/17 12:59:24 UTC

[jira] Created: (DIRMINA-554) A hook between bind() and accept()

A hook between bind() and accept()
----------------------------------

                 Key: DIRMINA-554
                 URL: https://issues.apache.org/jira/browse/DIRMINA-554
             Project: MINA
          Issue Type: New Feature
          Components: Core
    Affects Versions: 2.0.0-M1
            Reporter: Trustin Lee
            Priority: Minor
             Fix For: 2.0.0-M2


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRMINA-554) A hook between bind() and accept()

Posted by "Julien Vermillard (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Vermillard updated DIRMINA-554:
--------------------------------------

    Fix Version/s:     (was: 2.0.0-M2)
                   2.0.0-M3

> A hook between bind() and accept()
> ----------------------------------
>
>                 Key: DIRMINA-554
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-554
>             Project: MINA
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 2.0.0-M1
>            Reporter: Trustin Lee
>            Priority: Minor
>             Fix For: 2.0.0-M3
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRMINA-554) A hook between bind() and accept()

Posted by "Julien Vermillard (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Vermillard updated DIRMINA-554:
--------------------------------------

    Fix Version/s:     (was: 2.0.0-RC1)
                   3.0.0-M1

> A hook between bind() and accept()
> ----------------------------------
>
>                 Key: DIRMINA-554
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-554
>             Project: MINA
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 2.0.0-M1
>            Reporter: Trustin Lee
>            Priority: Minor
>             Fix For: 3.0.0-M1
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRMINA-554) A hook between bind() and accept()

Posted by "Julien Vermillard (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Vermillard updated DIRMINA-554:
--------------------------------------

    Fix Version/s:     (was: 2.0.0-M3)
                   2.0.0-M4

> A hook between bind() and accept()
> ----------------------------------
>
>                 Key: DIRMINA-554
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-554
>             Project: MINA
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 2.0.0-M1
>            Reporter: Trustin Lee
>            Priority: Minor
>             Fix For: 2.0.0-M4
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRMINA-554) A hook between bind() and accept()

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRMINA-554:
--------------------------------------

    Fix Version/s:     (was: 2.0.0-M4)
                   2.0.0-RC1

> A hook between bind() and accept()
> ----------------------------------
>
>                 Key: DIRMINA-554
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-554
>             Project: MINA
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 2.0.0-M1
>            Reporter: Trustin Lee
>            Priority: Minor
>             Fix For: 2.0.0-RC1
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.