lua-zlib icon indicating copy to clipboard operation
lua-zlib copied to clipboard

Simple streaming interface to zlib for Lua.

Results 20 lua-zlib issues
Sort by recently updated
recently updated
newest added

We are using Lua on an embedded system with 32 bit. Accordingly, lua_Numbers are 32 bit floats not able to store 32 bit integer-checksums. I've replaced all calls like lua_pushnumber(),...

Building lua-zlib on windows 10 Building zlib using cmake on VS dev ![image](https://user-images.githubusercontent.com/87320238/208477397-44c3911c-4558-4990-b9b0-efdda805013b.png) using luarocks to install ![image](https://user-images.githubusercontent.com/87320238/208477589-efadc035-6031-4281-8ae0-c9f89c9a6adb.png) I believe the issue lies withing the rockspec. Looking at the 1.2-2.rockspec...

I notice the following code snippet in `lz_filter_impl` function: ```c /* Do the actual deflate'ing: */ if (lua_gettop(L) > 0) { stream->next_in = (unsigned char*)lua_tolstring(L, -1, &avail_in); } else {...

when I do this ``` local zlib = require ("zlib") ``` nginx error log would show: [warn] 30914#30914: *24397 [lua] _G write guard:12: writing a global lua variable ('zlib') which...

"_lua_type", referenced from: _lz_filter_impl in lua_zlib.c.o _lz_checksum in lua_zlib.c.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)...

nginx.conf: ``` location /test { echo "hello, world!"; content_by_lua ' local zlib = require "zlib" ngx.log(ngx.DEBUG, "test-------") local stream = zlib.deflate()("123456","finish") ngx.say(stream) '; } ``` How can I install Lua-zlib:...

I'm getting this while trying to install. ```bash > luarocks install lua-zlib 1.2-1; Installing https://luarocks.org/lua-zlib-1.2-1.rockspec Cloning into 'lua-zlib'... fatal: remote error: The unauthenticated git protocol on port 9418 is no...

I'm able to install lua-zlib using LuaRocks on my Windows system. However, when trying to load lua-zlib, using `require("zlib")`, I get an OS error dialog for lua.exe, saying "entry point...

Thank you for providing this tool! Already used in production environment。 Use it to process gzip body data。 But the processing speed drops by 60% after enabling。 Close the decompression...