Comparison

mod_compression/README.markdown @ 2486:a5d4a78c7619

mod_compression/README: Include lua-zlib installation instructions and link to source
author Kim Alvefur <zash@zash.se>
date Mon, 06 Feb 2017 02:47:37 +0100
parent 2484:560378965b82
comparison
equal deleted inserted replaced
2485:81956bb99289 2486:a5d4a78c7619
14 The XMPP protocol specifies that all clients and servers supporting 14 The XMPP protocol specifies that all clients and servers supporting
15 compression must support the "zlib" compression method, and this is what 15 compression must support the "zlib" compression method, and this is what
16 Prosody uses. However you will need to install zlib support for Lua on 16 Prosody uses. However you will need to install zlib support for Lua on
17 your system. There are different ways of doing this depending on your 17 your system. There are different ways of doing this depending on your
18 system. If in doubt whether it is installed correctly, the command 18 system. If in doubt whether it is installed correctly, the command
19 `lua-lzlib` in a console should open a Lua prompt with no errors. 19 `lua -lzlib` in a console should open a Lua prompt with no errors.
20 20
21 For more information on obtaining lua-zlib for your platform, see the 21 Debian/Ubuntu
22 [dependencies page][doc:depends]. 22 : `apt-get install lua-zlib`
23
24 LuaRocks
25 : `luarocks install lua-zlib`
26
27 Source
28 : <https://github.com/brimworks/lua-zlib>
23 29
24 # Usage 30 # Usage
25 31
26 ``` lua 32 ``` lua
27 modules_enabled = { 33 modules_enabled = {