You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Roland Weber (JIRA)" <ji...@apache.org> on 2006/11/20 16:10:04 UTC

[jira] Commented: (HTTPCORE-15) Provide a way to access IP Address of the remote client making a request

    [ http://issues.apache.org/jira/browse/HTTPCORE-15?page=comments#action_12451330 ] 
            
Roland Weber commented on HTTPCORE-15:
--------------------------------------

Hello Asankha, Oleg,

I don't see how we could address this in the HttpCore API. We don't want to reintroduce network layer dependencies now that we finally managed to shrink the connection interfaces to a minimum. We could add something to the implementation classes, but I am in disfavor of lifting this requirement to the core API level.
IMHO IP addresses should be confined to connection implementations. Maybe in the HttpConn API, but not in HttpCore.

The way traditional application servers handle this is that the web server plugin registers the remote IP address and forwards it as meta data with the request. Maybe we can change the server connection implementation to add the IP address to the HttpContext? I'm not sure how that fits with the NIO stuff though.

cheers,
  Roland


> Provide a way to access IP Address of the remote client making a request
> ------------------------------------------------------------------------
>
>                 Key: HTTPCORE-15
>                 URL: http://issues.apache.org/jira/browse/HTTPCORE-15
>             Project: HttpComponents Core
>          Issue Type: New Feature
>          Components: HttpCore
>    Affects Versions: 4.0-alpha3
>            Reporter: Asankha C. Perera
>         Assigned To: Oleg Kalnichevski
>            Priority: Minor
>
> Currently the API does not provide a way for implementations to find out the remote IP address of a request

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org