summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2012-10-19 16:31:28 +0100
committerSimon MacMullen <simon@rabbitmq.com>2012-10-19 16:31:28 +0100
commit22bf1a9f1b567dd1a2a8e93e4bb52089f283cb18 (patch)
treedf578e5c25d93e18c670e5b4a42a662278541c0f /src
parent4a82b2ea9e5b5c3bcf798f40e8d004914008a7bd (diff)
downloadrabbitmq-server-git-22bf1a9f1b567dd1a2a8e93e4bb52089f283cb18.tar.gz
Move host and peer_host to creattion since they will not change now.
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_reader.erl17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/rabbit_reader.erl b/src/rabbit_reader.erl
index 9877eba387..fab5af61e6 100644
--- a/src/rabbit_reader.erl
+++ b/src/rabbit_reader.erl
@@ -43,15 +43,14 @@
-define(STATISTICS_KEYS, [pid, recv_oct, recv_cnt, send_oct, send_cnt,
send_pend, state, last_blocked_by, last_blocked_age,
- channels, host, peer_host]).
-
--define(CREATION_EVENT_KEYS, [pid, name, address, port, peer_address, peer_port,
- ssl, peer_cert_subject, peer_cert_issuer,
- peer_cert_validity, auth_mechanism,
- ssl_protocol, ssl_key_exchange,
- ssl_cipher, ssl_hash,
- protocol, user, vhost, timeout, frame_max,
- client_properties]).
+ channels]).
+
+-define(CREATION_EVENT_KEYS,
+ [pid, name, address, port, peer_address, peer_port, host,
+ peer_host, ssl, peer_cert_subject, peer_cert_issuer,
+ peer_cert_validity, auth_mechanism, ssl_protocol,
+ ssl_key_exchange, ssl_cipher, ssl_hash, protocol, user, vhost,
+ timeout, frame_max, client_properties]).
-define(INFO_KEYS, ?CREATION_EVENT_KEYS ++ ?STATISTICS_KEYS -- [pid]).