Changeset 689 for trunk/sx/compress.c
- Timestamp:
- 19/08/08 12:42:16 (5 months ago)
- Files:
-
- 1 modified
-
trunk/sx/compress.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/sx/compress.c
r672 r689 120 120 int ns; 121 121 122 /* if the session is already compressed, or the app told us not to, then we don't offer anything */ 123 if(s->compressed || !(s->flags & SX_COMPRESS_OFFER)) 122 /* if the session is already compressed, or the app told us not to, 123 * or STARTTLS is required and stream is not encrypted yet, then we don't offer anything */ 124 if(s->compressed || !(s->flags & SX_COMPRESS_OFFER) || ((s->flags & SX_SSL_STARTTLS_REQUIRE) && s->ssf == 0)) 124 125 return; 125 126
