Summary: | LinuxSampler can be remotely shutdown | ||
---|---|---|---|
Product: | LinuxSampler | Reporter: | Grigor Iliev <gr.iliev> |
Component: | LSCP | Assignee: | Christian Schoenebeck <cuse> |
Status: | CLOSED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | SVN Trunk | ||
Hardware: | Other | ||
OS: | Linux | ||
Attachments: |
shutdown.c example
patch for lscpserver.cpp |
Description
Grigor Iliev
2005-05-29 18:28:25 CEST
Created attachment 8 [details]
shutdown.c example
It looks like that LinuxSampler exits when 'Broken pipe' error is provoked because by default send function sends SIGPIPE 'on errors on stream oriented sockets when the other end breaks the connection'. The easiest solution will be to use MSG_NOSIGNAL flag. Sending patch for lscpserver.cpp Created attachment 9 [details]
patch for lscpserver.cpp
Looks ok from my side. Go ahead and commit it! You have write access on the LS CVS module as well. Please read http://cvs.linuxsampler.org/developers.html if you haven't done already. That's a short readme for new developers. Fixed |