#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 toots):
No, it must be an exception with List.hd called on an empty list, and I
know where this must come from.
However, I don't understand why you don't have a backtrace.
For the details, when parsing the data received through the network, you
can't stop reading at the first {{{\n}}} (newline) character, so I was
spliting the result and passing the resulting list.
Apparently, in some cases this list was empry, probably the connection
ended during reading. Hence, I now raise and exception in this case and
there should not be any call to List.hd on an empty list..
Fix commited.
--
Ticket URL: <http://savonet.rastageeks.org/ticket/264#comment:27>
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