I've looked through code and mentioned some things that may cause this issue.

in 
http://savonet.rastageeks.org/browser/trunk/liquidsoap/src/sources/harbor_input.ml?rev=head

100           let () =
101             let rec wait n =
102               let l,_,_ = Unix.select [socket] [] [] 1. in
103                 if l=[] then begin
104                   self#log#f 4 "No network activity for %d second(s)." n ;
105                   wait (n+1)
106                 end
107             in wait 1
108           in

seems to go in a loop as the closest events that brings the process out of the 
loop are socket error or EOF(which means correct end of stream), but not 
timeout.

maybe it will be usefull to set a timeout here that equals to (buffer*2)or 
(max*2)?

i could try it by myself, but OCaml is a new language for me and it can take a 
time to learn the basics of it...

------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to