Hello!
On Wed, Jan 23, 2013 at 09:42:22AM -0500, Brian Akins wrote:
> On Tue, Jan 22, 2013 at 1:17 PM, Maxim Dounin <mdounin@mdounin.ru> wrote:
> > In
> > particular, with quick look through sources I don't see any
> > interface to store data with size not known in advance, which
> > happens often in HTTP world.
>
> Would this help? from the docs:
> "'Add transaction' support allows constructing object's value on the fly
> without serializing it into a temporary buffer (aka 'zero-copy').
> Uncommited transaction can be rolled back at any time.
> Think of videos streamed directly into the cache without usage of temporary
> buffers or complex objects requiring serialization from multiple distinct
> places before storing them into the cache"
>
> I haven't looked at the code yet.
I have looked, and the interface (including transaction's one)
requires to provide size in advance.
--
Maxim Dounin
http://nginx.com/support.html
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel