diff options
Diffstat (limited to 'src/daemon/internal.h')
-rw-r--r-- | src/daemon/internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/daemon/internal.h b/src/daemon/internal.h index 154021ed..fad568d8 100644 --- a/src/daemon/internal.h +++ b/src/daemon/internal.h | |||
@@ -230,6 +230,14 @@ struct MHD_Session { | |||
230 | * up in that case). | 230 | * up in that case). |
231 | */ | 231 | */ |
232 | int socket_fd; | 232 | int socket_fd; |
233 | |||
234 | /** | ||
235 | * Has this socket been closed for reading (i.e. | ||
236 | * other side closed the connection)? If so, | ||
237 | * we must completely close the connection once | ||
238 | * we are done sending our response. | ||
239 | */ | ||
240 | int read_close; | ||
233 | 241 | ||
234 | /** | 242 | /** |
235 | * Have we finished receiving all of the headers yet? | 243 | * Have we finished receiving all of the headers yet? |