Update of /cvsroot/popfile/engine/Proxy
In directory sc8-pr-cvs1:/tmp/cvs-serv28885
Modified Files:
POP3.pm
Log Message:
fix bug in toptoo caching. A file stream is NOT binmode!
Index: POP3.pm
===================================================================
RCS file: /cvsroot/popfile/engine/Proxy/POP3.pm,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -d -r1.59 -r1.60
*** POP3.pm 24 Jun 2003 16:07:20 -0000 1.59
--- POP3.pm 27 Jun 2003 06:52:23 -0000 1.60
***************
*** 268,272 ****
# NOTE messages retrieved using TOPTOO are visible in the history as they
# are "cached" to avoid requiring repeated downloads if the client issues
! # a RETR for the message in the same session
#
# NOTE using toptoo=1 on a slow link could cause performance problems, in
--- 268,272 ----
# NOTE messages retrieved using TOPTOO are visible in the history as they
# are "cached" to avoid requiring repeated downloads if the client issues
! # a RETR for the message in the same session
#
# NOTE using toptoo=1 on a slow link could cause performance problems, in
***************
*** 359,362 ****
--- 359,367 ----
if (defined($downloaded{$count}) && open( RETRFILE, "<$file" ) ) {
+
+ # act like a network stream
+
+ binmode RETRFILE;
+
# File has been fetched and classified already
|