forked from FFmpeg/FFmpeg
http: Remove the custom function for disabling chunked posts
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
d450cc4f4a
commit
18ae362640
2 changed files with 0 additions and 13 deletions
|
@ -78,11 +78,6 @@ void ff_http_set_headers(URLContext *h, const char *headers)
|
||||||
av_strlcpy(s->headers, headers, sizeof(s->headers));
|
av_strlcpy(s->headers, headers, sizeof(s->headers));
|
||||||
}
|
}
|
||||||
|
|
||||||
void ff_http_set_chunked_transfer_encoding(URLContext *h, int is_chunked)
|
|
||||||
{
|
|
||||||
((HTTPContext*)h->priv_data)->chunksize = is_chunked ? 0 : -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ff_http_init_auth_state(URLContext *dest, const URLContext *src)
|
void ff_http_init_auth_state(URLContext *dest, const URLContext *src)
|
||||||
{
|
{
|
||||||
memcpy(&((HTTPContext*)dest->priv_data)->auth_state,
|
memcpy(&((HTTPContext*)dest->priv_data)->auth_state,
|
||||||
|
|
|
@ -42,14 +42,6 @@
|
||||||
*/
|
*/
|
||||||
void ff_http_set_headers(URLContext *h, const char *headers);
|
void ff_http_set_headers(URLContext *h, const char *headers);
|
||||||
|
|
||||||
/**
|
|
||||||
* Enable or disable 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);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize the authentication state based on another HTTP URLContext.
|
* Initialize the authentication state based on another HTTP URLContext.
|
||||||
* This can be used to pre-initialize the authentication parameters if
|
* This can be used to pre-initialize the authentication parameters if
|
||||||
|
|
Loading…
Add table
Reference in a new issue