Get the latest tech news

Patching requests for fun and (concurrent) profit


Because life is too short to spam calls to <code>SSL_CTX_load_verify_locations()</code>.

In the first case, a full 0.68 seconds are spent in the load_verify_locations() function of the ssl module, which configures a SSLContext object to use a set of root CA certificates for validation. In scenarios with a higher concurrency, we have also observed some global blocking going on, either because each FFI call locks up the GIL or because of some thread safety mechanisms in OpenSSL itself. A small caveat happens when verify isn't a boolean, but rather a string indicating a path to an alternative CA bundle or cert store.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Fun

Fun

Photo of profit

profit

Photo of Patching requests

Patching requests

Related news:

News photo

Microsoft Sales, Profit Beat Expectations on AI Demand

News photo

TikTok Users Make Fun and Money From US Effort to Ban the App

News photo

Rabbit R1 hands-on: Already more fun and accessible than the Humane AI Pin