summaryrefslogtreecommitdiff
path: root/server/reds.h
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2009-10-16 00:21:43 +0200
committerYaniv Kamay <ykamay@redhat.com>2009-10-18 17:42:37 +0200
commitef213c66c19d265140e9a55519b174d34ff1f16b (patch)
tree0a8e58217f5757881d4d4798d1316dbb3809f37a /server/reds.h
parent308e4545cbf8d26d5d47ad6ab9f2c6e6e6648003 (diff)
tunnel
Diffstat (limited to 'server/reds.h')
-rw-r--r--server/reds.h3
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);