diff options
author | Mattias Andrée <maandree@kth.se> | 2017-10-22 17:04:33 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-10-22 17:04:33 +0200 |
commit | 7c668005fff737aa80ab3efa2ecdd52fc4b74137 (patch) | |
tree | 273d53a0994eab4bef5550ebff09bb39280f5be3 /README | |
parent | Update README (diff) | |
download | sbus-7c668005fff737aa80ab3efa2ecdd52fc4b74137.tar.gz sbus-7c668005fff737aa80ab3efa2ecdd52fc4b74137.tar.bz2 sbus-7c668005fff737aa80ab3efa2ecdd52fc4b74137.tar.xz |
Routing keys cannot include NUL bytes
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'README')
-rw-r--r-- | README | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -28,12 +28,12 @@ Non-features: Routing keys: Routing keys are used to filter received messages. A routing key - may contain any byte, whoever there are three bytes with special - meaning: '*', '.', and '!'. '*' should not be used in routing keys, - but only in routing key patterns, it matches until the next '.' or - end if there are not more '.'s. Additionally if a routing key - pattern ends with '.' that '.' will match to a '.' and any - subsequent byte. For example 'a.*.c.' will match 'a.b.c.' and + may contain any byte other than the NUL, whoever there are three + bytes with special meaning: '*', '.', and '!'. '*' should not be + in routing keys, but only in routing key patterns, it matches until + the next '.' or end if there are not more '.'s. Additionally if a + routing key pattern ends with '.' that '.' will match to a '.' and + any subsequent byte. For example 'a.*.c.' will match 'a.b.c.' and 'a.b.c.d.e' but not 'a.b.c' or 'a.c.d'. And empty routing key pattern shall match everything. The token '!' is reserved, a client should never use '!' for any other purpose than specified in the |