diff options
Diffstat (limited to 'src/core.h')
-rw-r--r-- | src/core.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -6,6 +6,8 @@ #include <stdbool.h> #include <netinet/in.h> +#define MAX_CHUNKS 4 + #define TIP_MSG_REQUEST_MAXLEN 131072 extern const char *root; @@ -48,7 +50,9 @@ struct tip_client { enum tip_http_method method; const char *uri; const char *path; + uint32_t chunk; off_t size; + off_t left; int fd; off_t offset; |