diff options
Diffstat (limited to 'src/daemon/session.h')
-rw-r--r-- | src/daemon/session.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/daemon/session.h b/src/daemon/session.h index 5e8be40c..24ddd641 100644 --- a/src/daemon/session.h +++ b/src/daemon/session.h | |||
@@ -39,7 +39,9 @@ struct MHD_Session { | |||
39 | 39 | ||
40 | struct MHD_Response * response; | 40 | struct MHD_Response * response; |
41 | 41 | ||
42 | char * requestType; | 42 | char * method; |
43 | |||
44 | char * url; | ||
43 | 45 | ||
44 | /** | 46 | /** |
45 | * Buffer for reading requests. | 47 | * Buffer for reading requests. |
@@ -78,6 +80,13 @@ struct MHD_Session { | |||
78 | size_t messagePos; | 80 | size_t messagePos; |
79 | 81 | ||
80 | /** | 82 | /** |
83 | * Remaining (!) number of bytes in the upload. | ||
84 | * Set to -1 for unknown (connection will close | ||
85 | * to indicate end of upload). | ||
86 | */ | ||
87 | size_t uploadSize; | ||
88 | |||
89 | /** | ||
81 | * Length of the foreign address. | 90 | * Length of the foreign address. |
82 | */ | 91 | */ |
83 | socklen_t addr_len; | 92 | socklen_t addr_len; |