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 { struct MHD_Response * response; - char * requestType; + char * method; + + char * url; /** * Buffer for reading requests. @@ -78,6 +80,13 @@ struct MHD_Session { size_t messagePos; /** + * Remaining (!) number of bytes in the upload. + * Set to -1 for unknown (connection will close + * to indicate end of upload). + */ + size_t uploadSize; + + /** * Length of the foreign address. */ socklen_t addr_len; |