source: TI12-security/branches/Dependencies/m2crypto/contrib/dispatcher.README @ 2172

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/branches/Dependencies/m2crypto/contrib/dispatcher.README@2237
Revision 2172, 894 bytes checked in by pjkersha, 13 years ago (diff)
Line 
1Date: Thu, 31 May 2001 17:11:45 +0400 (MSD)
2From: Ilya Etingof <ilya@glas.net>
3To: ngps@post1.com
4Cc: Ilya Etingof <ilya@glas.net>
5Subject: Another kind of non-blocking SSL dispatcher
6
7--1922505501-409592217-991314705=:1995
8Content-Type: TEXT/PLAIN; charset=US-ASCII
9
10
11Hi,
12
13Thanks for writing M2Crypto!
14
15I've been trying to use the ssl_dispatcher.py though I felt like the
16bundled version is not absolutely non-blocking. Precisely, it looks
17like the Connection.connect() method does not handle the case when
18socket.connect() returns the WOULDBLOCK error. Another suspicious thing
19is that there seems to be no SSL "want read" and "want write" error
20return codes of SSL read and write functions.
21
22The attached [quick and dirty] code hopefully fixes these two
23problems. Please, let me know if I'm missing some important clue about all
24this.
25
26Thanks,
27ilya
28
29--1922505501-409592217-991314705=:1995
30
Note: See TracBrowser for help on using the repository browser.