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:
@@ -84,6 +84,12 @@ public:
|
||||
*/
|
||||
TagMask tag_mask = TagMask::All();
|
||||
|
||||
/**
|
||||
* The maximum number of bytes transmitted in a binary
|
||||
* response. Can be changed with the "binarylimit" command.
|
||||
*/
|
||||
size_t binary_limit = 8192;
|
||||
|
||||
private:
|
||||
static constexpr size_t MAX_SUBSCRIPTIONS = 16;
|
||||
|
||||
@@ -122,6 +128,7 @@ public:
|
||||
~Client() noexcept;
|
||||
|
||||
using FullyBufferedSocket::GetEventLoop;
|
||||
using FullyBufferedSocket::GetOutputMaxSize;
|
||||
|
||||
gcc_pure
|
||||
bool IsExpired() const noexcept {
|
||||
|
Reference in New Issue
Block a user