• Home
  • Raw
  • Download

Lines Matching refs:testno

103   long testno;       /* test number found in the request */  member
371 filename = test2file(req->testno); in parse_servercmd()
378 logmsg(" Couldn't open test file %ld", req->testno); in parse_servercmd()
491 (req->testno == DOCNUMBER_NOTHING) && in ProcessRequest()
494 req->testno = DOCNUMBER_WERULEZ; in ProcessRequest()
498 else if((req->testno == DOCNUMBER_NOTHING) && in ProcessRequest()
524 req->testno = DOCNUMBER_WERULEZ; in ProcessRequest()
530 req->testno = DOCNUMBER_QUIT; in ProcessRequest()
540 req->testno = strtol(ptr, &ptr, 10); in ProcessRequest()
542 if(req->testno > 10000) { in ProcessRequest()
543 req->partno = req->testno % 10000; in ProcessRequest()
544 req->testno /= 10000; in ProcessRequest()
549 if(req->testno) { in ProcessRequest()
552 req->testno, req->partno); in ProcessRequest()
559 req->testno = DOCNUMBER_NOTHING; in ProcessRequest()
563 if(req->testno == DOCNUMBER_NOTHING) { in ProcessRequest()
601 req->testno = part; in ProcessRequest()
615 req->connect_port, req->testno); in ProcessRequest()
619 if(req->testno == DOCNUMBER_NOTHING) { in ProcessRequest()
621 char *testno = strstr(line, "\nTestno: "); in ProcessRequest() local
622 if(testno) { in ProcessRequest()
623 req->testno = strtol(&testno[9], NULL, 10); in ProcessRequest()
624 logmsg("Found test number %d in Testno: header!", req->testno); in ProcessRequest()
627 if(req->testno == DOCNUMBER_NOTHING) { in ProcessRequest()
639 req->testno = strtol(ptr, &ptr, 10); in ProcessRequest()
641 if(req->testno > 10000) { in ProcessRequest()
642 req->partno = req->testno % 10000; in ProcessRequest()
643 req->testno /= 10000; in ProcessRequest()
645 logmsg("found test %d in requested host name", req->testno); in ProcessRequest()
653 req->testno, req->partno); in ProcessRequest()
658 if(!req->testno) { in ProcessRequest()
660 req->testno = DOCNUMBER_404; in ProcessRequest()
666 else if((req->offset >= 3) && (req->testno == DOCNUMBER_NOTHING)) { in ProcessRequest()
693 req->testno = strtol(ptr, &ptr, 10); in ProcessRequest()
695 if(req->testno > 10000) { in ProcessRequest()
696 req->partno = req->testno % 10000; in ProcessRequest()
697 req->testno /= 10000; in ProcessRequest()
704 req->testno, req->partno); in ProcessRequest()
804 if(req->testno != prev_testno) { in ProcessRequest()
805 prev_testno = req->testno; in ProcessRequest()
961 req->testno = DOCNUMBER_NOTHING; in init_httprequest()
1128 if(req->testno < 0) { in send_doc()
1132 switch(req->testno) { in send_doc()
1161 char *filename = test2file(req->testno); in send_doc()
1172 logmsg("Send response test%ld section <%s>", req->testno, partbuf); in send_doc()
1346 prevtestno = req->testno; in send_doc()
1953 if((req->testno == prevtestno) && in service_connection()
1969 if(req->testno < 0) { in service_connection()
2389 if(req.testno == DOCNUMBER_QUIT) in main()