Commit 599e3f4
iproto: disable feature discovery for specific versions
"IProto features" are available since Tarantool 2.10 and there is
no need to even try to fetch them for lower versions.
Such check there is in netbox code [1].
Before this patch cartridge remote control closed the connection
after RequestProtocolVersion however but for netbox it worked
fine.
So let's uniform behaviour between connectors adding a small check
to skip request if there is a gurarntee that "IProto features" are
not supported.
Closes #283
[1] tarantool/tarantool@2cbec82#diff-a47383908beda20a06c9f64bf5c3d4c51879034e38bcdccdf45210e89ce6dfb7R19471 parent 6fb3490 commit 599e3f4
2 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1014 | 1014 | | |
1015 | 1015 | | |
1016 | 1016 | | |
1017 | | - | |
| 1017 | + | |
| 1018 | + | |
1018 | 1019 | | |
1019 | 1020 | | |
1020 | 1021 | | |
| |||
0 commit comments