diff --git a/ChangeLog b/ChangeLog index 6ea7ac02..f9863ca4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,12 +1,14 @@ $Id$ -v0.39.0 09-Oct-2003 +v0.39.1 22-Oct-2003 + + +v0.39.0 09-Oct-2003 - 22-Oct-2003 general: Added menu setup switches for doors: Singe user door and hidden from lists. - Added configure settings for zlib, disabled for endusers. mbsebbs: The whoson list displays the doorname if set in the menus. @@ -27,6 +29,10 @@ v0.39.0 09-Oct-2003 Changed signal handlers to better detect broken TCP links. Added logging to show compressed bytes and switched to compress level 9 compression instead of 6. + Prepared hydra for large compressed data blocks. In the next + developmement version we will actually start using these + large blocks, this change is to give all beta testers the + chance to upgrade. lang: Added language prompt 20. diff --git a/TODO b/TODO index ece0a149..f1c06dc0 100644 --- a/TODO +++ b/TODO @@ -120,6 +120,9 @@ mbcico: U: Fix binkp file resume when mbcico silently dies. mbfile: + U: With file move and file already exists, there is an error + cannot create symbolic link , unknown error 4294968295. + L: Add a check to see if the magic filenames are (still) valid. L: Update <-touch> diff --git a/configure b/configure index 4d304297..d3cc1626 100755 --- a/configure +++ b/configure @@ -1268,7 +1268,7 @@ SUBDIRS="lib mbcico mbfido mbmon mbsebbs mbtask mbsetup unix lang examples html PACKAGE="mbsebbs" MAJOR="0" MINOR="39" -REVISION="0" +REVISION="1" VERSION="$MAJOR.$MINOR.$REVISION" COPYRIGHT="Copyright (C) 1997-2003 Michiel Broek, All Rights Reserved" SHORTRIGHT="Copyright (C) 1997-2003 M. Broek" diff --git a/configure.in b/configure.in index afe73102..1f3193d1 100644 --- a/configure.in +++ b/configure.in @@ -11,7 +11,7 @@ dnl After changeing the version number, run autoconf! PACKAGE="mbsebbs" MAJOR="0" MINOR="39" -REVISION="0" +REVISION="1" VERSION="$MAJOR.$MINOR.$REVISION" COPYRIGHT="Copyright (C) 1997-2003 Michiel Broek, All Rights Reserved" SHORTRIGHT="Copyright (C) 1997-2003 M. Broek" diff --git a/mbcico/hydra.c b/mbcico/hydra.c index f975460e..29c0506f 100644 --- a/mbcico/hydra.c +++ b/mbcico/hydra.c @@ -1064,10 +1064,11 @@ int hydra_batch(int role, file_list *to_send) txlen += 4; hytxpkt(HPKT_DATA, txbuf, txlen); #endif +// FIXME: here to decide in PLZ mode to use larger blocks. if (goodbytes > goodneeded) { blksize *= 2; - if (blksize > H_MAXBLKLEN) { - blksize = H_MAXBLKLEN; + if (blksize > H_UNCBLKLEN) { + blksize = H_UNCBLKLEN; } } } diff --git a/mbcico/hydra.h b/mbcico/hydra.h index 4ca8e238..24ca2ad3 100644 --- a/mbcico/hydra.h +++ b/mbcico/hydra.h @@ -75,8 +75,13 @@ #define XOFF ('S' - '@') /* Ctrl-S (^S) xmit-off character */ #endif #define H_DLE ('X' - '@') /* Ctrl-X (^X) HYDRA DataLinkEscape */ +#define H_UNCBLKLEN 2048 /* Max. uncompressed blocklen */ #define H_MINBLKLEN 64 /* Min. length of a HYDRA data block */ -#define H_MAXBLKLEN 2048 /* Max. length of a HYDRA data block */ +#define H_MAXBLKLEN 8192 /* Max. length of a HYDRA data block */ + /* NB: official is 2048, here we use */ + /* this to prepare for receive large */ + /* compressed blocks. Uncompressed */ + /* we still use 2048 maximum. */ #define H_OVERHEAD 8 /* Max. no. control bytes in a pkt */ #define H_MAXPKTLEN ((H_MAXBLKLEN + H_OVERHEAD + 5) * 3) /* Encoded pkt */ #define H_BUFLEN (H_MAXPKTLEN + 16) /* Buffer sizes: max.enc.pkt + slack */