You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Oleg Kalnichevski <ol...@apache.org> on 2011/09/09 00:16:55 UTC
[HttpCore] new async protocol handlers
Folks
New async protocol handlers are complete and stable enough to get a feel
of how the new API is shaping up.
Non-blocking, zero-copy file server example
new:
http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpServer.java
old:
http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.1.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpServer.java
Non-blocking client example
new:
http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java
old:
http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.1.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java
Non-blocking reverse proxy example
new:
http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java
old:
http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.1.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java
The difference in the client and the proxy code is especially
noticeable, even in terms of lines of code necessary it takes to get the
same things done.
Feel free to take a look and let me know what you think.
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
Re: [HttpCore] new async protocol handlers
Posted by sebb <se...@gmail.com>.
On 9 September 2011 12:02, Oleg Kalnichevski <ol...@apache.org> wrote:
> On Thu, 2011-09-08 at 20:41 -0400, Bill Speirs wrote:
>> Oleg, this all looks GREAT! When can we expect another alpha release
>> with these changes incorporated?
>>
>> Thanks for all the hard work!
>>
>> Bill-
>>
>
> Thanks, Bill
>
> I would like to cut a release as soon as possible, but there is still
> work to be done. The async service handler needs further improvement.
> HTTPCORE-272 needs to be looked into. And unit tests are lacking. I
> would like to have it all wrapped up by the end of the month the latest.
>
If you are just looking for a jar to test against, we could easily
provide a SNAPSHOT release as that does not require any QA.
So no guarantees against nasties.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
Re: [HttpCore] new async protocol handlers
Posted by Oleg Kalnichevski <ol...@apache.org>.
On Thu, 2011-09-08 at 20:41 -0400, Bill Speirs wrote:
> Oleg, this all looks GREAT! When can we expect another alpha release
> with these changes incorporated?
>
> Thanks for all the hard work!
>
> Bill-
>
Thanks, Bill
I would like to cut a release as soon as possible, but there is still
work to be done. The async service handler needs further improvement.
HTTPCORE-272 needs to be looked into. And unit tests are lacking. I
would like to have it all wrapped up by the end of the month the latest.
Cheers
Oleg
> On Thu, Sep 8, 2011 at 6:16 PM, Oleg Kalnichevski <ol...@apache.org> wrote:
> > Folks
> >
> > New async protocol handlers are complete and stable enough to get a feel
> > of how the new API is shaping up.
> >
> > Non-blocking, zero-copy file server example
> >
> > new:
> > http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpServer.java
> > old:
> > http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.1.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpServer.java
> >
> > Non-blocking client example
> >
> > new:
> > http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java
> > old:
> > http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.1.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java
> >
> > Non-blocking reverse proxy example
> >
> > new:
> > http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java
> > old:
> > http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.1.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java
> >
> > The difference in the client and the proxy code is especially
> > noticeable, even in terms of lines of code necessary it takes to get the
> > same things done.
> >
> > Feel free to take a look and let me know what you think.
> >
> > Oleg
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> > For additional commands, e-mail: dev-help@hc.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
Re: [HttpCore] new async protocol handlers
Posted by Bill Speirs <bi...@gmail.com>.
Oleg, this all looks GREAT! When can we expect another alpha release
with these changes incorporated?
Thanks for all the hard work!
Bill-
On Thu, Sep 8, 2011 at 6:16 PM, Oleg Kalnichevski <ol...@apache.org> wrote:
> Folks
>
> New async protocol handlers are complete and stable enough to get a feel
> of how the new API is shaping up.
>
> Non-blocking, zero-copy file server example
>
> new:
> http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpServer.java
> old:
> http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.1.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpServer.java
>
> Non-blocking client example
>
> new:
> http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java
> old:
> http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.1.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java
>
> Non-blocking reverse proxy example
>
> new:
> http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java
> old:
> http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.1.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java
>
> The difference in the client and the proxy code is especially
> noticeable, even in terms of lines of code necessary it takes to get the
> same things done.
>
> Feel free to take a look and let me know what you think.
>
> Oleg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org