Skip to content

bpo-37120: Add SSLContext.num_tickets (GH-13719)#13719

Merged
tiran merged 1 commit into
python:masterfrom
tiran:bpo-37120-session-ticket
Jun 3, 2019
Merged

bpo-37120: Add SSLContext.num_tickets (GH-13719)#13719
tiran merged 1 commit into
python:masterfrom
tiran:bpo-37120-session-ticket

Conversation

@tiran

@tiran tiran commented Jun 1, 2019

Copy link
Copy Markdown
Member

@njsmith njsmith left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Two small comments.

Comment thread Doc/library/ssl.rst Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Probably worth noting explicitly that it only affects TLS 1.3 connections, and possibly that it doesn't affect connections that are resumed using a ticket.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

SGTM, the first sentence mentions that it's about TLS 1.3. I added another sentence to explicitly state that the setting does not affect TLS 1.0 to 1.2.

Comment thread Lib/test/test_ssl.py Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It's maybe slightly nicer to make this error out too, I guess?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

You mean getattr access? I'm not sure how much trouble it's going to create.

Signed-off-by: Christian Heimes <christian@python.org>
@tiran
tiran force-pushed the bpo-37120-session-ticket branch from 57ba3de to 0d12770 Compare June 3, 2019 18:09
@tiran tiran changed the title bpo-37120: Add SSLContext.num_tickets bpo-37120: Add SSLContext.num_tickets (GH-13719) Jun 3, 2019
@tiran
tiran merged commit 78c7d52 into python:master Jun 3, 2019
@tiran
tiran deleted the bpo-37120-session-ticket branch June 3, 2019 19:07
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
Signed-off-by: Christian Heimes <christian@python.org>
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.

4 participants