diff options
author | Mark Nunberg <mnunberg@haskalah.org> | 2017-11-27 15:49:28 -0500 |
---|---|---|
committer | Mark Nunberg <mnunberg@haskalah.org> | 2019-02-20 09:10:10 -0500 |
commit | 08efa46599410e6b56ab19ed1c9a72c67476db9c (patch) | |
tree | 3d139ad26f4eeeec5ff43e8c9fe8866d6aa79a1e /sslio.h | |
parent | ba947bc93cc262c37db181f4684db1c37e803d6a (diff) |
SSL for async I/O
Diffstat (limited to 'sslio.h')
-rw-r--r-- | sslio.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -33,6 +33,15 @@ typedef struct redisSsl { * previously called with in the event of an SSL_read/SSL_write situation */ size_t lastLen; + + /** Whether the SSL layer requires read (possibly before a write) */ + int wantRead; + + /** + * Whether a write was requested prior to a read. If set, the write() + * should resume whenever a read takes place, if possible + */ + int pendingWrite; } redisSsl; struct redisContext; |