#264: output restart failure
----------------------------+-----------------------------------------------
  Reporter:  romeodeepmind  |       Owner:  admin    
      Type:  Bugs           |      Status:  reopened 
  Priority:  1              |   Milestone:           
 Component:  Liquidsoap     |     Version:  0.9.0+svn
Resolution:                 |    Keywords:           
       Mac:  1              |       Linux:  1        
    Netbsd:  1              |       Other:  1        
   Freebsd:  1              |  
----------------------------+-----------------------------------------------

Comment(by romeodeepmind):

 i have noticed one more difference between [6533] and [6535]

 in [6535] i have disconnects after every end of track.
 {{{
 2009/04/18 22:03:44 [src_4695:3] New metadata chunk "? --
 www.NightParty.ru"
 2009/04/18 22:03:48 [src_4695:4] End of track.
 2009/04/18 22:03:48 [vko_relay64:2] Cry socket error: timeout, network
 failure, server shutdown? Restarting the output in 10 seconds.
 2009/04/18 22:03:48 [vko_relay128:2] Cry socket error: timeout, network
 failure, server shutdown? Restarting the output in 10 seconds.
 2009/04/18 22:03:48 [vko_relay192:2] Cry socket error: timeout, network
 failure, server shutdown? Restarting the output in 10 seconds.
 <...>
 2009/04/18 22:11:07 [src_4695:3] New metadata chunk "? -- Liliya - РўС‹ Рё
 СЏ"
 2009/04/18 22:11:11 [src_4695:4] End of track.
 2009/04/18 22:11:11 [vko_relay64:2] Cry socket error: timeout, network
 failure, server shutdown? Restarting the output in 10 seconds.
 2009/04/18 22:11:11 [vko_relay128:2] Cry socket error: timeout, network
 failure, server shutdown? Restarting the output in 10 seconds.
 2009/04/18 22:11:11 [vko_relay192:2] Cry socket error: timeout, network
 failure, server shutdown? Restarting the output in 10 seconds.
 }}}
 the only reason for it that i can see in diff is line 324 - 329.

 {{{
 323          let ret = f 0 [] in
         324          if List.length ret = 0 then
         325            raise (Error Read)
         326          else
         327            List.rev (f 0 [])
 321     328       with
 322     329          | _ -> raise (Error Read)
 }}}
 why do we rise exceptions when list is empty? i think this somehow causes
 reconnects

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/264#comment:31>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac

Reply via email to