ne_read_response_block and authentication.

Joe Orton joe at manyfish.co.uk
Fri Sep 18 08:58:28 EDT 2009


On Fri, Sep 18, 2009 at 01:52:22PM +0100, Joe Orton wrote:
> Hi Pierre,
> 
> On Fri, Sep 18, 2009 at 01:08:53PM +0200, Pierre ANCELOT wrote:
> > Ok... nevermind, I figured it out...
> > the whole code had to be run again upon a failure...
> > if ne_end_request returned different than NE_OK...
> 
> Note that must also call ne_read_response_block() in a loop, per the 
> docs in ne_request.h.  You only retry the request if ne_end_request() 
> returns NE_TRY.

Sorry my keyboard seems to be dropping characters ;) Let me try that 
again:

Note that you must also call ne_read_response_block() in a loop, per the 
docs in ne_request.h.  You only retry the request if ne_end_request() 
returns NE_RETRY.




More information about the neon mailing list