"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/tls.c" between
redis-6.2-rc3.tar.gz and redis-6.2.0.tar.gz

About: redis is an advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

tls.c  (redis-6.2-rc3):tls.c  (redis-6.2.0)
skipping to change at line 352 skipping to change at line 352
ConnectionType CT_TLS; ConnectionType CT_TLS;
/* Normal socket connections have a simple events/handler correlation. /* Normal socket connections have a simple events/handler correlation.
* *
* With TLS connections we need to handle cases where during a logical read * With TLS connections we need to handle cases where during a logical read
* or write operation, the SSL library asks to block for the opposite * or write operation, the SSL library asks to block for the opposite
* socket operation. * socket operation.
* *
* When this happens, we need to do two things: * When this happens, we need to do two things:
* 1. Make sure we register for the even. * 1. Make sure we register for the event.
* 2. Make sure we know which handler needs to execute when the * 2. Make sure we know which handler needs to execute when the
* event fires. That is, if we notify the caller of a write operation * event fires. That is, if we notify the caller of a write operation
* that it blocks, and SSL asks for a read, we need to trigger the * that it blocks, and SSL asks for a read, we need to trigger the
* write handler again on the next read event. * write handler again on the next read event.
* *
*/ */
typedef enum { typedef enum {
WANT_READ = 1, WANT_READ = 1,
WANT_WRITE WANT_WRITE
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)