version 1.50, 1997/01/29 19:22:27
|
version 1.51, 1997/01/31 22:55:32
|
Line 33
|
Line 33
|
#define DEFAULT_OUTPUT_FILE "robot.out" |
#define DEFAULT_OUTPUT_FILE "robot.out" |
#define DEFAULT_RULE_FILE "robot.conf" |
#define DEFAULT_RULE_FILE "robot.conf" |
#define DEFAULT_LOG_FILE "robot.log" |
#define DEFAULT_LOG_FILE "robot.log" |
|
#define DEFAULT_MEMLOG "robot.mem" |
#define DEFAULT_DEPTH 0 |
#define DEFAULT_DEPTH 0 |
|
|
|
#if 0 |
|
#define HT_MEMLOG |
|
#endif |
|
|
/* #define SHOW_MSG (WWWTRACE || HTAlert_interactive()) */ |
/* #define SHOW_MSG (WWWTRACE || HTAlert_interactive()) */ |
#define SHOW_MSG (!(mr->flags & MR_QUIET)) |
#define SHOW_MSG (!(mr->flags & MR_QUIET)) |
|
|
Line 484 int main (int argc, char ** argv)
|
Line 489 int main (int argc, char ** argv)
|
#endif /* __MWERKS__ */ |
#endif /* __MWERKS__ */ |
|
|
#ifdef HT_MEMLOG |
#ifdef HT_MEMLOG |
HTMemLog_open(HT_MEMLOG, 8192, YES); |
HTMemLog_open(DEFAULT_MEMLOG, 8192, YES); |
#endif |
#endif |
|
|
/* Initiate W3C Reference Library with a robot profile */ |
/* Initiate W3C Reference Library with a robot profile */ |
Line 533 int main (int argc, char ** argv)
|
Line 538 int main (int argc, char ** argv)
|
} else if (!strcmp(argv[arg], "-cache")) { |
} else if (!strcmp(argv[arg], "-cache")) { |
cache = YES; |
cache = YES; |
|
|
|
/* Force no pipelined requests */ |
|
} else if (!strcmp(argv[arg], "-nopipe")) { |
|
HTTP_setConnectionMode(HTTP_NO_PIPELINING); |
|
|
/* Persistent cache flush */ |
/* Persistent cache flush */ |
} else if (!strcmp(argv[arg], "-flush")) { |
} else if (!strcmp(argv[arg], "-flush")) { |
flush = YES; |
flush = YES; |