mbox series

[0/5] Introduce generic Uploader

Message ID 20240309151159.8426-1-stefano.babic@swupdate.org
Headers show
Series Introduce generic Uploader | expand

Message

Stefano Babic March 9, 2024, 3:11 p.m. UTC
This introduces a generic uploader that takes an artifact and upload to
an URL. It reuses and generalizes the swuforwarder handler, making no
assumption that the counterpart must be a SWUpdate system running
the integrated Mongoose Webserver. Only HTTP(S) is supported. The Webserver
must support websocckets, but the protocol is free and not bound to
SWUpdate's messages.

Stefano Babic (5):
  lua: add wrapper for handlers
  swuforwarder: fix return error
  BUG: swuforwarder: SEGV for malformed URL
  swuforward: add generic uploader
  doc: extend swuforward documentation

 corelib/lua_interface.c       |  36 +++++++++++
 doc/source/handlers.rst       |  43 +++++++++++++
 handlers/swuforward-ws.c      | 111 +++++++++++++++++++++++++---------
 handlers/swuforward_handler.c |  17 ++++++
 handlers/swuforward_handler.h |   3 +
 include/lua_util.h            |  17 ++++++
 6 files changed, 197 insertions(+), 30 deletions(-)

--
2.34.1