Skip to content

Slow certificate verification in Windows #3444

Discussion options

You must be logged in to vote

I changed my code to create a client as you suggested. It's significantly faster than the functional form with verify=False. In Linux, it seems to run 2-3x faster.

In the introduction and quick start sections of the documentation, everything is using the functional form. I suppose that makes sense for the introduction so people can copy and paste stuff and do a quick test. But based on this experience, it doesn't seem like the functional form should be used in practice. Am I missing something?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@shaperilio
Comment options

@shaperilio
Comment options

Answer selected by tomchristie
@tomchristie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants