Lines Matching refs:logmsg
264 logmsg("cannot install SIGHUP handler: %s", strerror(errno)); in install_signal_handlers()
269 logmsg("cannot install SIGPIPE handler: %s", strerror(errno)); in install_signal_handlers()
274 logmsg("cannot install SIGALRM handler: %s", strerror(errno)); in install_signal_handlers()
279 logmsg("cannot install SIGINT handler: %s", strerror(errno)); in install_signal_handlers()
286 logmsg("cannot install SIGTERM handler: %s", strerror(errno)); in install_signal_handlers()
293 logmsg("cannot install SIGBREAK handler: %s", strerror(errno)); in install_signal_handlers()
340 logmsg("ProcessRequest() called with testno %ld and line [%s]", in ProcessRequest()
363 logmsg("got unknown protocol %s", prot_str); in ProcessRequest()
383 logmsg("%s", logbuf); in ProcessRequest()
386 logmsg("Are-we-friendly question received"); in ProcessRequest()
392 logmsg("Request-to-quit received"); in ProcessRequest()
414 logmsg("%s", logbuf); in ProcessRequest()
421 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in ProcessRequest()
422 logmsg("Error opening file: %s", filename); in ProcessRequest()
423 logmsg("Couldn't open test file %ld", req->testno); in ProcessRequest()
442 logmsg("getpart() failed with error: %d", error); in ProcessRequest()
449 logmsg("Found a reply-servercmd section!"); in ProcessRequest()
452 logmsg("instructed to require authorization header"); in ProcessRequest()
456 logmsg("instructed to idle"); in ProcessRequest()
461 logmsg("instructed to stream"); in ProcessRequest()
465 logmsg("instructed to allow a pipe size of %d", num); in ProcessRequest()
467 logmsg("negative pipe size ignored"); in ProcessRequest()
473 logmsg("instructed to skip this number of bytes %d", num); in ProcessRequest()
480 logmsg("RTP: part %d channel %d size %d", in ProcessRequest()
514 logmsg("rtp_buffersize is %zu, rtp_size is %d.", in ProcessRequest()
519 logmsg("funny instruction found: %s", ptr); in ProcessRequest()
528 logmsg("Done parsing server commands"); in ProcessRequest()
539 logmsg("%s", logbuf); in ProcessRequest()
560 logmsg("Did not find test number in PATH"); in ProcessRequest()
568 logmsg("ProcessRequest returned without a complete request"); in ProcessRequest()
571 logmsg("ProcessRequest found a complete request"); in ProcessRequest()
608 logmsg("Found invalid Content-Length: (%s) in the request", ptr); in ProcessRequest()
614 logmsg("Found Content-Length: %lu in the request", clen); in ProcessRequest()
616 logmsg("... but will abort after %zu bytes", req->cl); in ProcessRequest()
642 logmsg("Authorization header found, as required"); in ProcessRequest()
651 logmsg("Received Digest request, sending back data %ld", req->partno); in ProcessRequest()
658 logmsg("Received NTLM type-3, sending back data %ld", req->partno); in ProcessRequest()
660 logmsg(" Expecting %zu POSTed bytes", req->cl); in ProcessRequest()
668 logmsg("Received NTLM type-1, sending back data %ld", req->partno); in ProcessRequest()
676 logmsg("Received Basic request, sending back data %ld", req->partno); in ProcessRequest()
741 logmsg("Error opening file %s error: %d %s", in storerequest()
743 logmsg("Failed to write request input to " REQUEST_DUMP); in storerequest()
758 logmsg("Wrote request (%zu bytes) input to " REQUEST_DUMP, totalsize); in storerequest()
760 logmsg("Error writing file %s error: %d %s", in storerequest()
762 logmsg("Wrote only (%zu bytes) of (%zu bytes) request input to %s", in storerequest()
772 logmsg("Error closing file %s error: %d %s", in storerequest()
834 logmsg("Connection closed by client"); in get_request()
839 logmsg("recv() returned error: (%d) %s", error, strerror(error)); in get_request()
849 logmsg("Read %zd bytes", got); in get_request()
858 logmsg("Waiting for another piped request"); in get_request()
865 logmsg("Request would overflow buffer, closing connection"); in get_request()
871 logmsg("Request buffer overflow, closing connection"); in get_request()
908 logmsg("Send response number %ld part %ld", req->testno, req->partno); in send_doc()
922 logmsg("Stopped streaming"); in send_doc()
940 logmsg("Replying to QUIT"); in send_doc()
945 logmsg("Identifying ourselves as friends"); in send_doc()
955 logmsg("Bailing out due to internal error"); in send_doc()
958 logmsg("Replying to CONNECT"); in send_doc()
962 logmsg("Replying to a bad CONNECT"); in send_doc()
967 logmsg("Replying to with a 404"); in send_doc()
988 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in send_doc()
989 logmsg("Error opening file: %s", filename); in send_doc()
990 logmsg("Couldn't open test file"); in send_doc()
997 logmsg("getpart() failed with error: %d", error); in send_doc()
1012 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in send_doc()
1013 logmsg("Error opening file: %s", filename); in send_doc()
1014 logmsg("Couldn't open test file"); in send_doc()
1023 logmsg("getpart() failed with error: %d", error); in send_doc()
1041 logmsg("connection close instruction \"swsclose\" found in response"); in send_doc()
1045 logmsg("enable \"swsbounce\" in the next request"); in send_doc()
1053 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in send_doc()
1054 logmsg("Error opening file: %s", RESPONSE_DUMP); in send_doc()
1055 logmsg("couldn't create logfile: " RESPONSE_DUMP); in send_doc()
1075 logmsg("Sent off %zd bytes", written); in send_doc()
1088 logmsg("About to write %zu RTP bytes", req->rtp_buffersize); in send_doc()
1111 logmsg("Error closing file %s error: %d %s", in send_doc()
1121 logmsg("Sending response failed. Only (%zu bytes) of " in send_doc()
1129 logmsg("Response sent (%zu bytes) and written to " RESPONSE_DUMP, in send_doc()
1141 logmsg("Told to sleep for %d seconds", num); in send_doc()
1151 logmsg("wait_ms() failed with error: (%d) %s", in send_doc()
1157 logmsg("Continuing after sleeping %d seconds", num); in send_doc()
1160 logmsg("Unknown command in reply command section"); in send_doc()
1286 logmsg("Error creating socket: (%d) %s", in main()
1295 logmsg("setsockopt(SO_REUSEADDR) failed with error: (%d) %s", in main()
1320 logmsg("Error binding socket on port %hu: (%d) %s", in main()
1325 logmsg("Running %s version on port %d", ipv_inuse, (int)port); in main()
1331 logmsg("listen() failed with error: (%d) %s", in main()
1352 logmsg("MAJOR ERROR: accept() failed with error: (%d) %s", in main()
1366 logmsg("====> Client connect"); in main()
1376 logmsg("====> TCP_NODELAY failed"); in main()
1399 logmsg("BOUNCE part number to %ld", req.partno); in main()
1413 logmsg("special request received, no persistency"); in main()
1417 logmsg("instructed to close connection after server-reply"); in main()
1422 logmsg("=> persistant connection request ended, awaits new request"); in main()
1429 logmsg("====> Client disconnect"); in main()
1451 logmsg("signalled to die"); in main()
1464 logmsg("========> %s rtspd (port: %d pid: %ld) exits with signal (%d)", in main()
1474 logmsg("========> rtspd quits"); in main()