diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-09-25 20:32:41 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-09-25 20:32:53 +0200 |
commit | 19e1ed8355744dc2e0c6755e91de43ee335dea31 (patch) | |
tree | fb1d26048e16050ca5792304270a284456f19132 /src/include/microhttpd.h | |
parent | 8962cba42d7a104408608518a161fc0e0311ef4a (diff) | |
download | libmicrohttpd-19e1ed8355744dc2e0c6755e91de43ee335dea31.tar.gz libmicrohttpd-19e1ed8355744dc2e0c6755e91de43ee335dea31.zip |
-add support for ICECAST-style uploads
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index c850d849..d68fb7c1 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -1503,7 +1503,16 @@ enum MHD_FLAG | |||
1503 | * Flag set to enable TLS 1.3 early data. This has | 1503 | * Flag set to enable TLS 1.3 early data. This has |
1504 | * security implications, be VERY careful when using this. | 1504 | * security implications, be VERY careful when using this. |
1505 | */ | 1505 | */ |
1506 | MHD_USE_INSECURE_TLS_EARLY_DATA = 1U << 18 | 1506 | MHD_USE_INSECURE_TLS_EARLY_DATA = 1U << 18, |
1507 | |||
1508 | /** | ||
1509 | * Flag set to allow uploads from clients even if the client supplied no | ||
1510 | * transfer encoding and no Content-length header. The upload is expected | ||
1511 | * to be concluded when the client closes the connection. | ||
1512 | * This is in violation of RFC 7230 but useful for | ||
1513 | * Icecast. Use at your own risk. | ||
1514 | */ | ||
1515 | MHD_USE_ICECAST_CLIENT_UPLOADS = 1U << 19 | ||
1507 | 1516 | ||
1508 | }; | 1517 | }; |
1509 | 1518 | ||