Commit 28bae01
committed
buffer: allow to read zero bytes
Decoder can try to read zero bytes sometimes. For example, when
it received an empty string. Let's simply handle this case in buffer
instead of assertion.
By the way, `ClientTest.cpp` was failing with Tarantool 3.2 because of
this problem: when connector tries to call a non-existing function
(`*** TEST CASE call wrong function ***`), Tarantool sends an empty
string in response.1 parent f15e8e9 commit 28bae01
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1238 | 1238 | | |
1239 | 1239 | | |
1240 | 1240 | | |
1241 | | - | |
| 1241 | + | |
| 1242 | + | |
1242 | 1243 | | |
1243 | 1244 | | |
1244 | 1245 | | |
| |||
0 commit comments