• Home
  • Raw
  • Download

Lines Matching refs:logmsg

246         logmsg("[%s] cmdfile says testnum %d", cmdfile, testnum);  in parse_cmdfile()
267 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in parse_servercmd()
268 logmsg(" Couldn't open test file %ld", req->testno); in parse_servercmd()
282 logmsg("getpart() failed with error: %d", error); in parse_servercmd()
292 logmsg("instructed to require authorization header"); in parse_servercmd()
296 logmsg("instructed to idle"); in parse_servercmd()
301 logmsg("instructed to stream"); in parse_servercmd()
306 logmsg("enabled connection monitoring"); in parse_servercmd()
310 logmsg("enabled upgrade to http2"); in parse_servercmd()
314 logmsg("swsclose: close this connection after response"); in parse_servercmd()
318 logmsg("instructed to skip this number of bytes %d", num); in parse_servercmd()
322 logmsg("instructed to reject Expect: 100-continue"); in parse_servercmd()
326 logmsg("instructed to delay %d secs between packets", num); in parse_servercmd()
330 logmsg("Unknown <servercmd> instruction found: %s", cmd); in parse_servercmd()
368 logmsg("Process %d bytes request%s", req->offset, in ProcessRequest()
377 logmsg("Are-we-friendly question received"); in ProcessRequest()
404 logmsg("%s", logbuf); in ProcessRequest()
407 logmsg("Are-we-friendly question received"); in ProcessRequest()
413 logmsg("Request-to-quit received"); in ProcessRequest()
437 logmsg("%s", logbuf); in ProcessRequest()
440 logmsg("No test number"); in ProcessRequest()
457 logmsg("%s", logbuf); in ProcessRequest()
478 logmsg("Invalid CONNECT IPv6 address format"); in ProcessRequest()
480 logmsg("Invalid CONNECT IPv6 port format"); in ProcessRequest()
492 logmsg("Invalid CONNECT port received"); in ProcessRequest()
497 logmsg("Port number: %d, test case number: %ld", in ProcessRequest()
523 logmsg("found test %d in requested host name", req->testno); in ProcessRequest()
531 logmsg("Requested test number %ld part %ld (from host name)", in ProcessRequest()
542 logmsg("Did not find test number in PATH"); in ProcessRequest()
549 logmsg("** Unusual request. Starts with %02x %02x %02x (%c%c%c)", in ProcessRequest()
555 logmsg("request not complete yet"); in ProcessRequest()
558 logmsg("- request found to be complete (%d)", req->testno); in ProcessRequest()
565 logmsg("Found test number %d in Testno: header!", req->testno); in ProcessRequest()
568 logmsg("No Testno: header"); in ProcessRequest()
602 logmsg("%s", logbuf); in ProcessRequest()
636 logmsg("Found invalid Content-Length: (%s) in the request", ptr); in ProcessRequest()
645 logmsg("Found Content-Length: %lu in the request", clen); in ProcessRequest()
647 logmsg("... but will abort after %zu bytes", req->cl); in ProcessRequest()
660 logmsg("Found Expect: 100-continue, ignore body"); in ProcessRequest()
696 logmsg("Authorization header found, as required"); in ProcessRequest()
703 logmsg("Negotiate: prev_testno: %d, prev_partno: %d", in ProcessRequest()
718 logmsg("Received Digest request, sending back data %ld", req->partno); in ProcessRequest()
725 logmsg("Received NTLM type-3, sending back data %ld", req->partno); in ProcessRequest()
727 logmsg(" Expecting %zu POSTed bytes", req->cl); in ProcessRequest()
735 logmsg("Received NTLM type-1, sending back data %ld", req->partno); in ProcessRequest()
743 logmsg("Received Basic request, sending back data %ld", req->partno); in ProcessRequest()
764 logmsg("Return early due to auth requested by none provided"); in ProcessRequest()
770 logmsg("Found Upgrade: in request and allows it"); in ProcessRequest()
803 logmsg("[2] Error opening file %s error: %d %s", in storerequest()
805 logmsg("Failed to write request input "); in storerequest()
820 logmsg("Wrote request (%zu bytes) input to %s", totalsize, dumpfile); in storerequest()
822 logmsg("Error writing file %s error: %d %s", in storerequest()
824 logmsg("Wrote only (%zu bytes) of (%zu bytes) request input to %s", in storerequest()
834 logmsg("Error closing file %s error: %d %s", in storerequest()
889 logmsg("Connection closed by client"); in get_request()
898 logmsg("recv() returned error: (%d) %s", error, strerror(error)); in get_request()
908 logmsg("Read %zd bytes", got); in get_request()
919 logmsg("Request would overflow buffer, closing connection"); in get_request()
925 logmsg("Request buffer overflow, closing connection"); in get_request()
973 logmsg("Stopped streaming"); in send_doc()
991 logmsg("Replying to QUIT"); in send_doc()
996 logmsg("Identifying ourselves as friends"); in send_doc()
1009 logmsg("Replying to with a 404"); in send_doc()
1028 logmsg("Send response test%ld section <%s>", req->testno, partbuf); in send_doc()
1033 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in send_doc()
1040 logmsg("getpart() failed with error: %d", error); in send_doc()
1055 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in send_doc()
1064 logmsg("getpart() failed with error: %d", error); in send_doc()
1082 logmsg("connection close instruction \"swsclose\" found in response"); in send_doc()
1086 logmsg("enable \"swsbounce\" in the next request"); in send_doc()
1094 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in send_doc()
1095 logmsg(" [5] Error opening file: %s", responsedump); in send_doc()
1129 logmsg("Pausing %d seconds", req->writedelay); in send_doc()
1141 logmsg("Error closing file %s error: %d %s", in send_doc()
1151 logmsg("Sending response failed. Only (%zu bytes) of (%zu bytes) " in send_doc()
1161 logmsg("Response sent (%zu bytes) and written to %s", in send_doc()
1173 logmsg("Told to sleep for %d seconds", num); in send_doc()
1181 logmsg("wait_ms() failed with error: (%d) %s", in send_doc()
1187 logmsg("Continuing after sleeping %d seconds", num); in send_doc()
1190 logmsg("Unknown command in reply command section"); in send_doc()
1227 logmsg("about to connect to %s%s%s:%hu", in connect_to()
1234 logmsg("Error creating socket for server connection: (%d) %s", in connect_to()
1245 logmsg("====> TCP_NODELAY for server connection failed"); in connect_to()
1255 logmsg("Error inet_pton failed AF_INET conversion of '%s'", ipaddr); in connect_to()
1268 logmsg("Error inet_pton failed AF_INET6 conversion of '%s'", ipaddr); in connect_to()
1278 logmsg("Proxying through Unix socket is not (yet?) supported."); in connect_to()
1290 logmsg("Error connecting to server port %hu: (%d) %s", in connect_to()
1296 logmsg("connected fine to %s%s%s:%hu, now tunnel", in connect_to()
1452 logmsg("====> Client connect DATA"); in http_connect()
1459 logmsg("====> TCP_NODELAY for client DATA connection failed"); in http_connect()
1519 logmsg("[%s] got %zd, STOP READING client", data_or_ctrl(i), rc); in http_connect()
1524 logmsg("[%s] READ %zd bytes from client", data_or_ctrl(i), rc); in http_connect()
1525 logmsg("[%s] READ \"%s\"", data_or_ctrl(i), in http_connect()
1537 logmsg("[%s] got %zd, STOP READING server", data_or_ctrl(i), rc); in http_connect()
1542 logmsg("[%s] READ %zd bytes from server", data_or_ctrl(i), rc); in http_connect()
1543 logmsg("[%s] READ \"%s\"", data_or_ctrl(i), in http_connect()
1554 logmsg("[%s] got %zd, STOP WRITING client", data_or_ctrl(i), rc); in http_connect()
1560 logmsg("[%s] SENT %zd bytes to client", data_or_ctrl(i), rc); in http_connect()
1561 logmsg("[%s] SENT \"%s\"", data_or_ctrl(i), in http_connect()
1574 logmsg("[%s] got %zd, STOP WRITING server", data_or_ctrl(i), rc); in http_connect()
1580 logmsg("[%s] SENT %zd bytes to server", data_or_ctrl(i), rc); in http_connect()
1581 logmsg("[%s] SENT \"%s\"", data_or_ctrl(i), in http_connect()
1602 logmsg("[%s] DISABLED READING client", data_or_ctrl(i)); in http_connect()
1607 logmsg("[%s] DISABLED WRITING client", data_or_ctrl(i)); in http_connect()
1615 logmsg("[%s] DISABLED READING server", data_or_ctrl(i)); in http_connect()
1620 logmsg("[%s] DISABLED WRITING server", data_or_ctrl(i)); in http_connect()
1638 logmsg("[%s] CLOSING client socket", data_or_ctrl(i)); in http_connect()
1642 logmsg("[%s] ENDING", data_or_ctrl(i)); in http_connect()
1652 logmsg("[%s] CLOSING server socket", data_or_ctrl(i)); in http_connect()
1656 logmsg("[%s] ENDING", data_or_ctrl(i)); in http_connect()
1679 logmsg("CONNECT proxy timeout after %d idle seconds!", timeout_count); in http_connect()
1689 logmsg("[%s] CLOSING server socket (cleanup)", data_or_ctrl(i)); in http_connect()
1694 logmsg("[%s] CLOSING client socket (cleanup)", data_or_ctrl(i)); in http_connect()
1700 logmsg("[%s] ABORTING", data_or_ctrl(i)); in http_connect()
1710 logmsg("switched to http2"); in http2()
1724 logmsg("Too many open sockets!"); in accept_connection()
1742 logmsg("MAJOR ERROR: accept() failed with error: (%d) %s", in accept_connection()
1749 logmsg("curlx_nonblock failed with error: (%d) %s", in accept_connection()
1758 logmsg("setsockopt(SO_KEEPALIVE) failed with error: (%d) %s", in accept_connection()
1774 logmsg("====> Client connect"); in accept_connection()
1787 logmsg("====> TCP_NODELAY failed"); in accept_connection()
1816 logmsg("BOUNCE part number to %ld", req->partno); in service_connection()
1830 logmsg("special request received, no persistency"); in service_connection()
1834 logmsg("instructed to close connection after server-reply"); in service_connection()
1841 logmsg("received CONNECT but isn't running as proxy!"); in service_connection()
1859 logmsg("=> persistent connection request ended, awaits new request\n"); in service_connection()
1995 logmsg("Run as proxy, CONNECT to host %s", connecthost); in main()
2031 logmsg("Error creating socket: (%d) %s", in main()
2040 logmsg("setsockopt(SO_REUSEADDR) failed with error: (%d) %s", in main()
2046 logmsg("curlx_nonblock failed with error: (%d) %s", in main()
2080 logmsg("Error binding socket, failed to create socket at %s: (%d) %s", in main()
2089 logmsg("Error binding socket, failed to connect to %s: (%d) %s", in main()
2101 logmsg("Error binding socket, failed to stat %s: (%d) %s", in main()
2107 logmsg("Error binding socket, failed to stat %s: (%d) %s", in main()
2115 logmsg("Error binding socket, failed to unlink %s: (%d) %s", in main()
2127 logmsg("Error binding socket: (%d) %s", error, strerror(error)); in main()
2147 logmsg("getsockname() failed with error: (%d) %s", in main()
2166 logmsg("Apparently getsockname() succeeded, with listener port zero."); in main()
2167 logmsg("A valid reason for this failure is a binary built without"); in main()
2168 logmsg("proper network library linkage. This might not be the only"); in main()
2169 logmsg("reason, but double check it before anything else."); in main()
2179 logmsg("Running %s %s version on %s", in main()
2186 logmsg("listen() failed with error: (%d) %s", in main()
2259 logmsg("select() failed with error: (%d) %s", in main()
2276 logmsg("accept_connection %d returned %d", sock, msgsock); in main()
2298 logmsg("====> Client disconnect %d", req->connmon); in main()
2349 logmsg("unlink(%s) = %d (%s)", unix_socket, rc, strerror(rc)); in main()
2354 logmsg("signalled to die"); in main()
2367 logmsg("========> %s sws (%s pid: %ld) exits with signal (%d)", in main()
2377 logmsg("========> sws quits"); in main()