Merge lp:~jderose/microfiber/crime into lp:microfiber
Proposed by
Jason Gerard DeRose
Status: | Merged |
---|---|
Merged at revision: | 149 |
Proposed branch: | lp:~jderose/microfiber/crime |
Merge into: | lp:microfiber |
Diff against target: |
58 lines (+9/-0) 2 files modified
microfiber.py (+5/-0) test_microfiber.py (+4/-0) |
To merge this branch: | bzr merge lp:~jderose/microfiber/crime |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Jordan | Approve | ||
Review via email:
|
Description of the change
* Adds Python3.2 monkey patch for ssl.OP_
* build_ssl_context() now sets the options like this:
ctx = ssl.SSLContext(
ctx.verify_mode = ssl.CERT_REQUIRED
ctx.options |= ssl.OP_
* Updates build_ssl_context() tests to check ctx.options
To post a comment you must log in.
Oh, one more thing: I've done some out-of-band tests with Apache and mod_wsgi to confirm that setting ssl.OP_ NO_COMPRESSION on the client-side indeed results in compression being disabled, even when it's not disabled on the server.