/*
- * $Id: client_side.cc,v 1.127 1997/10/17 00:00:32 wessels Exp $
+ * $Id: client_side.cc,v 1.128 1997/10/17 23:31:10 wessels Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
}
storeUnregister(http->old_entry, http);
storeUnlockObject(http->old_entry);
-#if DONT_USE_VM
- file_close(http->swapin_fd);
- http->swapin_fd = storeOpenSwapFileRead(entry);
- if (http->swapin_fd < 0)
- fatal_dump("icpHandleIMSReply: storeOpenSwapFileRead() failed\n");
-#endif
}
http->old_entry = NULL; /* done with old_entry */
+ /* use clientCacheHit() here as the callback because we might
+ be swapping in from disk, and the file might not really be
+ there */
storeClientCopy(entry,
http->out.offset,
http->out.offset,
4096,
get_free_4k_page(),
- icpSendMoreData,
+ clientCacheHit,
http);
}