Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #26063
| Path | csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <thiebaud@weksteen.fr> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.007 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'python': 0.09; 'callback': 0.09; 'url:github': 0.09; 'library': 0.15; 'handshake': 0.16; 'messages)': 0.16; 'python-list,': 0.16; 'received:(helo queueout)': 0.16; 'received:213.186': 0.16; 'received:213.186.33': 0.16; 'received:213.186.33.50': 0.16; 'received:213.186.33.59': 0.16; 'received:87.98': 0.16; 'received:b0.ovh.net': 0.16; 'received:ha.ovh.net': 0.16; 'received:mail-out.ovh.net': 0.16; 'url:patch': 0.16; 'module': 0.19; 'define': 0.20; 'patch': 0.24; 'header:User-Agent:1': 0.26; 'wrote': 0.26; 'skip:" 20': 0.26; '(such': 0.27; 'that.': 0.30; 'function': 0.30; 'to:addr:python- list': 0.33; 'protocol': 0.35; 'really': 0.36; 'does': 0.37; 'being': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'worth': 0.63; 'here': 0.65; 'surprise': 0.65; 'subjectcharset:utf-8': 0.72; 'url:master': 0.84; 'subject:add': 0.91 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Date | Thu, 26 Jul 2012 13:47:24 +1000 |
| From | Thiébaud Weksteen <thiebaud@weksteen.fr> |
| To | <python-list@python.org> |
| X-Ovh-Mailout | 178.32.228.6 (mo6.mail-out.ovh.net) |
| Subject | ssl: add msg_callback |
| X-Sender | thiebaud@weksteen.fr |
| User-Agent | RoundCube Webmail/0.4 |
| X-Ovh-Tracer-Id | 13676306170229969636 |
| X-VR-SPAMSTATE | OK |
| X-VR-SPAMSCORE | 0 |
| X-VR-SPAMCAUSE | gggruggvucftvghtrhhoucdtuddrfeegkedrledtucetufdoteggodetrfdofgetucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenucenucfhrhhomhepvfhhihorsggruhgupgghvghkshhtvggvnhcuoehthhhivggsrghuugesfigvkhhsthgvvghnrdhfrheqnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfjughrpeggtgfgfffhvffukfigfgesthekjhdttderje |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2588.1343281342.4697.python-list@python.org> (permalink) |
| Lines | 19 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1343281342 news.xs4all.nl 6881 [2001:888:2000:d::a6]:53858 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:26063 |
Show key headers only | View raw
Hi python-list, I wrote a patch for Python 3.2.3 to expose the function SSL_CTX_set_msg_callback in the module _ssl. I was actually surprise this function was not already in the standard library as it is really handy: "SSL_CTX_set_msg_callback() or SSL_set_msg_callback() can be used to define a message callback function cb for observing all SSL/TLS protocol messages (such as handshake messages) that are received or sent." Here is the patch: https://github.com/tweksteen/abrupt-usecase/blob/master/python-ssl-3.2.3.patch Let me know your opinion on that. Does it worth being included? Thiébaud
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
ssl: add msg_callback Thiébaud Weksteen <thiebaud@weksteen.fr> - 2012-07-26 13:47 +1000
csiph-web