From: Gabriele B. <an...@us...> - 2003-10-21 01:18:47
|
htdig/htcommon defaults.cc Update of /cvsroot/htdig/htdig/htcommon In directory sc8-pr-cvs1:/tmp/cvs-serv12435/htcommon Modified Files: defaults.cc Log Message: - htdig/Retriever.h: added the 'RetrieverType' enum and an object variable for storing the type of dig we are performing (default initial); - htdig/Retriever.cc: changed constructor in order to handle the type, added some debugging explanation regarding the override of the 'head_before_get' attribute, added checks regarding an empty database of URLs to be updated (set the type to initial). - htdig/Document.h: added the attribute 'is_initial' which stores the information regarding the type of indexing (initial or incremental) we are currently performing. Added access methods (get-and-set-like) - htdig/Document.cc: modified the logic of the HeadBeforeGet settings during the retrieval phase, in order to always override user's settings in an incremental dig and automatically set the 'HEAD' call in this case. - htcommon/defaults.cc: modified the default value of 'head_before_get' and a bit of its explanation. - htnet/HtHTTP.cc: detached the HEAD before GET mechanism to the persistent connections one - htdig/Server.cc: added one level of debugging to the display of the server settings in the server constructor |