diff session.h @ 501:d58c478bd399

Add support for [email protected] delayed compression. Are still advertising 'zlib' for the server, need to allow delayed-only as an option
author Matt Johnston <matt@ucc.asn.au>
date Mon, 29 Sep 2008 02:23:04 +0000
parents 738313e73b1c
children 43bbe17d6ba0
line wrap: on
line diff
--- a/session.h	Tue Sep 23 16:02:51 2008 +0000
+++ b/session.h	Mon Sep 29 02:23:04 2008 +0000
@@ -71,6 +71,8 @@
 
 	char recv_algo_comp; /* compression */
 	char trans_algo_comp;
+	int allow_compress; /* whether compression has started (useful in 
+							[email protected] delayed compression case) */
 #ifndef DISABLE_ZLIB
 	z_streamp recv_zstream;
 	z_streamp trans_zstream;