How to log the source port from the ClientHandler

2010-02-08 Thread Supun Kamburugamuva
I'm looking for a way to log the source socket port for a socket connection from a Class implementing the NHttpClientHandler. I'm interested in both connection creation and close events. NHttpClientHandler class receives a instance of type NHttpClientConnection. I can cast this to HttpInetConnecti

Status of AsyncHttpClient

2010-02-08 Thread DELHOSTE Fabrice
Hi, In the scope of an important project, I'm strongly interested in the high-level asynchronous http client (pooling, ...) available only in the SVN repo rather than reinventing the wheel (round if possible ;-) I've read the exchange discussed a few months ago and the code drop. What's the sta

Re: How to log the source port from the ClientHandler

2010-02-08 Thread Oleg Kalnichevski
On Mon, 2010-02-08 at 13:41 +0530, Supun Kamburugamuva wrote: > I'm looking for a way to log the source socket port for a socket connection > from a Class implementing the NHttpClientHandler. I'm interested in both > connection creation and close events. > > NHttpClientHandler class receives a ins

Re: Status of AsyncHttpClient

2010-02-08 Thread Oleg Kalnichevski
On Mon, 2010-02-08 at 11:49 +0100, DELHOSTE Fabrice wrote: > Hi, > > In the scope of an important project, I'm strongly interested in the > high-level asynchronous http client (pooling, ...) available only in the SVN > repo rather than reinventing the wheel (round if possible ;-) > I've read the

Re: Re: Status of AsyncHttpClient

2010-02-08 Thread DELHOSTE Fabrice
Thanks! > enough people willing to contribute to it. I see no point in developing > it all by myself, as I am not a great believer in benefits of NIO model > for client side HTTP in the first place. Actually, in my very first analysis, I think I may be in an architecture that requires NIO at bot

Re: How to log the source port from the ClientHandler

2010-02-08 Thread Supun Kamburugamuva
HI Oleg, Thanks for the quick response. Supun. On Mon, Feb 8, 2010 at 5:06 PM, Oleg Kalnichevski wrote: > On Mon, 2010-02-08 at 13:41 +0530, Supun Kamburugamuva wrote: > > I'm looking for a way to log the source socket port for a socket > connection > > from a Class implementing the NHttpClien

Re: Re: Status of AsyncHttpClient

2010-02-08 Thread Oleg Kalnichevski
On Mon, 2010-02-08 at 15:09 +0100, DELHOSTE Fabrice wrote: > Thanks! > > > enough people willing to contribute to it. I see no point in developing > > it all by myself, as I am not a great believer in benefits of NIO model > > for client side HTTP in the first place. > > Actually, in my very firs

Re: Status of AsyncHttpClient

2010-02-08 Thread Asankha C. Perera
Hi Fabrice > Actually, in my very first analysis, I think I may be in an > architecture that requires NIO at both server & client sides. > To sum up, I need to build kind of transcoding proxy, supporting thousands of > client connections and connecting to a few web sites on behalf of those > clie