aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/http.c
Commit message (Collapse)AuthorAgeFilesLines
* Reindent after r21166.Ronald S. Bultje2010-01-121-1/+1
| | | | 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-121-2/+35
| | | | | | <$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-231-1/+31
| | | | Originally committed as revision 19256 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics : Use dprintf instead of printf.Peter Holik2009-06-061-8/+6
| | | | | | 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-061-7/+7
| | | | 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-061-15/+27
| | | | | | 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-031-0/+8
| | | | | | | | | | | 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-031-1/+1
| | | | | | | | | | | | | 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-191-1/+1
| | | | 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-031-4/+4
| | | | | | | 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-091-3/+3
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove a pointless cast.Reimar Döffinger2008-02-021-1/+1
| | | | Originally committed as revision 11819 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Missing 'const' in cast.Reimar Döffinger2008-02-021-1/+1
| | | | Originally committed as revision 11814 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert hack which should have never been commited.Michael Niedermayer2007-12-281-1/+0
| | | | | | | | | | ------------------------------------------------------------------------ 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-221-0/+1
| | | | Originally committed as revision 11075 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurrences of AVERROR_IO with AVERROR(EIO).Panagiotis Issaris2007-07-191-5/+5
| | | | 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-241-2/+2
| | | | Originally committed as revision 9406 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use new string functionsMåns Rullgård2007-06-231-1/+2
| | | | | | 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-171-1/+1
| | | | Originally committed as revision 9044 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typos/grammarDiego Biurrun2007-04-071-2/+2
| | | | Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
* expose av_base64_decode and av_base64_encodeLuca Barbato2007-03-191-2/+3
| | | | Originally committed as revision 8448 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Properly initialize filesize during input buffer initialization.Ronald S. Bultje2007-03-121-0/+1
| | | | | | 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-061-0/+3
| | | | Originally committed as revision 8272 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Close connection on EOFRonald S. Bultje2007-03-041-0/+1
| | | | | | | | | | | | | 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-041-1/+1
| | | | | | | | | | | 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-281-0/+348
| | | | | | the nutdec patch Originally committed as revision 8158 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reverting stray commit part ILuca Barbato2007-02-281-351/+0
| | | | 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-281-2/+5
| | | | | | | 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-131-1/+1
| | | | | | | | | 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-041-5/+1
| | | | | | 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-251-1/+1
| | | | Originally committed as revision 7707 to svn://svn.ffmpeg.org/ffmpeg/trunk
* The long awaited BeOS cleanup, phase 1François Revol2007-01-181-5/+1
| | | | Originally committed as revision 7581 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add support for HTTP seekingRonald S. Bultje2007-01-141-25/+92
| | | | | | | | | 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-291-36/+2
| | | | | | | | | 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-071-4/+6
| | | | | | 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-191-1/+4
| | | | | | | | 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-181-23/+9
| | | | | | 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-121-1/+1
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-171-13/+13
| | | | 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-241-2/+2
| | | | Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
* integer overflows, heap corruptionMichael Niedermayer2005-01-081-4/+8
| | | | | | | 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-121-6/+55
| | | | | | | | 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-191-4/+4
| | | | 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-141-26/+16
| | | | | | vanstuivenberg at chello dot nl>) Originally committed as revision 2885 to svn://svn.ffmpeg.org/ffmpeg/trunk
* using LIBAVFORMAT_IDENTAlex Beregszaszi2003-12-081-2/+2
| | | | Originally committed as revision 2575 to svn://svn.ffmpeg.org/ffmpeg/trunk
* removed ctype.h headerFabrice Bellard2003-09-081-1/+0
| | | | Originally committed as revision 2225 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifiedAlex Beregszaszi2003-03-091-1/+1
| | | | Originally committed as revision 1655 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * UINTX -> uintx_t INTX -> intx_tZdenek Kabelac2003-02-111-3/+3
| | | | Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
* renamed libav to libavformatFabrice Bellard2002-11-251-0/+290
Originally committed as revision 1276 to svn://svn.ffmpeg.org/ffmpeg/trunk