mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 02:20:07 +01:00
Add support for disabling chunked transfer encoding for the http protocol
Patch by Josh Allmann, josh dot allmann at gmail Originally committed as revision 23531 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Martin Storsjö
parent
b995a6a84f
commit
f2b9b19fad
@@ -39,4 +39,12 @@
|
||||
*/
|
||||
void ff_http_set_headers(URLContext *h, const char *headers);
|
||||
|
||||
/**
|
||||
* Enables or disables chunked transfer encoding. (default is enabled)
|
||||
*
|
||||
* @param h URL context for this HTTP connection
|
||||
* @param is_chunked 0 to disable chunking, nonzero otherwise.
|
||||
*/
|
||||
void ff_http_set_chunked_transfer_encoding(URLContext *h, int is_chunked);
|
||||
|
||||
#endif /* AVFORMAT_HTTP_H */
|
||||
|
||||
Reference in New Issue
Block a user