diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2009-10-16 00:21:43 +0200 |
---|---|---|
committer | Yaniv Kamay <ykamay@redhat.com> | 2009-10-18 17:42:37 +0200 |
commit | ef213c66c19d265140e9a55519b174d34ff1f16b (patch) | |
tree | 0a8e58217f5757881d4d4798d1316dbb3809f37a /server/reds.h | |
parent | 308e4545cbf8d26d5d47ad6ab9f2c6e6e6648003 (diff) |
tunnel
Diffstat (limited to 'server/reds.h')
-rw-r--r-- | server/reds.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/reds.h b/server/reds.h index ce09e5b..248edff 100644 --- a/server/reds.h +++ b/server/reds.h @@ -27,6 +27,9 @@ typedef struct RedsStreamContext { int socket; + /* set it to TRUE if you shutdown the socket. shutdown read doesn't work as accepted - + receive may return data afterwards. check the flag before calling receive*/ + int shutdown; SSL *ssl; int (*cb_write)(void *, void *, int); |