Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
I don't think this actually matters, but I'm now paranoid about poll() not
waking up on input for any reason.
|
|
This was problematic because using fdopen() conflicts with poll(). If the FILE
ends up reading more than is actually processed by serd, then poll will not
fire because the socket file descriptor has been fully read, even though there
is pending input in the FILE object (which is buffered).
Avoid this by using a custom read function and calling recv() directly. In
retrospect, this was stupid, but it seemed convenient to be able to use the
handy built-in support for reading from a FILE in serd.
Now, the client and server are using send() and recv() directly on the socket,
as things should be. I am not sure if MSG_WAITALL is the best idea here, or if
it's really important at all, but it seems like a good idea.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5735 a436a847-0d15-0410-975c-d299462d15a1
|
|
This allows referring to non-graph items, which are converted to
bundle-relative URIs on save, resolving issue #1049.
Change root graph URI to ingen:/graph.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5687 a436a847-0d15-0410-975c-d299462d15a1
|
|
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5683 a436a847-0d15-0410-975c-d299462d15a1
|
|
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5535 a436a847-0d15-0410-975c-d299462d15a1
|