kc3-lang/libevent/bufferevent_openssl.c

Branch :


Log

Author Commit Date CI Message
f2282398 2009-08-14 20:07:35 New function to put an SSL bufferevent into a renegotiating state. svn:r1418
46a61869 2009-08-14 20:07:17 Disable whichever struct event we don't want during ssl handshaking. svn:r1417
58b0708e 2009-08-14 20:07:09 Only send a connected event _after_ we've adjusted the SSL state. This is important if the callback adjusts it to something else. svn:r1416
cf54d74a 2009-07-30 20:41:41 More unit tests for Openssl, including initializing with no socket. Up to 75% coverage. svn:r1399
7a2a51a3 2009-07-30 20:41:21 Add unit tests for SSL session renegotiation. This tickles the write-blocked-on-read code, and in this case turned up a bug in it. svn:r1397
595f7e38 2009-07-30 20:41:12 Always retry SSL_write() with the same number you told it last time. svn:r1396
eecefc50 2009-07-30 20:41:00 Add a function to extract the SSL object from a bufferevent_openssl. svn:r1395
d5a3f1f1 2009-07-30 20:40:50 Set the SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER flag, and explain why. svn:r1394
44715517 2009-07-30 20:40:40 Use SSL_do_handshake in place of SSL_connect/SSL_accept svn:r1393
709c21c4 2009-07-28 04:03:57 Bufferevent support for openssl. This code adds a new Bufferevent type that is only compiled when the openssl library is present. It supports using an SSL object and an event alert mechanism, which can either be an fd or an underlying bufferevent. There is still more work to do: the unit tests are incomplete, and we need to support flush and shutdown much better. Sometimes events are generated needlessly: this will hose performance. There's a new encrypting proxy in sample/le-proxy.c. This code has only been tested on OSX, and nowhere else. svn:r1382