Skip to content

(rumqttc) setting v5::MqttOptions::set_max_packet_size to None is not effective #1018

@yann-leprovost22

Description

@yann-leprovost22

Instead of accepting any packet size for incoming message, Some(default_max_incoming_size) is used in the network_connect method, leading to a Codec using max_incoming_size = Some(default_max_incoming_size) instead of None.

I would have expected that set_max_packet_size(None) leads to max_incoming_size = None in the Codec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions