commit | 3c27ed3bb4ce887d2bd691a69314fe71c6a95942 | [log] [tgz] |
---|---|---|
author | AppaRao Puli <apparao.puli@linux.intel.com> | Tue Mar 31 01:21:57 2020 +0530 |
committer | AppaRao Puli <apparao.puli@linux.intel.com> | Wed Apr 01 09:11:13 2020 +0000 |
tree | 2a2727a8c4e808dc7697308e6ff48b1cbc47cc4a | |
parent | f0af8594734a83a242d7a2af7accbd5ba45df1d9 [diff] |
minor fix: Add missing res.end() Add missing res.end() to avoid the hang/timeout. Tested: Enabled DBUS and unit tested specified code and observed no hang. Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com> Change-Id: I29457b9cebea4e2699c8227a46d1d5e06578a5bf
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.