ably-java icon indicating copy to clipboard operation
ably-java copied to clipboard

Enforce maximum message size (RSL1i)

Open KacperKluka opened this issue 3 years ago • 0 comments

We should implement the spec RSL1i which constrains the maximum size of a message. There are a few things to do:

  • set the maxMessageSize default value to 64 KiB (TO3l8)
  • allow specifying the maxMessageSize via the ClientOptions
  • check if the maxMessageSize is exceeded and throw an appropriate error in case it is

Note: It seems that we have the maxMessageSize in the code already so it should be a good starting point.

┆Issue is synchronized with this Jira Task by Unito

KacperKluka avatar Mar 24 '22 13:03 KacperKluka