summaryrefslogtreecommitdiff
path: root/libavformat/http.c
Commit message (Collapse)AuthorAge
* 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
* move ff_url_split() and ff_url_join() declarations to internal.hAurelien Jacobs2010-03-14
| | | | | | those functions are not part of the public API Originally committed as revision 22534 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ReindentMartin Storsjö2010-03-08
| | | | Originally committed as revision 22322 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename url_split to ff_url_splitMartin Storsjö2010-03-08
| | | | | | Since this function isn't in the public API, it should have an ff_ prefix. Originally committed as revision 22321 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use ff_url_join for assembling URLs, instead of snprintfMartin Storsjö2010-03-05
| | | | | | | | | This ensures proper escaping of numerical IPv6 addresses. The RTSP (de)muxer needs its own network initialization, since it isn't a protocol and url_open hasn't been called yet. Originally committed as revision 22226 to svn://svn.ffmpeg.org/ffmpeg/trunk
* restore old buffer content when seek failed in http protocol, fix issue #1631Baptiste Coudurier2010-01-13
| | | | Originally committed as revision 21208 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r21166.Ronald S. Bultje2010-01-12
| | | | Originally committed as revision 21167 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use chunked encoding for HTTP uploads. Patch by Tomas HärdinTomas Härdin2010-01-12
| | | | | | <$firstname.$lastname()codemill,se>. Originally committed as revision 21166 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for "chunked" data blocks. Patch by Peter Holik (peter holik at).Peter Holik2009-06-23
| | | | Originally committed as revision 19256 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics : Use dprintf instead of printf.Peter Holik2009-06-06
| | | | | | Patch by Peter Holik < $firstname @ $lastname . at > Originally committed as revision 19126 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics : Fix indentation after last commit.Jai Menon2009-06-06
| | | | Originally committed as revision 19125 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Introduce http_get_line and modify http_connect to use http_get_line.Peter Holik2009-06-06
| | | | | | Patch by Peter Holik <$firstname @ $lastname . at> Originally committed as revision 19124 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add url_get_file_handle(), which is used to get the file descriptorRonald S. Bultje2009-03-03
| | | | | | | | | | | associated with the I/O handle (e.g. the fd returned by open()). See "[RFC] rtsp.c EOF support" thread. There were previously some URI-specific implementations of the same idea, e.g. rtp_get_file_handles() and udp_get_file_handle(). All of these are deprecated by this patch and will be removed at the next major API bump. Originally committed as revision 17779 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reduce allocated length of the HTTP authentication request field buffer, asRonald S. Bultje2009-03-03
| | | | | | | | | | | | | noticed by Stefano and Luca in the "[PATCH]RTSP Basic Authentication" mailinglist thread. av_base64_encode() was recently changed. The previous implementation required 12 extra bytes (ceil(len(src)/3.)*4+12), whereas the new one is guaranteed to fit in an exact buffer (ceil(len(src)/3.)*4), plus one extra byte for the trailing zero. This change fixes no bug, it just slightly decreases the amount of allocated memory. Originally committed as revision 17761 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove offset_t typedef and use int64_t directly instead.Diego Biurrun2008-10-03
| | | | | | | The name offset_t is easily confused with the standard off_t type and *_t is POSIX reserved namespace if any POSIX header is included. Originally committed as revision 15533 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-09
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove a pointless cast.Reimar Döffinger2008-02-02
| | | | Originally committed as revision 11819 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Missing 'const' in cast.Reimar Döffinger2008-02-02
| | | | Originally committed as revision 11814 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert hack which should have never been commited.Michael Niedermayer2007-12-28
| | | | | | | | | | ------------------------------------------------------------------------ r464 | philipjsg | 2002-05-09 03:19:15 +0200 (Thu, 09 May 2002) | 3 lines * Add a sleep when doing the post to ffserver. Yes, this is the wrong solution. Originally committed as revision 11336 to svn://svn.ffmpeg.org/ffmpeg/trunk
* os_support.h is also needed for usleep and lseek on MinGW.Ramiro Polla2007-11-22
| | | | Originally committed as revision 11075 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurrences of AVERROR_IO with AVERROR(EIO).Panagiotis Issaris2007-07-19
| | | | Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace the uses of old string functions that Reimar missedMåns Rullgård2007-06-24
| | | | Originally committed as revision 9406 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use new string functionsMåns Rullgård2007-06-23
| | | | | | based on patch by Reimar Döffinger Originally committed as revision 9401 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use usleep instead of sleep, some MinGW versions lack sleep.Alex Beregszaszi2007-05-17
| | | | Originally committed as revision 9044 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typos/grammarDiego Biurrun2007-04-07
| | | | Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
* expose av_base64_decode and av_base64_encodeLuca Barbato2007-03-19
| | | | Originally committed as revision 8448 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Properly initialize filesize during input buffer initialization.Ronald S. Bultje2007-03-12
| | | | | | patch by Ronald S. Bultje, rbultje ronald.bitfreak net Originally committed as revision 8343 to svn://svn.ffmpeg.org/ffmpeg/trunk
* handle http error codesAlex Beregszaszi2007-03-06
| | | | Originally committed as revision 8272 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Close connection on EOFRonald S. Bultje2007-03-04
| | | | | | | | | | | | | this makes downloading some asx files from MS streaming servers work again (they would hang on eos). The http request header property connection:close is needed for _some_ 1.1 HTTP servers to close the connection at the end of file. patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net% Original thread: Date: Mar 3, 2007 10:48 PM Subject: [Ffmpeg-devel] [PATCH] close connection on end-of-file Originally committed as revision 8221 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make HTTP MOVED messages also work in ffmpeg (302 is essentially the same as ↵Ronald S. Bultje2007-03-04
| | | | | | | | | | | 303). patch by "Ronald S. Bultje" % rbultje A ronald P bitfreak P net% original thread: Date: Mar 4, 2007 1:21 AM Subject: [Ffmpeg-devel] http move Originally committed as revision 8219 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reverting stray commit part II, r8156 had the base64 export patch mixed with ↵Luca Barbato2007-02-28
| | | | | | the nutdec patch Originally committed as revision 8158 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reverting stray commit part ILuca Barbato2007-02-28
| | | | Originally committed as revision 8157 to svn://svn.ffmpeg.org/ffmpeg/trunk
* get_packetheader() forgot to read the header_checksum in big packetsLuca Barbato2007-02-28
| | | | | | | patch from Clemens Ladisch cladisch AT fastmail dot net (stray base64 patch reverted in the next commits) Originally committed as revision 8156 to svn://svn.ffmpeg.org/ffmpeg/trunk
* This fixes error handling for BeOS, removing the need for some ifdefs.François Revol2007-02-13
| | | | | | | | | AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h. Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed. Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code. This also removes the need for berrno.h. Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move networking #includes into separate fileRamiro Polla2007-02-04
| | | | | | patch by Ramiro Polla angustia =a= arrozcru =d= no-ip =d= org Originally committed as revision 7817 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use more portable PRIu64Guillaume Poirier2007-01-25
| | | | Originally committed as revision 7707 to svn://svn.ffmpeg.org/ffmpeg/trunk
* The long awaited BeOS cleanup, phase 1François Revol2007-01-18
| | | | Originally committed as revision 7581 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add support for HTTP seekingRonald S. Bultje2007-01-14
| | | | | | | | | patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net % Original thread: Date: Jan 4, 2007 5:42 AM Subject: [Ffmpeg-devel] [PATCH/RFC] http seeking Originally committed as revision 7505 to svn://svn.ffmpeg.org/ffmpeg/trunk
* switch to common base64 routines in lavfRyan Martell2006-10-29
| | | | | | | | | Patch by Ryan Martell % rdm4 A martellventures P com % Original thread: Date: Oct 29, 2006 2:45 AM Subject: Re: [Ffmpeg-devel] [PATCH] Base64 code Originally committed as revision 6832 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-07
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix memleak, patch by I. Po % yyymmmm # gmail O com %I. Po2006-07-19
| | | | | | | | Original thread: Date: Jul 18, 2006 3:49 PM Subject: Re: [Ffmpeg-devel] [PATCH] http.c: http_connect() memleak Originally committed as revision 5785 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify b64_encode()Michael Niedermayer2006-07-18
| | | | | | maybe this should be moved to libavutil ... Originally committed as revision 5782 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-12
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-17
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* kill warnings patch by (Måns Rullgård <mru inprovide com>)Måns Rullgård2005-02-24
| | | | Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
* integer overflows, heap corruptionMichael Niedermayer2005-01-08
| | | | | | | possible arbitrary code execution cannot be ruled out in some cases precautionary checks Originally committed as revision 3813 to svn://svn.ffmpeg.org/ffmpeg/trunk
* HTTP Authentication Patch by (Petr Doubek <doubek at vision dot ee dot ethz ↵Petr Doubek2004-08-12
| | | | | | | | dot ch>) tested and submitted by (Torsten Spindler <spindler at hbt dot arch dot ethz dot ch>) Originally committed as revision 3381 to svn://svn.ffmpeg.org/ffmpeg/trunk
* sweeping change from -EIO -> AVERROR_IOMike Melanson2004-06-19
| | | | Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk
* no read loop tcp/http and http CRLF fix by (Leon van Stuivenberg <l dot ↵Michael Niedermayer2004-03-14
| | | | | | vanstuivenberg at chello dot nl>) Originally committed as revision 2885 to svn://svn.ffmpeg.org/ffmpeg/trunk