protocol: add command "binarylimit"

Increasing the protocol version to 0.22.4 to allow clients to detect
this feature.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1038
This commit is contained in:
Max Kellermann
2021-01-21 16:27:52 +01:00
parent 6e33566cee
commit 995aafe9cc
10 changed files with 66 additions and 25 deletions

View File

@@ -79,8 +79,6 @@ public:
gcc_printf(2,3)
bool Format(const char *fmt, ...) noexcept;
static constexpr size_t MAX_BINARY_SIZE = 8192;
/**
* Write a binary chunk; this writes the "binary" line, the
* given chunk and the trailing newline.