Hi,
I have got a question about the source code for refresh.c. In the function
refreshIsCachable, I see this paragraph:
if (entry->mem_obj->reply)
/* no reply? */
return 1;
if (entry->mem_obj->reply->content_length == 0)
/* No use refreshing (caching?) 0 byte objects */
return 0;
Anyone can help me to understand it? Will the next judgement be
reached? Since if the entry->mem_obj->reply is existed, always return
1. Therefore no chance to reach the next judgement. Am I right? This
paragraph exists throughout 2.2, 2.3 and 2.4.
Regards,
Li Xiang
Department of Computer Science
National University of Singapore
Singapore 119260
Tel. 8744362
Received on Mon Jul 02 2001 - 02:52:33 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:58 MST