diff options
Diffstat (limited to 'src/daemon/internal.h')
-rw-r--r-- | src/daemon/internal.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/daemon/internal.h b/src/daemon/internal.h index b257de2c..f0a6ae4c 100644 --- a/src/daemon/internal.h +++ b/src/daemon/internal.h | |||
@@ -62,7 +62,7 @@ void MHD_tls_log_func (int level, const char *str); | |||
62 | * @return length of the resulting val (strlen(val) maybe | 62 | * @return length of the resulting val (strlen(val) maybe |
63 | * shorter afterwards due to elimination of escape sequences) | 63 | * shorter afterwards due to elimination of escape sequences) |
64 | */ | 64 | */ |
65 | unsigned int MHD_http_unescape (char *val); | 65 | size_t MHD_http_unescape (char *val); |
66 | 66 | ||
67 | /** | 67 | /** |
68 | * Header or cookie in HTTP request or response. | 68 | * Header or cookie in HTTP request or response. |
@@ -145,7 +145,7 @@ struct MHD_Response | |||
145 | /** | 145 | /** |
146 | * Set to -1 if size is not known. | 146 | * Set to -1 if size is not known. |
147 | */ | 147 | */ |
148 | size_t total_size; | 148 | uint64_t total_size; |
149 | 149 | ||
150 | /** | 150 | /** |
151 | * Size of data. | 151 | * Size of data. |
@@ -161,7 +161,7 @@ struct MHD_Response | |||
161 | * At what offset in the stream is the | 161 | * At what offset in the stream is the |
162 | * beginning of data located? | 162 | * beginning of data located? |
163 | */ | 163 | */ |
164 | size_t data_start; | 164 | uint64_t data_start; |
165 | 165 | ||
166 | }; | 166 | }; |
167 | 167 | ||
@@ -485,14 +485,14 @@ struct MHD_Connection | |||
485 | * How many more bytes of the body do we expect | 485 | * How many more bytes of the body do we expect |
486 | * to read? "-1" for unknown. | 486 | * to read? "-1" for unknown. |
487 | */ | 487 | */ |
488 | size_t remaining_upload_size; | 488 | uint64_t remaining_upload_size; |
489 | 489 | ||
490 | /** | 490 | /** |
491 | * Current write position in the actual response | 491 | * Current write position in the actual response |
492 | * (excluding headers, content only; should be 0 | 492 | * (excluding headers, content only; should be 0 |
493 | * while sending headers). | 493 | * while sending headers). |
494 | */ | 494 | */ |
495 | size_t response_write_position; | 495 | uint64_t response_write_position; |
496 | 496 | ||
497 | /** | 497 | /** |
498 | * Position in the 100 CONTINUE message that | 498 | * Position in the 100 CONTINUE message that |
@@ -699,7 +699,7 @@ struct MHD_Daemon | |||
699 | /** | 699 | /** |
700 | * Size of the per-connection memory pools. | 700 | * Size of the per-connection memory pools. |
701 | */ | 701 | */ |
702 | unsigned int pool_size; | 702 | size_t pool_size; |
703 | 703 | ||
704 | /** | 704 | /** |
705 | * Limit on the number of parallel connections. | 705 | * Limit on the number of parallel connections. |