[htdig3-dev] server_max_docs and _documents++;


Patrick (patrick@aol2.com)
Sun, 12 Sep 1999 22:10:08 -0400


I set the server_max_docs to 30 (for testing), and this is the
end of my htdig output:

27:27:2:http://www.foo.com/bar: **+* size = 2852
28:26:2:http://www.foo.com/blah: not found
29:27:2:http://www.foo.com/barbar: redirect
htdig: Run complete
htdig: 1 server seen:
htdig: www.foo.com:80 30 documents

The document counter is being incremented even when a document
is not found or is a redirect. I believe the document counter
is in Server.cc (about line 274, reads: "_documents++;")

Where could this _documents++ line be placed so that it reflects
the TRUE number of documents RETREIVED/SPIDERED?

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
htdig3-dev@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Sun Sep 12 1999 - 19:19:37 PDT