Skip to content

Commit 70cea08

Browse files
author
SAITO Masataka
committed
Fix the issue that a GTM Proxy sends error responses via unrelated connection again.
1 parent 1c6f6e3 commit 70cea08

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/gtm/proxy/proxy_main.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1470,9 +1470,7 @@ GTMProxy_ThreadMain(void *argp)
14701470
gtm_foreach(elem, thrinfo->thr_processed_commands)
14711471
{
14721472
GTMProxy_CommandInfo *cmdinfo = (GTMProxy_CommandInfo *)gtm_lfirst(elem);
1473-
1474-
GTMProxy_ConnectionInfo *conninfo = thrinfo->thr_all_conns[ii];
1475-
thrinfo->thr_conn = conninfo;
1473+
thrinfo->thr_conn = cmdinfo->ci_conn;
14761474

14771475
/*
14781476
* If this is a continuation of a multi-part command response, we

0 commit comments

Comments
 (0)