commit | bd030d0a6796bf5c9e2db2ae7e2bcade5979516c | [log] [tgz] |
---|---|---|
author | AppaRao Puli <apparao.puli@linux.intel.com> | Fri Mar 20 03:34:29 2020 +0530 |
committer | AppaRao Puli <apparao.puli@linux.intel.com> | Wed Apr 22 01:34:10 2020 +0530 |
tree | b3dadb79872f17c78929eea3a9c08dc0a7f4b5a6 | |
parent | 1d44c8083853494fc7a3334e39d74a89de64ea09 [diff] |
Http client support Add Http client support to asynchronously open the TCP connection with client and send data(POST only). This doesn't have support to keep open connection alive and also re-attempt send message during fail cases. Tested: - Able to push data to HTTP server successfully. Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com> Change-Id: I2c1abf8ac4b002278377761d2dbc8b563808efcb
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.