Skip to content

Skip initial, insecure capability check if requireTLS is set #35

@asutherland

Description

@asutherland

In the event the server does not provide its capabilities in the greeting, browserbox will issue a CAPABILITY request even when requireTLS is going to force a STARTTLS anyways.

The control flow in _onReady and updateCapability are already non-trivial, so I figured I'd check what the preferred way to address this would be.

Note that this isn't particularly high priority since it's just a wasted roundtrip and many servers do include a CAPABILITY in their greeting, but it seems worth addressing since we would like to keep the initial connection setup as fast as possible in all cases.

Metadata

Metadata

Assignees

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