OpenBSD CVS

CVS log for src/usr.sbin/smtpd/Attic/compress_zlib.c


[BACK] Up to [local] / src / usr.sbin / smtpd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.5, Sun Aug 26 13:38:43 2012 UTC (11 years, 9 months ago) by gilles
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED

- use the same compression algorithm, gzip, for message file and envelopes
- rename compress_zlib.c to compress_gzip.c

with this commit it is possible to inspect a compressed queue with gzcat :)

Revision 1.4 / (download) - annotate - [select for diffs], Sun Aug 26 11:52:48 2012 UTC (11 years, 9 months ago) by gilles
Branch: MAIN
Changes since 1.3: +36 -26 lines
Diff to previous 1.3 (colored)

- define ZLIB_BUFFER_SIZE instead of hardcoding 8192
- check gzdopen() failure
- call gzclose() whenever a failure occurs after gzdopen()
- simplify slightly some checks in compress/uncompress
- create PATH_TEMPORARY in /var/spool/smtpd, chmod 700, owned by _smtpd
- compress_zlib should use PATH_TEMPORARY instread of /tmp as we're
	chrooted and this will otherwise lead to a fatal()

ok chl@

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 26 11:21:28 2012 UTC (11 years, 9 months ago) by gilles
Branch: MAIN
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

- remove unused variable
- comment variables unused at this time

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 26 10:17:13 2012 UTC (11 years, 9 months ago) by chl
Branch: MAIN
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (colored)

Add missing RCS Id.

Reminded by jasper@

ok gilles@ eric@

Revision 1.1 / (download) - annotate - [select for diffs], Sat Aug 25 23:35:09 2012 UTC (11 years, 9 months ago) by chl
Branch: MAIN

Add compress_backend, allowing compression of messages and envelopes in the queue.
To use it, just add "queue compress" in smtpd.conf. For now, only zlib is used.

lots of feedback from eric@ and gilles@

ok eric@ gilles@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.