From a3f48c77987c4107f8391d5125b2b924cea60aa3 Mon Sep 17 00:00:00 2001 From: mysticbbs Date: Sat, 17 Aug 2013 22:27:43 -0400 Subject: [PATCH] thoughts --- mystic/mis_client_binkp.pas | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/mystic/mis_client_binkp.pas b/mystic/mis_client_binkp.pas index 860a552..e854189 100644 --- a/mystic/mis_client_binkp.pas +++ b/mystic/mis_client_binkp.pas @@ -42,6 +42,9 @@ Const M_SKIP = 10; M_DATA = 255; + // needs to be 32k... can't remember what the problem was that made me + // limit it temporarily to 30k + BinkPMaxBufferSize = 30 * 1024; TempFileTime = 1363944820; @@ -193,6 +196,12 @@ Var Begin // Scan all FLO files in outbound directory, and PRUNE them all. + // possible issue if multiple BINKP connections are going. we need + // to revamp this to perform appropriate file locking and waiting. + // also should be moved to mis_common since FTN-FTP will also perform + // the same procedure. + // could also perform a critical section as a cheesy way to do this. + FindFirst (SetOutPath + '*.?lo', AnyFile, DirInfo); While DosError = 0 Do Begin @@ -525,8 +534,6 @@ Begin End; End; -// DoFrameCheck; - Case TxState of TxGetEOF : Begin If HaveHeader Then