[qpid-dispatch] branch master updated: DISPATCH-1779: ensure the right site is used in the key for http request info records

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[qpid-dispatch] branch master updated: DISPATCH-1779: ensure the right site is used in the key for http request info records

gsim
This is an automated email from the ASF dual-hosted git repository.

gsim pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new 86226cc  DISPATCH-1779: ensure the right site is used in the key for http request info records
86226cc is described below

commit 86226ccf06bca50e6652f9cbaa171601c74abdab
Author: Gordon Sim <[hidden email]>
AuthorDate: Fri Jan 15 11:56:39 2021 +0000

    DISPATCH-1779: ensure the right site is used in the key for http request info records
---
 src/adaptors/http_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/adaptors/http_common.c b/src/adaptors/http_common.c
index 20319ae..c771695 100644
--- a/src/adaptors/http_common.c
+++ b/src/adaptors/http_common.c
@@ -675,7 +675,7 @@ void qd_http_record_request(qdr_core_t *core, const char * method, uint32_t stat
     record->address = address ? qd_strdup(address) : 0;
     record->host = host ? qd_strdup(host) : 0;
     record->site = remote_site ? qd_strdup(remote_site) : 0;
-    record->key = _record_key(record->host, record->address, local_site, record->ingress);
+    record->key = _record_key(record->host, record->address, remote_site, record->ingress);
     record->requests = 1;
     record->bytes_in = bytes_in;
     record->bytes_out = bytes_out;


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]