Statistics
| Branch: | Revision:

ffmpeg / libavformat / http.c @ 72415b2a

History | View | Annotate | Download (12.3 KB)

# Date Author Comment
9405f733 03/24/2010 10:32 PM Martin Storsjö

Split out http authentication handling into a separate file

This prepares for adding support for more authentication methods

Originally committed as revision 22660 to svn://svn.ffmpeg.org/ffmpeg/trunk

e4a9e3cc 03/14/2010 11:59 PM Aurelien Jacobs

move ff_url_split() and ff_url_join() declarations to internal.h
those functions are not part of the public API

Originally committed as revision 22534 to svn://svn.ffmpeg.org/ffmpeg/trunk

f984dcf6 03/08/2010 09:05 AM Martin Storsjö

Reindent

Originally committed as revision 22322 to svn://svn.ffmpeg.org/ffmpeg/trunk

c5c6e67c 03/08/2010 09:03 AM Martin Storsjö

Rename url_split to ff_url_split

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

57b5555c 03/05/2010 10:35 PM Martin Storsjö

Use ff_url_join for assembling URLs, instead of snprintf

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

08c8e66a 01/13/2010 11:27 PM Baptiste Coudurier

restore old buffer content when seek failed in http protocol, fix issue #1631

Originally committed as revision 21208 to svn://svn.ffmpeg.org/ffmpeg/trunk

2edabfdf 01/12/2010 04:36 PM Ronald S. Bultje

Reindent after r21166.

Originally committed as revision 21167 to svn://svn.ffmpeg.org/ffmpeg/trunk

08f7a8ac 01/12/2010 04:36 PM Tomas Härdin

Use chunked encoding for HTTP uploads. Patch by Tomas Härdin
<$firstname.$lastname()codemill,se>.

Originally committed as revision 21166 to svn://svn.ffmpeg.org/ffmpeg/trunk

7995ed8e 06/23/2009 03:38 PM Peter Holik

Add support for "chunked" data blocks. Patch by Peter Holik (peter holik at).

Originally committed as revision 19256 to svn://svn.ffmpeg.org/ffmpeg/trunk

a52dc730 06/06/2009 05:32 PM Peter Holik

Cosmetics : Use dprintf instead of printf.
Patch by Peter Holik < $firstname @ $lastname . at >

Originally committed as revision 19126 to svn://svn.ffmpeg.org/ffmpeg/trunk

2b01a520 06/06/2009 04:46 PM Jai Menon

Cosmetics : Fix indentation after last commit.

Originally committed as revision 19125 to svn://svn.ffmpeg.org/ffmpeg/trunk

682d49f4 06/06/2009 04:44 PM Peter Holik

Introduce http_get_line and modify http_connect to use http_get_line.
Patch by Peter Holik <$firstname @ $lastname . at>

Originally committed as revision 19124 to svn://svn.ffmpeg.org/ffmpeg/trunk

f0a80394 03/03/2009 05:04 PM Ronald S. Bultje

Add url_get_file_handle(), which is used to get the file descriptor
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...

d176f903 03/03/2009 01:26 PM Ronald S. Bultje

Reduce allocated length of the HTTP authentication request field buffer, as
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...

406792e7 01/19/2009 03:46 PM Diego Biurrun

cosmetics: Remove pointless period after copyright statement non-sentences.

Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk

bc5c918e 10/03/2008 10:16 AM Diego Biurrun

Remove offset_t typedef and use int64_t directly instead.
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

245976da 05/09/2008 11:56 AM Diego Biurrun

Use full path for #includes from another directory.

Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk

2907abed 02/02/2008 10:03 PM Reimar Döffinger

Remove a pointless cast.

Originally committed as revision 11819 to svn://svn.ffmpeg.org/ffmpeg/trunk

b630a39e 02/02/2008 08:58 PM Reimar Döffinger

Missing 'const' in cast.

Originally committed as revision 11814 to svn://svn.ffmpeg.org/ffmpeg/trunk

359154bc 12/28/2007 03:32 AM Michael Niedermayer

Revert hack which should have never been commited.
------------------------------------------------------------------------
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...
a5e979f4 11/22/2007 02:27 AM Ramiro Polla

os_support.h is also needed for usleep and lseek on MinGW.

Originally committed as revision 11075 to svn://svn.ffmpeg.org/ffmpeg/trunk

6f3e0b21 07/19/2007 03:23 PM Panagiotis Issaris

Replace all occurrences of AVERROR_IO with AVERROR.

Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk

f7d78f36 06/24/2007 11:27 AM Måns Rullgård

replace the uses of old string functions that Reimar missed

Originally committed as revision 9406 to svn://svn.ffmpeg.org/ffmpeg/trunk

75e61b0e 06/23/2007 11:10 PM Måns Rullgård

use new string functions
based on patch by Reimar Döffinger

Originally committed as revision 9401 to svn://svn.ffmpeg.org/ffmpeg/trunk

c8df9c63 05/17/2007 10:30 AM Alex Beregszaszi

Use usleep instead of sleep, some MinGW versions lack sleep.

Originally committed as revision 9044 to svn://svn.ffmpeg.org/ffmpeg/trunk

e42dba48 04/07/2007 02:09 PM Diego Biurrun

typos/grammar

Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk

bd03c380 03/19/2007 12:48 AM Luca Barbato

expose av_base64_decode and av_base64_encode

Originally committed as revision 8448 to svn://svn.ffmpeg.org/ffmpeg/trunk

ecb4a895 03/12/2007 02:51 PM Ronald S. Bultje

Properly initialize filesize during input buffer initialization.
patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 8343 to svn://svn.ffmpeg.org/ffmpeg/trunk

7b19aa64 03/06/2007 01:38 PM Alex Beregszaszi

handle http error codes

Originally committed as revision 8272 to svn://svn.ffmpeg.org/ffmpeg/trunk

167c5531 03/04/2007 11:59 AM Ronald S. Bultje

Close connection on EOF
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....

a3fd2bd8 03/04/2007 11:52 AM Ronald S. Bultje

make HTTP MOVED messages also work in ffmpeg (302 is essentially the same as 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

558b86a5 02/28/2007 03:40 AM Luca Barbato

Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch

Originally committed as revision 8158 to svn://svn.ffmpeg.org/ffmpeg/trunk

9fca9c03 02/28/2007 03:37 AM Luca Barbato

Reverting stray commit part I

Originally committed as revision 8157 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb0eb714 02/28/2007 03:28 AM Luca Barbato

get_packetheader() forgot to read the header_checksum in big packets
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

8fa36ae0 02/13/2007 06:26 PM François Revol

This fixes error handling for BeOS, removing the need for some ifdefs.
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....

42572ef5 02/04/2007 05:05 PM Ramiro Polla

move networking #includes into separate file
patch by Ramiro Polla angustia =a= arrozcru =d= no-ip =d= org

Originally committed as revision 7817 to svn://svn.ffmpeg.org/ffmpeg/trunk

706c0d65 01/25/2007 10:01 AM Guillaume Poirier

use more portable PRIu64

Originally committed as revision 7707 to svn://svn.ffmpeg.org/ffmpeg/trunk

e9d511dc 01/18/2007 05:22 PM François Revol

The long awaited BeOS cleanup, phase 1

Originally committed as revision 7581 to svn://svn.ffmpeg.org/ffmpeg/trunk

fb2b4fc5 01/14/2007 10:02 PM Ronald S. Bultje

add support for HTTP seeking
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

a7c6aa73 10/29/2006 11:53 AM Ryan Martell

switch to common base64 routines in lavf
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

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk

cfc4bd46 07/19/2006 08:06 AM I. Po

Fix memleak, patch by I. Po % yyymmmm # gmail O com %
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

7028259a 07/18/2006 06:51 PM Michael Niedermayer

simplify b64_encode()
maybe this should be moved to libavutil ...

Originally committed as revision 5782 to svn://svn.ffmpeg.org/ffmpeg/trunk

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

88730be6 02/24/2005 07:08 PM Måns Rullgård

kill warnings patch by (Måns Rullgård <mru inprovide com>)

Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk

568e18b1 01/08/2005 02:21 PM Michael Niedermayer

integer overflows, heap corruption
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

6ba5cbc6 08/12/2004 12:09 AM Petr Doubek

HTTP Authentication Patch by (Petr Doubek <doubek at vision dot ee dot ethz 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

0bd586c5 06/19/2004 03:59 AM Mike Melanson

sweeping change from -EIO -> AVERROR_IO

Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk

9eef2b77 03/14/2004 02:59 AM Michael Niedermayer

no read loop tcp/http and http CRLF fix by (Leon van Stuivenberg <l dot vanstuivenberg at chello dot nl>)

Originally committed as revision 2885 to svn://svn.ffmpeg.org/ffmpeg/trunk

4250dafc 12/08/2003 05:50 PM Alex Beregszaszi

using LIBAVFORMAT_IDENT

Originally committed as revision 2575 to svn://svn.ffmpeg.org/ffmpeg/trunk

4358d5de 09/08/2003 08:04 PM Fabrice Bellard

removed ctype.h header

Originally committed as revision 2225 to svn://svn.ffmpeg.org/ffmpeg/trunk

ce2749d2 03/09/2003 04:07 PM Alex Beregszaszi

simplified

Originally committed as revision 1655 to svn://svn.ffmpeg.org/ffmpeg/trunk

0c1a9eda 02/11/2003 04:35 PM Zdenek Kabelac
  • UINTX -> uintx_t INTX -> intx_t

Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk

abac6175 11/25/2002 07:07 PM Fabrice Bellard

renamed libav to libavformat

Originally committed as revision 1276 to svn://svn.ffmpeg.org/ffmpeg/trunk