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 <g...@redhat.com>
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: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to