From 6b203396881c925557c33ef5d71e7c3e9d3a87d3 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sat, 22 Nov 2003 03:30:14 +0000 Subject: [PATCH] * Commented out the call to the 'high speed download' function and uncommented the call to the original 'chatty' download function. Some users were reporting lockups. --- citadel/ChangeLog | 6 ++++++ citadel/citadel_ipc.c | 10 ++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/citadel/ChangeLog b/citadel/ChangeLog index a4929a094..878295f6f 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,4 +1,9 @@ $Log$ + Revision 611.9 2003/11/22 03:30:14 ajc + * Commented out the call to the 'high speed download' function and + uncommented the call to the original 'chatty' download function. Some + users were reporting lockups. + Revision 611.8 2003/11/14 20:15:44 ajc * Reversed the previous change because it made things b0rken @@ -5087,3 +5092,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant Fri Jul 10 1998 Art Cancro * Initial CVS import + diff --git a/citadel/citadel_ipc.c b/citadel/citadel_ipc.c index ebc6e1936..16e7ecbde 100644 --- a/citadel/citadel_ipc.c +++ b/citadel/citadel_ipc.c @@ -1154,8 +1154,14 @@ int CtdlIPCFileDownload(CtdlIPC *ipc, const char *filename, void **buf, bytes = extract_long(cret, 0); last_mod = extract_int(cret, 1); extract(mimetype, cret, 2); -/* ret = CtdlIPCReadDownload(ipc, buf, bytes, resume, progress_gauge_callback, cret); */ - ret = CtdlIPCHighSpeedReadDownload(ipc, buf, bytes, resume, progress_gauge_callback, cret); + + ret = CtdlIPCReadDownload(ipc, buf, bytes, resume, + progress_gauge_callback, cret); + /* + ret = CtdlIPCHighSpeedReadDownload(ipc, buf, bytes, resume, + progress_gauge_callback, cret); + */ + ret = CtdlIPCEndDownload(ipc, cret); if (ret / 100 == 2) sprintf(cret, "%d|%ld|%s|%s", (int)bytes, last_mod, -- 2.39.2