ne_read_response_block and authentication.

Pierre ANCELOT pierreact at gmail.com
Fri Sep 18 17:47:06 EDT 2009


Thank you :)
Is there anything like

ssize_t ne_write_block(ne_request *req, char *buffer, size_t buflen);
or something?

I'm trying to wrap read and write C functions.

Thank you :)



On Fri, Sep 18, 2009 at 2:58 PM, Joe Orton <joe at manyfish.co.uk> wrote:

> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.manyfish.co.uk/pipermail/neon/attachments/20090918/ff4c9159/attachment.html 


More information about the neon mailing list