commit | be5dfca5058ffe7667a34924f90523454f031b33 | [log] [tgz] |
---|---|---|
author | James Feist <james.feist@linux.intel.com> | Wed Jul 22 08:54:59 2020 -0700 |
committer | James Feist <james.feist@linux.intel.com> | Wed Jul 22 09:00:33 2020 -0700 |
tree | 696a840573f7bb5628a3804251d5b3baa2b6d6ef | |
parent | 1cb1a9e651c8a38ce3c60028a36c5d415d4afd79 [diff] |
Add read in progress check to timer Add it back so that slow connections can upload images. Tested: Firmware update still works. Change-Id: Ib674252b68297ad473de038069962e9c3202b486 Signed-off-by: James Feist <james.feist@linux.intel.com>
This component attempts to be a "do everything" embedded webserver for openbmc.
At this time, the webserver implements a few interfaces:
BMCWeb is configured by setting -D
flags that correspond to options in bmcweb/CMakeLists.txt
and then compiling. For example, cmake -DBMCWEB_ENABLE_KVM=NO ...
followed by make
. The option names become C++ preprocessor symbols that control which code is compiled into the program.
When BMCWeb starts running, it reads persistent configuration data (such as UUID and session data) from a local file. If this is not usable, it generates a new configuration.
When BMCWeb SSL support is enabled and a usable certificate is not found, it will generate a self-sign a certificate before launching the server. The keys are generated by the secp384r1
algorithm. The certificate
C=US, O=OpenBMC, CN=testhost
,SHA-256
algorithm.