Skip to content

Suspicious documentation clause about enable_push - missing negation? #645

@vi

Description

@vi

In client::Builder::enable_push documentation:

pub fn enable_push(&mut self, enabled: bool) -> &mut Self;

This value is included in the initial SETTINGS handshake. When set [?!], the server MUST NOT send a push promise. Setting this value to value to false in the initial SETTINGS handshake guarantees that the remote server will never send a push promise.

Is it meant to be "when set to false"?

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