fixed: HTSP directory client would use 100% cpus if tvheadend closed the network...
authorelupus <elupus@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Sun, 19 Jul 2009 16:14:17 +0000 (16:14 +0000)
committerelupus <elupus@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Sun, 19 Jul 2009 16:14:17 +0000 (16:14 +0000)
commitdbaa69fe0366bae2de8a2dfe32e9b6f7d07afb65
treeabc824c1c9d2d709f35489d5d87be66811c70e77
parenta33989e632a5e5803ed9b2a095356a9111dd276a
fixed: HTSP directory client would use 100% cpus if tvheadend closed the network connection
changed: no point in waiting for timeout when reading the actual htsp message as should that timeout all would break
changed: instead of CHTSPSession::ReadMessage returning null on timeout, return an empty message
changed: use proper CLog instead of printf to write HTSP stream errors

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport@21777 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
XBMC/xbmc/FileSystem/HTSPDirectory.cpp
XBMC/xbmc/FileSystem/HTSPSession.cpp