Lines Matching refs:logmsg
251 logmsg("[%s] cmdfile says testnum %d", cmdfile, testnum); in parse_cmdfile()
272 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in parse_servercmd()
273 logmsg(" Couldn't open test file %ld", req->testno); in parse_servercmd()
287 logmsg("getpart() failed with error: %d", error); in parse_servercmd()
297 logmsg("instructed to require authorization header"); in parse_servercmd()
301 logmsg("instructed to idle"); in parse_servercmd()
306 logmsg("instructed to stream"); in parse_servercmd()
311 logmsg("enabled connection monitoring"); in parse_servercmd()
315 logmsg("enabled upgrade"); in parse_servercmd()
319 logmsg("swsclose: close this connection after response"); in parse_servercmd()
323 logmsg("instructed to skip this number of bytes %d", num); in parse_servercmd()
327 logmsg("instructed to reject Expect: 100-continue"); in parse_servercmd()
331 logmsg("instructed to delay %d msecs after connect", num); in parse_servercmd()
335 logmsg("instructed to delay %d msecs between packets", num); in parse_servercmd()
339 logmsg("Unknown <servercmd> instruction found: %s", cmd); in parse_servercmd()
377 logmsg("Process %zu bytes request%s", req->offset, in ProcessRequest()
386 logmsg("Are-we-friendly question received"); in ProcessRequest()
443 logmsg("%s", logbuf); in ProcessRequest()
446 logmsg("Are-we-friendly question received"); in ProcessRequest()
452 logmsg("Request-to-quit received"); in ProcessRequest()
472 logmsg("%s", logbuf); in ProcessRequest()
475 logmsg("No test number in path"); in ProcessRequest()
492 logmsg("%s", logbuf); in ProcessRequest()
513 logmsg("Invalid CONNECT IPv6 address format"); in ProcessRequest()
515 logmsg("Invalid CONNECT IPv6 port format"); in ProcessRequest()
527 logmsg("Invalid CONNECT port received"); in ProcessRequest()
532 logmsg("Port number: %d, test case number: %ld", in ProcessRequest()
542 logmsg("Did not find test number in PATH"); in ProcessRequest()
550 logmsg("** Unusual request. Starts with %02x %02x %02x (%c%c%c)", in ProcessRequest()
557 logmsg("request not complete yet"); in ProcessRequest()
560 logmsg("- request found to be complete (%ld)", req->testno); in ProcessRequest()
567 logmsg("Found test number %ld in Testno: header!", req->testno); in ProcessRequest()
570 logmsg("No Testno: header"); in ProcessRequest()
604 logmsg("%s", logbuf); in ProcessRequest()
638 logmsg("Found invalid Content-Length: (%s) in the request", ptr); in ProcessRequest()
647 logmsg("Found Content-Length: %lu in the request", clen); in ProcessRequest()
649 logmsg("... but will abort after %zu bytes", req->cl); in ProcessRequest()
662 logmsg("Found Expect: 100-continue, ignore body"); in ProcessRequest()
698 logmsg("Authorization header found, as required"); in ProcessRequest()
705 logmsg("Negotiate: prev_testno: %ld, prev_partno: %ld", in ProcessRequest()
720 logmsg("Received Digest request, sending back data %ld", req->partno); in ProcessRequest()
727 logmsg("Received NTLM type-3, sending back data %ld", req->partno); in ProcessRequest()
729 logmsg(" Expecting %zu POSTed bytes", req->cl); in ProcessRequest()
737 logmsg("Received NTLM type-1, sending back data %ld", req->partno); in ProcessRequest()
745 logmsg("Received Basic request, sending back data %ld", req->partno); in ProcessRequest()
766 logmsg("Return early due to auth requested by none provided"); in ProcessRequest()
772 logmsg("Found Upgrade: in request and allow it"); in ProcessRequest()
809 logmsg("[2] Error opening file %s error: %d %s", in storerequest()
811 logmsg("Failed to write request input "); in storerequest()
826 logmsg("Wrote request (%zu bytes) input to %s", totalsize, dumpfile); in storerequest()
828 logmsg("Error writing file %s error: %d %s", in storerequest()
830 logmsg("Wrote only (%zu bytes) of (%zu bytes) request input to %s", in storerequest()
840 logmsg("Error closing file %s error: %d %s", in storerequest()
884 logmsg("Upgraded connection, this is no longer HTTP/1"); in get_request()
894 logmsg("wait for websocket traffic"); in get_request()
899 logmsg("Got %zu bytes from client", got); in get_request()
908 logmsg("Got EAGAIN from sread"); in get_request()
914 logmsg("Wait until readable"); in get_request()
917 logmsg("readable %d", rc); in get_request()
924 logmsg("NO wait for websocket traffic"); in get_request()
927 logmsg("log the websocket traffic"); in get_request()
954 logmsg("Connection closed by client"); in get_request()
963 logmsg("recv() returned error: (%d) %s", error, sstrerror(error)); in get_request()
973 logmsg("Read %zd bytes", got); in get_request()
984 logmsg("Request would overflow buffer, closing connection"); in get_request()
990 logmsg("Request buffer overflow, closing connection"); in get_request()
1041 logmsg("Stopped streaming"); in send_doc()
1059 logmsg("Replying to QUIT"); in send_doc()
1064 logmsg("Identifying ourselves as friends"); in send_doc()
1078 logmsg("Replying to with a 404"); in send_doc()
1097 logmsg("Send response test%ld section <%s>", req->testno, partbuf); in send_doc()
1102 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in send_doc()
1109 logmsg("getpart() failed with error: %d", error); in send_doc()
1124 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in send_doc()
1133 logmsg("getpart() failed with error: %d", error); in send_doc()
1151 logmsg("connection close instruction \"swsclose\" found in response"); in send_doc()
1155 logmsg("enable \"swsbounce\" in the next request"); in send_doc()
1163 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in send_doc()
1164 logmsg(" [5] Error opening file: %s", responsedump); in send_doc()
1201 logmsg("Pausing %d milliseconds after writing %zd bytes", in send_doc()
1217 logmsg("Error closing file %s error: %d %s", in send_doc()
1227 logmsg("Sending response failed. Only (%zu bytes) of (%zu bytes) " in send_doc()
1237 logmsg("Response sent (%zu bytes) and written to %s", in send_doc()
1249 logmsg("Told to sleep for %d seconds", num); in send_doc()
1257 logmsg("wait_ms() failed with error: (%d) %s", in send_doc()
1263 logmsg("Continuing after sleeping %d seconds", num); in send_doc()
1266 logmsg("Unknown command in reply command section"); in send_doc()
1303 logmsg("about to connect to %s%s%s:%hu", in connect_to()
1310 logmsg("Error creating socket for server connection: (%d) %s", in connect_to()
1321 logmsg("====> TCP_NODELAY for server connection failed"); in connect_to()
1331 logmsg("Error inet_pton failed AF_INET conversion of '%s'", ipaddr); in connect_to()
1344 logmsg("Error inet_pton failed AF_INET6 conversion of '%s'", ipaddr); in connect_to()
1354 logmsg("Proxying through Unix socket is not (yet?) supported."); in connect_to()
1366 logmsg("Error connecting to server port %hu: (%d) %s", in connect_to()
1372 logmsg("connected fine to %s%s%s:%hu, now tunnel", in connect_to()
1529 logmsg("====> Client connect DATA"); in http_connect()
1536 logmsg("====> TCP_NODELAY for client DATA connection failed"); in http_connect()
1596 logmsg("[%s] got %zd, STOP READING client", data_or_ctrl(i), rc); in http_connect()
1601 logmsg("[%s] READ %zd bytes from client", data_or_ctrl(i), rc); in http_connect()
1602 logmsg("[%s] READ \"%s\"", data_or_ctrl(i), in http_connect()
1614 logmsg("[%s] got %zd, STOP READING server", data_or_ctrl(i), rc); in http_connect()
1619 logmsg("[%s] READ %zd bytes from server", data_or_ctrl(i), rc); in http_connect()
1620 logmsg("[%s] READ \"%s\"", data_or_ctrl(i), in http_connect()
1631 logmsg("[%s] got %zd, STOP WRITING client", data_or_ctrl(i), rc); in http_connect()
1637 logmsg("[%s] SENT %zd bytes to client", data_or_ctrl(i), rc); in http_connect()
1638 logmsg("[%s] SENT \"%s\"", data_or_ctrl(i), in http_connect()
1651 logmsg("[%s] got %zd, STOP WRITING server", data_or_ctrl(i), rc); in http_connect()
1657 logmsg("[%s] SENT %zd bytes to server", data_or_ctrl(i), rc); in http_connect()
1658 logmsg("[%s] SENT \"%s\"", data_or_ctrl(i), in http_connect()
1679 logmsg("[%s] DISABLED READING client", data_or_ctrl(i)); in http_connect()
1684 logmsg("[%s] DISABLED WRITING client", data_or_ctrl(i)); in http_connect()
1692 logmsg("[%s] DISABLED READING server", data_or_ctrl(i)); in http_connect()
1697 logmsg("[%s] DISABLED WRITING server", data_or_ctrl(i)); in http_connect()
1715 logmsg("[%s] CLOSING client socket", data_or_ctrl(i)); in http_connect()
1719 logmsg("[%s] ENDING", data_or_ctrl(i)); in http_connect()
1729 logmsg("[%s] CLOSING server socket", data_or_ctrl(i)); in http_connect()
1733 logmsg("[%s] ENDING", data_or_ctrl(i)); in http_connect()
1756 logmsg("CONNECT proxy timeout after %d idle seconds!", timeout_count); in http_connect()
1766 logmsg("[%s] CLOSING server socket (cleanup)", data_or_ctrl(i)); in http_connect()
1771 logmsg("[%s] CLOSING client socket (cleanup)", data_or_ctrl(i)); in http_connect()
1777 logmsg("[%s] ABORTING", data_or_ctrl(i)); in http_connect()
1787 logmsg("Upgraded to ... %u", req->upgrade_request); in http_upgrade()
1801 logmsg("Too many open sockets!"); in accept_connection()
1819 logmsg("MAJOR ERROR: accept() failed with error: (%d) %s", in accept_connection()
1826 logmsg("curlx_nonblock failed with error: (%d) %s", in accept_connection()
1835 logmsg("setsockopt(SO_KEEPALIVE) failed with error: (%d) %s", in accept_connection()
1851 logmsg("====> Client connect"); in accept_connection()
1864 logmsg("====> TCP_NODELAY failed"); in accept_connection()
1894 logmsg("BOUNCE part number to %ld", req->partno); in service_connection()
1908 logmsg("special request received, no persistency"); in service_connection()
1912 logmsg("instructed to close connection after server-reply"); in service_connection()
1919 logmsg("received CONNECT but isn't running as proxy!"); in service_connection()
1938 logmsg("=> persistent connection request ended, awaits new request\n"); in service_connection()
1942 logmsg("=> NOT a persistent connection, close close CLOSE\n"); in service_connection()
2097 logmsg("Run as proxy, CONNECT to host %s", connecthost); in main()
2140 logmsg("Error creating socket: (%d) %s", error, sstrerror(error)); in main()
2148 logmsg("setsockopt(SO_REUSEADDR) failed with error: (%d) %s", in main()
2154 logmsg("curlx_nonblock failed with error: (%d) %s", in main()
2185 logmsg("Error binding socket on path %s: (%d) %s", in main()
2189 logmsg("Error binding socket on port %hu: (%d) %s", in main()
2210 logmsg("getsockname() failed with error: (%d) %s", in main()
2229 logmsg("Apparently getsockname() succeeded, with listener port zero."); in main()
2230 logmsg("A valid reason for this failure is a binary built without"); in main()
2231 logmsg("proper network library linkage. This might not be the only"); in main()
2232 logmsg("reason, but double check it before anything else."); in main()
2242 logmsg("Running %s %s version on %s", in main()
2249 logmsg("listen() failed with error: (%d) %s", error, sstrerror(error)); in main()
2321 logmsg("select() failed with error: (%d) %s", error, sstrerror(error)); in main()
2337 logmsg("accept_connection %" CURL_FORMAT_SOCKET_T in main()
2362 logmsg("====> Client disconnect %d", req->connmon); in main()
2426 logmsg("unlink(%s) = %d (%s)", unix_socket, rc, strerror(rc)); in main()
2433 logmsg("signalled to die"); in main()
2448 logmsg("========> %s sws (%s pid: %ld) exits with signal (%d)", in main()
2458 logmsg("========> sws quits"); in main()