reimar
bcc2517604
free http field_name to fix memleak
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14461 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-11 17:49:59 +00:00
rtognimp
0fec6dd1e3
Fix url escaping and avoid double escape
...
Patch by adland, approved by Bertrand Baudet
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12392 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-01 23:35:25 +00:00
michael
ec18d784f3
remote exploitable heap overflow fix by ("blexim" <blexim at hush dot com>)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12084 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-30 10:58:41 +00:00
bertrand
76b6eea434
Removed hard coded value for the length of the header separator.
...
Used the value previous detected.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8180 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-13 09:02:55 +00:00
bertrand
e620b2a53c
Check if realloc failed on http_hdr->buffer instead of ptr in 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
2002-09-07 08:15:57 +00:00
arpi
9954e006ae
- simpler http_response_append (uses realloc())
...
- 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
2002-09-06 00:03:16 +00:00
bertrand
f83fbf33c3
Added base64 encoder
...
Added http basic authentication
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6515 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 09:16:08 +00:00
bertrand
91cdc3a596
Removed unecessary malloc and memcpy.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6466 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-20 07:58:52 +00:00
albeu
f76db05d53
Convert printf to mp_msg in the network layer
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5916 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-30 16:58:54 +00:00
bertrand
646c35a06e
Fixed the http response parser when the http header only has the HTTP
...
answer and no field.
Fixed some compiler warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4817 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-23 07:31:45 +00:00
bertrand
fcc41f6043
Modified the output of the http_debug function.
...
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
2002-01-23 08:46:22 +00:00
arpi
fc8277500b
10l...
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3786 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-27 02:02:03 +00:00
arpi
9f9882d01b
warning fix == cleanup
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3785 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-27 01:53:25 +00:00
bertrand
8b26a9a6c9
Handle broken server that doesn't send CRLF but jusr LF.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3515 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-16 07:40:52 +00:00
bertrand
ea70f366b1
Made the HTTP request escaped the url.
...
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
2001-12-14 23:50:57 +00:00
bertrand
9ea246653a
Removed the field number limitation.
...
We can add as much field as we want.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3040 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-20 22:14:16 +00:00
bertrand
1e7d31cc88
Added ASF http server streaming (Not mms streaming).
...
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
2001-10-26 18:26:06 +00:00
arpi
881e5d0783
libdemuxer...
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2311 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-20 18:49:08 +00:00