Hi Oleg


> It was a conscious decision to provide only very basic protocol handlers
> out of the box in HttpCore, primarily to not be seen as competition to
> other Apache projects. This probably is no longer relevant. So, If
> anyone would be willing to work on improving protocol handlers in
> HttpCore, I could happily offer my assistance.
>
> However, a better approach might be building an embeddable mini HTTP
> server based on HttpCore with proper connection/thread management and
> keep HttpCore what it is, just core.
>

I agree! Then from our point of view it is best to maintain the code for
managing the connections in the synapse nhttp transport itself. Sorry I am
still picking the httpcore design, and didn't realize that connection
management is out of the scope of the httpcore :-(

Anyway, thanks a lot for the big help.

Thanks,
Ruwan


>
> Cheers
>
> Oleg
>
> > BTW: really appreciate your help in getting this resolved.
> >
> > Thanks,
> > Ruwan
> >
> > On Thu, Apr 22, 2010 at 5:59 PM, Oleg Kalnichevski <[email protected]>
> wrote:
> >
> > > On Thu, 2010-04-22 at 16:10 +0530, Ruwan Linton wrote:
> > > > Oleg,
> > > >
> > > > I wrote the code, expecting that the IOControl#requestOutput will be
> > > calling
> > > > the NhttpServiceHandler#outputReady method or the
> > > > NhttpServiceHandler#responseReady method, but non of those get
> called?
> > > >
> > > > Do you have any clue or is it a different method that I should be
> > > expected
> > > > be calling by the IOReactor??
> > > >
> > >
> > >
> > > NhttpServiceHandler#responseReady event should fire in response to the
> > > IOControl#requestOutput. Synapse trunk has extensive logging support
> for
> > > HTTP wire and context logging. Try turning it on to get more details on
> > > what is happening inside the NHTTP transport.
> > >
> > > Oleg
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail: [email protected]
> > >
> > >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Ruwan Linton
Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org
email: [email protected]; cell: +94 77 341 3097
blog: http://ruwansblog.blogspot.com

Reply via email to