Re: Async http client experiments....

2012-09-11 Thread Oleg Kalnichevski
On Mon, 2012-09-10 at 17:10 -0400, Daniel Kulp wrote: > On Sep 10, 2012, at 6:13 AM, Oleg Kalnichevski wrote: > > > I think this problem can be easily fixed. If the expected X500Principal > > is known in advance, one can stick it into the local execution context > > as

Re: Async http client experiments....

2012-09-10 Thread Oleg Kalnichevski
On Sun, 2012-09-09 at 08:14 -0400, Daniel Kulp wrote: > On Sep 8, 2012, at 4:33 PM, Oleg Kalnichevski wrote: > > I committed your patch with some minor tweaks. Please double-check. > > > > Cool. Thanks. I'll take a look on Monday. > > > The fundamental p

Re: Async http client experiments....

2012-09-08 Thread Oleg Kalnichevski
On Fri, 2012-09-07 at 12:53 -0400, Daniel Kulp wrote: > On Sep 6, 2012, at 9:33 AM, Oleg Kalnichevski wrote: > > > On Wed, 2012-09-05 at 10:49 -0400, Daniel Kulp wrote: > >> Still not sure about the Proxy stuff at all, but that's likely because I > >> don'

Re: Async http client experiments....

2012-09-06 Thread Oleg Kalnichevski
On Thu, 2012-09-06 at 10:14 -0400, Daniel Kulp wrote: > On Sep 6, 2012, at 9:42 AM, Oleg Kalnichevski wrote: > > > On Wed, 2012-09-05 at 15:30 -0400, Daniel Kulp wrote: > >> On Sep 5, 2012, at 10:49 AM, Daniel Kulp wrote: > >> > >> OK. Went ahead and ri

Re: Async http client experiments....

2012-09-06 Thread Oleg Kalnichevski
On Thu, 2012-09-06 at 10:12 -0400, Daniel Kulp wrote: > On Sep 6, 2012, at 9:40 AM, Oleg Kalnichevski wrote: > > On Wed, 2012-09-05 at 10:55 -0400, Daniel Kulp wrote: > >> On Sep 5, 2012, at 9:35 AM, Alessio Soldano wrote: > >> > >>> On

Re: Async http client experiments....

2012-09-06 Thread Oleg Kalnichevski
On Wed, 2012-09-05 at 15:30 -0400, Daniel Kulp wrote: > On Sep 5, 2012, at 10:49 AM, Daniel Kulp wrote: > > > > > On Sep 5, 2012, at 9:26 AM, Oleg Kalnichevski wrote: > >> > >> Just ditch HttpHost. You obviously need a richer class to represent > >>

Re: Async http client experiments....

2012-09-06 Thread Oleg Kalnichevski
On Wed, 2012-09-05 at 10:55 -0400, Daniel Kulp wrote: > On Sep 5, 2012, at 9:35 AM, Alessio Soldano wrote: > > > On 09/04/2012 09:03 PM, Daniel Kulp wrote: > >> > >> That said, there is still a bit of work todo: > >> > >> 1) Proxy support - haven't looked into this at all yet. Hard for me to

Re: Async http client experiments....

2012-09-06 Thread Oleg Kalnichevski
On Wed, 2012-09-05 at 10:49 -0400, Daniel Kulp wrote: > On Sep 5, 2012, at 9:26 AM, Oleg Kalnichevski wrote: ... > >> 2) Lots of issues trying to associate the request with the connection at > >> connection creation time. I needed information from the request in order

Re: Async http client experiments....

2012-09-05 Thread Oleg Kalnichevski
On Tue, 2012-09-04 at 15:20 -0400, Daniel Kulp wrote: > On Aug 6, 2012, at 10:43 AM, Oleg Kalnichevski wrote: > >>>> CXF allows these to be configured on a per-client (and sometimes even > >>>> per- request) basis.It looks like HC seems to have these

Re: Async http client experiments....

2012-09-05 Thread Oleg Kalnichevski
nder with work at my day job (the one that helps me pay the bills) and am unlikely to be able to find a lot of time to write code but will happily assist with HC specific issues. Just let me know. Cheers Oleg > > Dan > > > > On Aug 6, 2012, at 10:43 AM, Oleg Kalnichevski wro

Re: Async http client experiments....

2012-08-06 Thread Oleg Kalnichevski
On Fri, 2012-08-03 at 09:17 -0400, Daniel Kulp wrote: > On Friday, August 03, 2012 11:29:41 AM Oleg Kalnichevski wrote: > > > I just went through and added a little bit of error handling into it as > > > well. Mostly around a connection refused exception and for read > &g

Re: Async http client experiments....

2012-08-03 Thread Oleg Kalnichevski
On Thu, 2012-08-02 at 14:58 -0400, Daniel Kulp wrote: > On Wednesday, August 01, 2012 05:58:23 PM Oleg Kalnichevski wrote: > > Hi Daniel ... > > > I also noticed that for some reason additional connections get open and > > closed without transmitting any data, which

Re: Async http client experiments....

2012-08-01 Thread Oleg Kalnichevski
On Mon, 2012-07-30 at 19:47 -0400, Daniel Kulp wrote: > On Monday, July 30, 2012 11:41:55 PM Oleg Kalnichevski wrote: > > On Mon, 2012-07-30 at 17:06 -0400, Daniel Kulp wrote: > > > BTW: I think the NHttpClient.java referenced from: > > > http://hc.apache.org/httpcompo

Re: Async http client experiments....

2012-07-31 Thread Oleg Kalnichevski
On Mon, 2012-07-30 at 19:47 -0400, Daniel Kulp wrote: > On Monday, July 30, 2012 11:41:55 PM Oleg Kalnichevski wrote: > > On Mon, 2012-07-30 at 17:06 -0400, Daniel Kulp wrote: > > > BTW: I think the NHttpClient.java referenced from: > > > http://hc.apache.org/httpcompo

Re: Async http client experiments....

2012-07-30 Thread Oleg Kalnichevski
On Mon, 2012-07-30 at 17:06 -0400, Daniel Kulp wrote: > On Monday, July 30, 2012 10:40:32 PM Oleg Kalnichevski wrote: > > Individual ContentDecoder / ContentEncoder implementations are marked > > with @NonThreadSafe annotation but public APIs do not make it clear > > enoug

Re: Async http client experiments....

2012-07-30 Thread Oleg Kalnichevski
On Mon, 2012-07-30 at 10:35 -0400, Daniel Kulp wrote: > On Sunday, July 29, 2012 12:59:15 PM Oleg Kalnichevski wrote: > > All right. Then, with your permission, I'll try to commit some of my > > changes. You can always revert or re-work them if anything is not to > > your

Re: Async http client experiments....

2012-07-29 Thread Oleg Kalnichevski
On Sat, 2012-07-28 at 16:47 -0400, Daniel Kulp wrote: > On Saturday, July 28, 2012 03:14:16 PM Oleg Kalnichevski wrote: > > > 4) Apache HTTP Components (HC)- this was the first one I tried, ran into > > > performance issues, abandoned it to test the others, then came back

Re: Async http client experiments....

2012-07-28 Thread Oleg Kalnichevski
On Fri, 2012-07-27 at 15:20 -0400, Daniel Kulp wrote: > I've committed a few experiments I've been working on to: > > https://svn.apache.org/repos/asf/cxf/sandbox/dkulp_async_clients > > > Basically, I've been trying to find an async client that is somewhat usable > for CXF without completely r