- From: olga <olga@goliath.eai.com>
- Date: Tue, 22 Dec 1998 09:45:46 -0600 (CST)
- To: Henrik Frystyk Nielsen <frystyk@w3.org>
- Cc: olga <olga@goliath.eai.com>, www-lib@w3.org
HI, I found the problem. In HTLoadToFile the file pointer was closed earlier than anything was written to file. Then writing to the file failed. So I just commented out the closing of the file pointer in HTLoadToFile (HTAccess.c) and took care of that in the application. Why it wrote the cache twice I have no idea - it doens't do it after it writes in file normally. Regards, Olga. On 21-Dec-98 Henrik Frystyk Nielsen wrote: > > > olga wrote: > >> I am rewriting my app to use the event loop. >> For GET I use: >> HTLoadToFile(url, request, filename). >> >> The result is: >> file is not loaded >> cache entry is loaded twice - chunks of file are repeated... > > Could it be that you are starting the same load twice where both loads > are saving to the same file? What does the trace say? > > Henrik ---------------------------------- E-Mail: olga <olga@eai.com> Date: 22-Dec-98 Time: 09:38:52 This message was sent by XFMail ----------------------------------
Received on Tuesday, 22 December 1998 10:42:23 UTC