Mercurial > prosody-hg
annotate plugins/mod_compression.lua @ 8706:e2919978673e
net.http: Fix parameter order to http request callbacks
Commit e3b9dc9dd940 changed the parameter order in 2013, but did not update the names of the parameters in the callback function. Due to this inconsistency, 12df41a5a4b1 accidentally reversed the order when fixing the variable names without fixing where they are used.
Additionally the documentation was incorrect (since 2013), and this has also now been fixed.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 04 Apr 2018 18:27:44 +0100 |
| parents | ad3dce172b01 |
| children |
| rev | line source |
|---|---|
|
1669
b8eec163a823
Commit initial version of mod_compression.
Tobias Markmann <tm@ayena.de>
parents:
diff
changeset
|
1 -- Prosody IM |
|
7349
ad3dce172b01
mod_compression: Remove and replace with placeholder that logs an error
Matthew Wild <mwild1@gmail.com>
parents:
6984
diff
changeset
|
2 -- Copyright (C) 2016 Matthew Wild |
|
5776
bd0ff8ae98a8
Remove all trailing whitespace
Florian Zeitz <florob@babelmonkeys.de>
parents:
5535
diff
changeset
|
3 -- |
|
1669
b8eec163a823
Commit initial version of mod_compression.
Tobias Markmann <tm@ayena.de>
parents:
diff
changeset
|
4 -- This project is MIT/X11 licensed. Please see the |
|
b8eec163a823
Commit initial version of mod_compression.
Tobias Markmann <tm@ayena.de>
parents:
diff
changeset
|
5 -- COPYING file in the source package for more information. |
|
b8eec163a823
Commit initial version of mod_compression.
Tobias Markmann <tm@ayena.de>
parents:
diff
changeset
|
6 -- |
|
b8eec163a823
Commit initial version of mod_compression.
Tobias Markmann <tm@ayena.de>
parents:
diff
changeset
|
7 |
|
7349
ad3dce172b01
mod_compression: Remove and replace with placeholder that logs an error
Matthew Wild <mwild1@gmail.com>
parents:
6984
diff
changeset
|
8 -- COMPAT w/ pre-0.10 configs |
|
ad3dce172b01
mod_compression: Remove and replace with placeholder that logs an error
Matthew Wild <mwild1@gmail.com>
parents:
6984
diff
changeset
|
9 error("mod_compression has been removed in Prosody 0.10+. Please see https://prosody.im/doc/modules/mod_compression for more information."); |
