Age | Commit message (Collapse) | Author |
|
g_data_input_stream_read_line_finish() returns a string that needs to
be freed when we are done with it. Ensure this happens.
Signed-off-by: Russell King <rmk@armlinux.org.uk>
|
|
Move the low-level resource object handling out of the interface
functions.
Signed-off-by: Russell King <rmk@armlinux.org.uk>
|
|
respond_chunk() does not change or take ownership of the GString, so
make this argument const.
Signed-off-by: Russell King <rmk@armlinux.org.uk>
|
|
Move the text/event-stream formatting to object_v1_update() from
object_v1_send() to avoid the formatting and memory allocation
overhead per client.
Signed-off-by: Russell King <rmk@armlinux.org.uk>
|
|
Split the install target into two separate rules so we can install just
the binary for updates.
Signed-off-by: Russell King <rmk@armlinux.org.uk>
|
|
Add event httpd, which is a small and basic http server designed to
provide server sent events to clients. The server accepts updates
through a simple "UPDATE" method which are then broadcast to clients
listening using the "GET" method.
Signed-off-by: Russell King <rmk@armlinux.org.uk>
|