Skip to content

crypto/tls: add docs detailing the sequence before/after Read()/Write() during TLS handshake #36128

@martindg

Description

@martindg

What version of Go are you using (go version)?

$ go version
go version go1.13.5 linux/amd64

Does this issue reproduce with the latest release?

Yes.

What did you expect to see?

Documentation (e.g. for Listen()) telling that actual TLS handshake would only occur after Read(), Write() or explicit call to Handshake() as described here:

// explicitly: the first Read or Write will call it automatically.

What did you see instead?

Explicit information only in the Handshake() documentation:

// explicitly: the first Read or Write will call it automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions