aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux/http.c
Commit message (Collapse)AuthorAge
* introduce new 'stream' directory for all stream layer related components and ↵Gravatar ben2006-07-31
| | | | | | split them from libmpdemux git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19277 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variables, patch by Stefan Huehner stefan at huehner org.Gravatar diego2006-07-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18963 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary casts from void* - part 3Gravatar reynaldo2006-07-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18884 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix potential integer overflows in memory allocation.Gravatar rtogni2006-06-04
| | | | | | | Patch by Rich and me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18559 b3059339-0415-0410-9bf9-f77b7e298cf2
* free memory on error in http_add_basic_authenticationGravatar reimar2006-04-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18095 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert all if(verbose>X) to mp_msg_test calls.Gravatar diego2006-03-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix base64 encoding for basic auth according to RFC.Gravatar reimar2006-03-08
| | | | | | | Patch by Jeff D'Angelo (jcd+mplayer at psu edu). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17779 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \Gravatar rathann2006-02-09
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add another content-type for aac audio in shoutcast streamsGravatar rtognimp2005-11-08
| | | | | | | Fixes http://www.digitallyimported.com/aacplus/goapsy.pls git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16949 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix typos: aslo->also, falback->fallback (they were just too annoying *g*)Gravatar reimar2005-11-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16933 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use correct demuxer type for aac in shoutcast streamsGravatar rtognimp2005-11-05
| | | | | | | | (content-type="audio/aacp"). Fixes http://160.79.128.40:7040 (it does not work with internal faad) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16918 b3059339-0415-0410-9bf9-f77b7e298cf2
* another url_free that shouldn't be commented out.Gravatar reimar2005-09-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16615 b3059339-0415-0410-9bf9-f77b7e298cf2
* memleak fixes when invalid http url specified.Gravatar reimar2005-09-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16418 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some ICY servers (e.g. http://broadcast.spnet.net:8000/darikhigh) do not setGravatar reimar2005-07-24
| | | | | | | the protocol correctly, so look for icy-metaint in the response instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16079 b3059339-0415-0410-9bf9-f77b7e298cf2
* Multiple unsv/scast bug fixes.Gravatar reimar2005-07-23
| | | | | | | | | * use recv instead of read for MinGW compatibility * detect EOF more reliably * use ultravox only for unsv:// instead of trying autodetection git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16071 b3059339-0415-0410-9bf9-f77b7e298cf2
* Forgotten doxygen commentsGravatar reimar2005-07-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16033 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ultravox improvements according to specs (didn't know they existed *g*)Gravatar reimar2005-07-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16032 b3059339-0415-0410-9bf9-f77b7e298cf2
* SHOUTcast and ultravox supportGravatar reimar2005-07-19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16014 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove code that is already done by fixup_network_stream_cache.Gravatar reimar2005-06-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15733 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change header order to avoid compile error because of STREAM_SEEKGravatar reimar2005-06-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15615 b3059339-0415-0410-9bf9-f77b7e298cf2
* ported all network streams to the new APIGravatar nicodvb2005-05-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15586 b3059339-0415-0410-9bf9-f77b7e298cf2
* free http field_name to fix memleakGravatar reimar2005-01-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14461 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix url escaping and avoid double escapeGravatar rtognimp2004-05-01
| | | | | | | Patch by adland, approved by Bertrand Baudet git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12392 b3059339-0415-0410-9bf9-f77b7e298cf2
* remote exploitable heap overflow fix by ("blexim" <blexim at hush dot com>)Gravatar michael2004-03-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12084 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removed hard coded value for the length of the header separator.Gravatar bertrand2002-11-13
| | | | | | | Used the value previous detected. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8180 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check if realloc failed on http_hdr->buffer instead of ptr in ↵Gravatar bertrand2002-09-07
| | | | | | | | | http_response_append, and got rid of ptr which wasn't used anymore. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7305 b3059339-0415-0410-9bf9-f77b7e298cf2
* - simpler http_response_append (uses realloc())Gravatar arpi2002-09-06
| | | | | | | | | | - http_response_append addes extra 0 byte to close teh string (some functions like http_is_header_entire() use standard string functions like strstr which requires trailing zero) - check for NULL string in http_is_header_entire() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7294 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added base64 encoderGravatar bertrand2002-06-23
| | | | | | | Added http basic authentication git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6515 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removed unecessary malloc and memcpy.Gravatar bertrand2002-06-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6466 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert printf to mp_msg in the network layerGravatar albeu2002-04-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5916 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed the http response parser when the http header only has the HTTPGravatar bertrand2002-02-23
| | | | | | | | answer and no field. Fixed some compiler warnings. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4817 b3059339-0415-0410-9bf9-f77b7e298cf2
* Modified the output of the http_debug function.Gravatar bertrand2002-01-23
| | | | | | | Fixed a bug in the reading of the "reason answer" git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4312 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l...Gravatar arpi2001-12-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3786 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix == cleanupGravatar arpi2001-12-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3785 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle broken server that doesn't send CRLF but jusr LF.Gravatar bertrand2001-12-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3515 b3059339-0415-0410-9bf9-f77b7e298cf2
* Made the HTTP request escaped the url.Gravatar bertrand2001-12-14
| | | | | | | This now allow for example the spaces in the URL. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3498 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removed the field number limitation.Gravatar bertrand2001-11-20
| | | | | | | We can add as much field as we want. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3040 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added ASF http server streaming (Not mms streaming).Gravatar bertrand2001-10-26
| | | | | | | | Fixed one bug in the ASF mms streaming. Fixed a typo in http. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2490 b3059339-0415-0410-9bf9-f77b7e298cf2
* libdemuxer...Gravatar arpi2001-10-20
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2311 b3059339-0415-0410-9bf9-f77b7e298cf2