AnemoneLabs / unmessage

Privacy enhanced instant messenger
GNU General Public License v3.0
43 stars 7 forks source link

Set the maximum length of netstrings #60

Closed felipedau closed 7 years ago

felipedau commented 7 years ago

The _ConversationProtocol's inherited attribute MAX_LENGTH is currently set to the default value (99999). Once #57 is implemented, this should be set to the new packet maximum size. In case the instance expects to handle just one of the fixed sizes, then it can be optimized to allow only that specific value.

felipedau commented 7 years ago

89 made the netstring receiver depend on MAX_PACKET_LEN. This can

be closed and now the work for #57 will set that value.