lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2010/1/28 Ignacio Burgueño <ignaciob@inconcertcc.com>:
> Here is an example using deflate. It does the compression using streams, but
> one needs to have the entire resulting data in memory because you need to
> send the actual (compressed) content-length before sending the data. (this,
> of course, if you're dealing with http)

Can't you use chunked mode content-transfer-mode with compression?

Sam