Btw all tests I did worked fine the way it is now but maybe this would have
issues when threaded?
Em 02/07/2014 12:51, "Daniel Nicoletti" <[email protected]> escreveu:

> hmm well if you say it's a bad idea
> I can just remove readLine implementation
> and QIODevice will emulate it calling
> read and finding the end of line.
> Should I remove it then?
>
> This is how I'm using it:
>
> https://gitorious.org/cutelyst/cutelyst/source/961abeab6419b66385a255967f7e517fa8cfbd5c:uwsgiEngine/bodyuwsgi.cpp
>
> Thanks
>
> 2014-07-01 2:13 GMT-03:00 Roberto De Ioris <[email protected]>:
> >
> >> Finally figured out what I was doing
> >> wrong with my IO device and now
> >> everything works but when someone
> >> class seek() on my device I have to
> >>
> >> uwsgi_request_body_seek(new_pos);
> >> request->post_readline_pos = request->post_pos;
> >>
> >> Any reason why readline pos isn't changed
> >> in body_seek function?
> >>
> >
> > well mixing readline based with chunk based reads is really messy, even
> > when you call POSIX fread() after seek you will mess with buffering.
> >
> > Can you report how you are using it ?
> >
> >
> > --
> > Roberto De Ioris
> > http://unbit.it
> > _______________________________________________
> > uWSGI mailing list
> > [email protected]
> > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>
>
>
> --
> Daniel Nicoletti
>
> KDE Developer - http://dantti.wordpress.com
>
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to