]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: test-http-payload - Add log prefixes to distinguish client and server debug...
authorStephan Bosch <stephan.bosch@dovecot.fi>
Tue, 20 Mar 2018 18:16:33 +0000 (19:16 +0100)
committermartti.rannanjarvi <martti.rannanjarvi@open-xchange.com>
Sat, 18 Apr 2020 14:55:11 +0000 (14:55 +0000)
src/lib-http/test-http-payload.c

index 2f83844f43de22772701f4933dd2d9a658d3c47c..597eff43b249df418b190b1250fe27b9b3d27c92 100644 (file)
@@ -1369,6 +1369,7 @@ static void test_run_client_server(
                hostpid_init();
                if (debug)
                        i_debug("server: PID=%s", my_pid);
+               i_set_failure_prefix("SERVER: ");
                /* child: server */
                ioloop_nested = NULL;
                ioloop_nested_depth = 0;
@@ -1381,6 +1382,7 @@ static void test_run_client_server(
        } else {
                if (debug)
                        i_debug("client: PID=%s", my_pid);
+               i_set_failure_prefix("CLIENT: ");
                i_close_fd(&fd_listen);
                /* parent: client */
                ioloop_nested = NULL;