One thing I did noticed when looking at the code is that the
'socket_reader' function seems to expect the input buffer to be one-line
only, and not a block (buf could be a block when reading data from the
socket).

As a result upstart_emit_event can emit 'buf' containing more than one
event at the same time (including "\n"), which might cause issues later
on.

As I'm not that familiar with the code, will let James to comment on the
subject.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1234898

Title:
  upstart-local-bridge not handling all events sent to it

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1234898/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to