Commit graph

52 commits

Author SHA1 Message Date
Kim Alvefur
ee9ef878c4 mod_s2s, mod_saslauth, mod_compression: Refactor to have common code for opening streams 2013-03-16 17:46:43 +01:00
Tobias Markmann
5877694c36 mod_compression: advertise/activate compression only for authenticated sessions in accordance to XEP-0170. (Thanks fippo) 2012-05-19 22:05:23 +02:00
Kim Alvefur
c707eb0fa1 mod_compression: Change default compression level to 7 2012-01-19 16:47:12 +01:00
Kim Alvefur
54d1d2ec6e mod_compression: Use get_option_number 2012-01-19 16:38:04 +01:00
Waqas Hussain
b7e51a203d Monster whitespace commit (beware the whitespace monster). 2010-10-16 23:00:42 +05:00
Waqas Hussain
91c11b4ec9 mod_compression: Updated to use the new events API. 2010-10-16 06:53:59 +05:00
Matthew Wild
ac2c84b749 Merge 0.7->trunk 2010-06-29 20:17:21 +01:00
Waqas Hussain
3b36940c3b mod_compression: Lowered a log level. 2010-06-24 03:46:05 +05:00
Matthew Wild
0929b61dbc mod_compression: Move logging of compression/decompression errors to before the closing of the stream, to make logs a bit easier to follow 2010-06-10 16:47:17 +01:00
Matthew Wild
193e01e5b9 mod_compression: Remove the unneccessary stream:reset() overloading, which was causing double decompression and c2s/s2s failures 2010-06-10 01:55:32 +01:00
Matthew Wild
061df0df37 Merge 0.7->trunk 2010-06-09 01:11:12 +01:00
Waqas Hussain
dd7bc73b3e mod_compression: Removed some useless logging code. 2010-06-08 16:33:32 +05:00
Matthew Wild
20cfa07081 mod_compression: Use filters! \o/ 2010-06-02 18:24:56 +01:00
Matthew Wild
247b811e65 mod_compression: Update for new session.data() syntax, fixes invalid XML errors after compression negotiation (thanks hg bisect) 2010-05-29 02:08:11 +01:00
Matthew Wild
2283fae9c1 Merge 0.6->0.7 2010-03-18 01:25:50 +00:00
Matthew Wild
48e4e284e9 Merge with 0.6 (into 0.7, namely mod_compression fixes) 2010-03-17 14:28:26 +00:00
Waqas Hussain
2980a625ea mod_compression: Improved and lowered log level of some logged messages. 2010-03-16 00:15:05 +05:00
Waqas Hussain
b3aafb2c90 mod_compression: Return <setup-failed/> instead of <unsupported-method/> where applicable. 2010-03-09 20:14:47 +05:00
Waqas Hussain
a4d78f333f mod_compression: More robust stanza processing. 2010-03-09 18:19:50 +05:00
Waqas Hussain
b01e95ae14 mod_compression: Don't succeed after indicating a failure. 2010-03-09 18:11:45 +05:00
Waqas Hussain
84ece3aca6 mod_compression: Don't tell client compression succeeded when it didn't. 2010-03-09 17:52:18 +05:00
Waqas Hussain
cf224cd1a1 mod_compression: Fixed various possible tracebacks in logging. 2010-03-09 17:43:18 +05:00
Waqas Hussain
1445574fd3 s2smanager, mod_compression, mod_tls: Changed event.session to event.origin for s2s-stream-features event for consistency. 2010-02-12 04:30:17 +05:00
Waqas Hussain
2d89cb62a3 mod_compression: Hook stream-features event using new events API. 2010-02-12 04:21:34 +05:00
Matthew Wild
7ce19513ad mod_compression: Tweak some log levels 2009-12-04 19:04:03 +00:00
Tobias Markmann
8c48053170 mod_compression: Removing trailing whitespace. 2009-12-01 21:17:13 +01:00
Tobias Markmann
81e7039c89 mod_compression: Declaring the de-/compression pipes as local. 2009-12-01 21:04:02 +01:00
Tobias Markmann
62ab9da69a mod_compression: Some comment clean up. 2009-12-01 20:59:42 +01:00
Tobias Markmann
dcfc9865db mod_compression: Removing forgotten debugging output. 2009-12-01 00:21:32 +01:00
Tobias Markmann
7f176701d2 mod_compression: Define db (dialback) namespace in stream header. 2009-12-01 00:10:47 +01:00
Tobias Markmann
4d1368b58f mod_compression: Enabeling compression for outgoing s2s streams. 2009-11-30 23:23:42 +01:00
Tobias Markmann
6dd1e48964 mod_compression: Some further refactoring. 2009-11-29 23:43:12 +01:00
Tobias Markmann
b7799b239e mod_compression: Make setup_compression work for s2s sessions too. 2009-11-29 23:04:19 +01:00
Tobias Markmann
c7c629d9c8 mod_compression: Moving compression setup in a dedicated function. 2009-11-29 22:18:06 +01:00
Tobias Markmann
b1743dfea1 mod_compression: Prepare activating of compression on s2s. 2009-11-29 22:02:21 +01:00
Tobias Markmann
8db68f1762 Enable one way stream compression on s2s links. 2009-11-29 21:32:39 +01:00
Tobias Markmann
62dccf877b Fixing some typos. 2009-11-20 17:12:12 +01:00
Tobias Markmann
ad07122f42 Fixing some typos. 2009-11-20 17:12:12 +01:00
Waqas Hussain
a212b9c43f mod_compression: Fixed: Starting compression only worked before auth 2009-09-02 19:22:06 +05:00
Tobias Markmann
20d9c7ea6d Don't allow double compression. 2009-08-18 22:00:37 +02:00
Tobias Markmann
f74df67a5d Support compression also after SASL. 2009-08-18 21:46:25 +02:00
Waqas Hussain
8be5cdc4e3 mod_compression: Fixed some undefined global accesses 2009-08-18 19:56:16 +05:00
Tobias Markmann
8162f0368b Remove print which was used for debugging purposes. 2009-08-13 13:58:49 +02:00
Tobias Markmann
12279a364a Using pcall to make save the rest from zlib fails. Emit errors on those fails. 2009-08-13 13:20:32 +02:00
Tobias Markmann
e3c4ddef05 Forgot to use the configured compression_level. Now it's used. 2009-08-13 12:05:33 +02:00
Tobias Markmann
07f9296e47 Add config option handling. 2009-08-13 11:56:22 +02:00
Tobias Markmann
de55189822 Add a TODO for s2s compression support. 2009-08-13 10:57:56 +02:00
Tobias Markmann
da8fb6c3b3 Remove space at the end of a line. 2009-08-13 10:21:32 +02:00
Tobias Markmann
edd23d4451 Add FIXME to remember TLS compression detection. 2009-08-13 10:19:33 +02:00
Tobias Markmann
13bfc062ef Actually inject de- and compression into the reading/writing functions. 2009-08-13 09:34:27 +02:00