mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-10 18:48:25 +00:00
Define WINHTTP_IGNORE_REQUEST_TOTAL_LENGTH if not defined
This commit is contained in:
parent
959a93e716
commit
d07fd4425f
@ -36,6 +36,10 @@
|
|||||||
#define CACHED_POST_BODY_BUF_SIZE 4096
|
#define CACHED_POST_BODY_BUF_SIZE 4096
|
||||||
#define UUID_LENGTH_CCH 32
|
#define UUID_LENGTH_CCH 32
|
||||||
|
|
||||||
|
#ifndef WINHTTP_IGNORE_REQUEST_TOTAL_LENGTH
|
||||||
|
#define WINHTTP_IGNORE_REQUEST_TOTAL_LENGTH 0
|
||||||
|
#endif
|
||||||
|
|
||||||
static const char *prefix_http = "http://";
|
static const char *prefix_http = "http://";
|
||||||
static const char *prefix_https = "https://";
|
static const char *prefix_https = "https://";
|
||||||
static const char *upload_pack_service = "upload-pack";
|
static const char *upload_pack_service = "upload-pack";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user