summaryrefslogtreecommitdiff
path: root/event-httpd.h
AgeCommit message (Collapse)Author
2021-09-15event-httpd: parse request-line when receivedRussell King
Parse the request line when it is received and save any errors encountered which will be returned to the client after the headers have been received. Signed-off-by: Russell King <rmk@armlinux.org.uk>
2021-09-11event-httpd: make GString argument constRussell King
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>
2021-04-16event-httpd: add event httpd supportRussell King
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>