History log of /system/webservd/webservd/dbus_protocol_handler.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6a803b4d27701d4c7f337b4fb0224d76549cbfa6 16-Oct-2015 Alex Vakulenko <avakulenko@google.com> webservd: Map request handlers to D-Bus service name requesting them

Change-Id: I857d21bd5ef7e709efba0550ef51d164f9f64e5c
/system/webservd/webservd/dbus_protocol_handler.h
75d6da24dedcbc090d23de60c4f1637c3a54b392 13-Oct-2015 Alex Vakulenko <avakulenko@google.com> webservd: Rename "chromeos" -> "brillo" in include paths and namespaces

libchromeos is transitioning to libbrillo and chromeos namespaces
and include directory is changing to brillo.

Bug: 24872993
Change-Id: Iba15692972a0c24ec87ac8e51d4eb032214149b0
/system/webservd/webservd/dbus_protocol_handler.h
330a10fd406a37af8f9c530d9b51dc5e25fcdceb 24-Sep-2015 Alex Vakulenko <avakulenko@google.com> Implement streaming I/O for response data

Sending response to an HTTP request is now using streaming I/O.
ProtocolHandler::CompleteRequest() now returns a file descriptor
for the write-end of a pipe and clients (request handlers) can
write to this file descriptor data at a rate it becomes available.
When expected amount of data is sent (or the pipe is closed on
the handler's end) the response is finalized.

Both normal (when data size is known) and chunked responses are
supported.

BUG: 24166746
Change-Id: Ie98cfa4262ba82941aaefd4c9bfd9986c784219c
/system/webservd/webservd/dbus_protocol_handler.h
950687bc6a52ee1571f5e0e00df8a09276ee9603 18-Sep-2015 Alex Vakulenko <avakulenko@google.com> Save uploaded files in multipart request to disk

Instead of keeping them in memory. Pass the file descriptor/file stream
to the handler process when asking for the uploaded file data.

BUG: 24166746
Change-Id: Ife4f5b4fa422d99272b15f6f02e4b3b515e4e3b4
/system/webservd/webservd/dbus_protocol_handler.h
34bc9df555456b0deab01296b1518dcc4cc3eada 20-Aug-2015 Christopher Wiley <wiley@google.com> Use generated DBus proxies/adaptors

Bug: 22388998
Change-Id: Ia7c26f3e9d9d8c90bce54acc82de0d991d46797b
/system/webservd/webservd/dbus_protocol_handler.h
35f6587840b71c8bd3e3655508b6f05cb2593ba9 18-Aug-2015 Daniel Erat <derat@google.com> Build for Android.

Add Android.mk files to build webservd and libwebserv, patch
the source to not use libminijail when __BRILLO__ is
defined, and update copyright information.

Also add pre-generated D-Bus bindings into a gen/ directory
to use until code generation is working.

Bug: 22828211
Change-Id: Ib6d06789c1a5a27b8ee4f85d5723b46973c1ddaa
/system/webservd/webservd/dbus_protocol_handler.h
5313123aeb9c1f35df26b3db17cff1566073fd78 14-Feb-2015 Alex Vakulenko <avakulenko@chromium.org> webserver: Use permission_broker to open TCP ports in firewall

Replaced the upstart script firewall rules with using
permission_broker which allows us to configure protocol handlers
based on the web server configuration file.

BUG=brillo:178
TEST=`FEATURES=test emerge-link webserver`
CQ-DEPEND=CL:250400

Change-Id: I13c35121db5a560172732f9c259745280bb6a9b6
Reviewed-on: https://chromium-review.googlesource.com/249924
Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
Trybot-Ready: Alex Vakulenko <avakulenko@chromium.org>
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
/system/webservd/webservd/dbus_protocol_handler.h
31a6379d5f773cb40312d2085e07f30cf3ac685d 03-Feb-2015 Alex Vakulenko <avakulenko@chromium.org> webserver: Move web server functionality into webservd

Moved libmicrohttpd from libwebserv to webservd daemon. Added the
D-Bus interface between the web server daemon and client library.

Updated privetd to use the new interface.

BUG=brillo:10
TEST=`FEATURES=test emerge-link libwebserv privetd`
CQ-DEPEND=CL:245780,CL:245118,CL:*195757

Change-Id: I26bfab64c6a0fd9460a47fd3fa9205c89abb943a
Reviewed-on: https://chromium-review.googlesource.com/245980
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
/system/webservd/webservd/dbus_protocol_handler.h