- 09 Oct, 2012 1 commit
-
-
Janne Grunau authored
Fixes CID700730.
-
- 27 Sep, 2012 1 commit
-
-
Duncan Salerno authored
Use the MAX_URL_SIZE define where applicable. Increase buffer sizes for all buffers that need to fit a long pathname - buffers that need to fit only the hostname (and other short strings, but not the pathname - such as "headers" in http_connect) are kept at 1024 bytes for now. Also increase the max line length in http_read_header, since it might need to contain a full url for Location: redirects. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 04 Sep, 2012 1 commit
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 20 Jun, 2012 1 commit
-
-
Mans Rullgard authored
These files do not use anything provided by unistd.h. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
- 19 Jun, 2012 1 commit
-
-
Ronald S. Bultje authored
-
- 17 Jun, 2012 2 commits
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This can happen if doing a new request using the same socket, but the new request failed, which clears the urlcontext. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 01 Jun, 2012 3 commits
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This fixes issues with opening http urls that have authentication or redirects, introduced in commit e999b641. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 30 May, 2012 2 commits
-
-
Samuel Pitoiset authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Samuel Pitoiset authored
This allows doing http posts with a content-length header sent in advance, avoiding chunked encoding. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 28 May, 2012 2 commits
-
-
Samuel Pitoiset authored
Introduce ff_http_do_new_request(), a new function which sends a new HTTP request, reusing the existing connection to the server. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Samuel Pitoiset authored
Add a new AVOption 'multiple_requests', which indicates if we want to use persistent connections (ie. Connection: keep-alive). Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 22 May, 2012 2 commits
-
-
Samuel Pitoiset authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Samuel Pitoiset authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 20 May, 2012 1 commit
-
-
Samuel Pitoiset authored
This function is used for reading http reply headers. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 13 Mar, 2012 2 commits
-
-
Martin Storsjö authored
Currently we only try continuing with the same auth mechanism as the initial request. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Allow up to 4 retries for normal requests, where both the proxy and the target server might need to authenticate. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 05 Jan, 2012 1 commit
-
-
Martin Storsjö authored
This definition is in two files, since the definitions will move to the private header at the next bump. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 11 Dec, 2011 1 commit
-
-
Mans Rullgard authored
These semicolons cause invalid empty top-level declarations. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
- 01 Dec, 2011 1 commit
-
-
Martin Storsjö authored
This string will be passed to ff_http_auth_create_response even if no proxy is used, resulting in reading uninitialized memory. The other auth string is always initialized by av_url_split. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 18 Nov, 2011 4 commits
-
-
Martin Storsjö authored
The tls protocol handles connections via proxies internally. With TLS/SSL, the peer verification requires that the client speaks directly with the server, since the proxy doesn't have the remote server's private key. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This is in preparation for a later commit. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This opens a plain TCP connection through the proxy via the CONNECT HTTP method. Normally, this is allowed for connections on port 443, but can in general be used to allow connections to any port (depending on proxy configuration), and could thus be used to tunnel any TCP connection via a HTTP proxy. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This is in preparation for a later commit, where this function is reused. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 13 Nov, 2011 2 commits
-
-
Anton Khirnov authored
Not used anywhere yet, support for passing options from avio_open() will follow.
-
Martin Storsjö authored
Change all uses of these function to pass the relevant callback on.
-
- 11 Nov, 2011 2 commits
-
-
Martin Storsjö authored
Tested with both Basic and Digest authentication, and tested with both proxy authentication and authentication for the requested resource at the same time. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
The error was hidden before, to avoid showing an error on the first request where no auth has been provided, when the server indicates which authentication method to use. Now the error is printed if an authentication method was used, but failed. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 10 Nov, 2011 7 commits
-
-
Martin Storsjö authored
That header simply doesn't make sense in that context. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
The chunksize internal variable has two different uses - for reading, it's the amount of data left of the current chunk (or -1 if the server doesn't send data in chunked mode), where it's only an internal state variable. For writing, it's used to decide whether to enable chunked encoding (by default), by using the value 0, or disable chunked encoding (value -1). This, while consistent, doesn't make much sense to expose as an AVOption. This splits the usage of the internal variable into two variables, chunksize which is used for reading (as before), and chunked_post which is the user-settable option, with the values 0 and 1, where 1 is default. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Anton Khirnov authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Anton Khirnov authored
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 06 Nov, 2011 1 commit
-
-
Reimar Döffinger authored
All current usages of it are incompatible with localization. For example strcasecmp("i", "I") != 0 is possible, but would break many of the places where it is used. Instead use our own implementations that always treat the data as ASCII. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 05 Nov, 2011 2 commits
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-