This repository was archived by the owner on Oct 30, 2024. It is now read-only.
Commit 7164c92
NATS 1.2.x support: catch not set fields
This commit improves support for NATS 1.2.x by checking if several
fields; `auth_required`, `tls_required`, and `tls_verify` are set in
the initial INFO packet. As of NATS 1.2, these fields aren't always
set, which can cause an E_NOTICE to be raised.
Without this change, the unit tests are failing because the Docker
container has been updated to 1.2.0, and PHPUnit is configured to
treat notices as test failures.
See: nats-io/nats-server@17fecd4#diff-91bbeda7eb98a7adc57b9e47e2cf5c2b1 parent 3a41e8e commit 7164c92
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
107 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
0 commit comments