Commit Graph

9 Commits

Author SHA1 Message Date
albeu a059a420e9 Fix seeking with cache enabled on systems using fork().
The first data connection was opened at open time which
happend in the main process. This prevented properly closing
the connection on later seeks as they happend in the child
process and the fd was still open in the parent process.
The fix delay opening the data connection upon the first
fill_buffer/seek.
Also remove some code duplication, add a timeout on read
from the control connection and a few other small fixes.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17855 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-13 16:56:10 +00:00
diego 36e1974be0 Unify include path handling, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-18 14:39:25 +00:00
gpoirier d4e6ecfd6a Make FtpSendCmd() function more user friendly by making it append the necessary "\r\n" line break (instead of the caller)
Patch by Zuxy Meng < zuxy POIS meng AH gmail POIS com >
Original thread:
Date: Oct 14, 2005 1:01 PM
Subject: [MPlayer-dev-eng] [PATCH] More user friendly ftp error


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16762 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-14 12:35:30 +00:00
reimar 169416fd51 Use PRI?64 defines as format strings for 64 bit variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16751 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-13 18:33:56 +00:00
gpoirier f60c6132c2 Typo fix: RFC959 says that FTP commands should end with a carriage return
followed by a line feed.
Patch by Zuxy < zuxy POIS meng AH gmail POIS com>
Original thread:
Date: Oct 10, 2005 10:08 AM
Subject: [MPlayer-dev-eng] [PATCH] Typo in libmpdemux/stream_ftp.c


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16720 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-10 12:56:17 +00:00
faust3 eb9e2a3e24 fix compilation on mingw
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10640 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-17 11:07:18 +00:00
albeu 885a331074 Forgot #include <sys/socket.h>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10636 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-16 22:21:12 +00:00
faust3 e90b00e609 ftp support for mingw
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10628 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-16 10:53:44 +00:00
albeu 755e127c26 ftp support. The change on connect2Server is needed bcs we need 2
different level of verbosity for control and data connections.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10626 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-15 19:13:23 +00:00