Skip to content

Comments

Add some performance notes about early data#3955

Closed
mattcaswell wants to merge 1 commit intoopenssl:masterfrom
mattcaswell:add-early-data-perf-notes
Closed

Add some performance notes about early data#3955
mattcaswell wants to merge 1 commit intoopenssl:masterfrom
mattcaswell:add-early-data-perf-notes

Conversation

@mattcaswell
Copy link
Member

In particular add information about the effect of Nagle's algorithm on
early data.

Fixes #3906

Checklist
  • documentation is added or updated

In particular add information about the effect of Nagle's algorithm on
early data.

Fixes openssl#3906
the ACK is received from the peer. The initial ClientHello will be sent as the
first TCP packet, causing the early application data from calls to
SSL_write_early_data() to be buffered by the OS and not sent until an ACK is
received for the ClientHello packet. This means the early data is not actually
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, or if enough early data is queued up to be written. But maybe the previous sentence is enough to cover this possibility.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally I think the previous sentence makes it clear. But if you prefer I could add "(unless enough data is written to fill an entire TCP packet)".

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As indicated by the approval review, I defer to your judgment.

@mattcaswell
Copy link
Member Author

Pushed, without any amendments. Thanks.

levitte pushed a commit that referenced this pull request Jul 18, 2017
In particular add information about the effect of Nagle's algorithm on
early data.

Fixes #3906

Reviewed-by: Ben Kaduk <[email protected]>
(Merged from #3955)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TLS 1.3 Early data performance issue

2 participants