summaryrefslogtreecommitdiff
path: root/libavformat/httpauth.c
Commit message (Collapse)AuthorAge
* httpauth: Add space after commas in HTTP/RTSP auth headerAndrey Utkin2015-10-14
| | | | | | | | | | | This fixes access to Grandstream cameras, which return 401 otherwise. VLC sends Authorization: header with spaces between parameters, and it is known to work with Grandstream devices and broad range of other HTTP and RTSP servers, so author considers switching to such behaviour safe. See RFC 2617 (HTTP Auth). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Use the avstring.h locale-independent character type functionsReimar Döffinger2013-03-07
| | | | | | Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö <martin@martin.st>
* Use the new aes/md5/sha/tree allocation functionsMartin Storsjö2012-10-11
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Support urlencoded http authentication credentialsAntti Seppälä2012-07-26
| | | | | | | | | It should be possible to specify usernames in http requests containing urlencoded characters. This patch adds support for decoding the auth strings. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* httpauth: Parse the stale field in digest authMartin Storsjö2012-03-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Remove extra newlines at EOFAlex Converse2012-01-27
|
* http: Handle proxy authenticationMartin Storsjö2011-11-11
| | | | | | | | 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>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make parse_key_value from httpauth a common lavf internal functionMartin Storsjö2010-08-19
| | | | Originally committed as revision 24832 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use AV_BASE64_SIZE() macroHoward Chu2010-06-04
| | | | Originally committed as revision 23462 to svn://svn.ffmpeg.org/ffmpeg/trunk
* httpauth: Fix the length passed to av_strlcatMartin Storsjö2010-06-03
| | | | | | | Since the buffer always was large enough, this bug didn't have any effect in practice. Originally committed as revision 23447 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_random_get_seed public, rename to av_get_random_seed, export the headerMartin Storsjö2010-05-23
| | | | | | | Keep an old ff_ named function for binary compatibility until the next major bump. Originally committed as revision 23254 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix buffer size; should hold 2 32-bit integers in hex = 16 chars + terminatingRonald S. Bultje2010-04-02
| | | | | | zero, so should be 17 bytes, not 9. Originally committed as revision 22786 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove a redundant null pointer checkMartin Storsjö2010-03-25
| | | | Originally committed as revision 22679 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for http digest authenticationMartin Storsjö2010-03-25
| | | | Originally committed as revision 22667 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split out http authentication handling into a separate fileMartin Storsjö2010-03-24
This prepares for adding support for more authentication methods Originally committed as revision 22660 to svn://svn.ffmpeg.org/ffmpeg/trunk