[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 01/02: struct MHD_UpgradeResponseHandle: cl
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 01/02: struct MHD_UpgradeResponseHandle: clarified comments |
Date: |
Mon, 13 Mar 2017 21:49:08 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 8dadd66ddef2d9320b0a60b9bf7881f42b127c93
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sun Mar 12 13:00:56 2017 +0300
struct MHD_UpgradeResponseHandle: clarified comments
---
src/microhttpd/internal.h | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
index efe3fbb8..62c60a31 100644
--- a/src/microhttpd/internal.h
+++ b/src/microhttpd/internal.h
@@ -1048,26 +1048,34 @@ struct MHD_UpgradeResponseHandle
char *out_buffer;
/**
- * Size of the @e in_buffer. 0 if the connection went down for reading.
+ * Size of the @e in_buffer.
+ * Set to 0 if the TLS connection went down for reading or socketpair
+ * went down for writing.
*/
size_t in_buffer_size;
/**
- * Size of the @e out_buffer. 0 if the connection went down for writing.
+ * Size of the @e out_buffer.
+ * Set to 0 if the TLS connection went down for writing or socketpair
+ * went down for reading.
*/
size_t out_buffer_size;
/**
* Number of bytes actually in use in the @e in_buffer. Can be larger
* than @e in_buffer_size if and only if @a in_buffer_size is zero and
- * we still have bytes to process in the buffer.
+ * we still have bytes that can be forwarded.
+ * Reset to zero if all data was forwarded to socketpair or
+ * if socketpair went down for writing.
*/
size_t in_buffer_used;
/**
* Number of bytes actually in use in the @e out_buffer. Can be larger
* than @e out_buffer_size if and only if @a out_buffer_size is zero and
- * we still have bytes to process in the buffer.
+ * we still have bytes that can be forwarded.
+ * Reset to zero if all data was forwarded to TLS connection or
+ * if TLS connection went down for writing.
*/
size_t out_buffer_used;
--
To stop receiving notification emails like this one, please contact
address@hidden