summaryrefslogtreecommitdiff
path: root/http
AgeCommit message (Collapse)AuthorFilesLines
2019-10-30Get rid of a nasty macroEd Tanous1-26/+56
Now that we have constexpr if, clean this check up a bit Tested: no functional change Change-Id: Ia3541b056a502b0136c89c7e543ddc0b708f722b Signed-off-by: Ed Tanous <ed.tanous@intel.com> Signed-off-by: James Feist <james.feist@linux.intel.com>
2019-10-23Fix the websocket handshakeRatan Gupta1-3/+7
If bmcweb is compiled with NON SSL mode then HTTP/websocket connection upgrade was not happening This commit fixes this behavior TestedBy: Sent a websocket request in non secure mode and the websocket handshake was working ws://{ip}/vm/0/0 to verify this Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com> Change-Id: I33ca950cedf591f66f4d68514d48d3b9c9fec421
2019-10-23Prohibit making connection based on old CA cert.Zbigniew Lukwinski1-0/+8
This is fix for issue #107. Tested: Reproduction steps from #107 was followed. mTLS way of authentication was used. As a result connection try based on user certificate generated from already replaced CA certificate was dropped. Bmcweb didn't allow make such connection. Change-Id: I4709927b5fc108e5b26b7db1981ae77c6aa8a5bf Signed-off-by: Zbigniew Lukwinski <zbigniew.lukwinski@linux.intel.com>
2019-10-18Make references to crow less obviousEd Tanous14-0/+4637
Recently, a number of people in the community have made the (admittedly easy) mistake that we use a significant portion of crow. Today, we use crow for the router, and the "app" structure, and even those have been significantly modified to meet the bmc needs. All other components have been replaced with Boost beast. This commit removes the crow mentions from the Readme, and moves the crow folder to "http" to camouflage it a little. No code content has changed. Tested: Code compiles. No functional change made to any executable code. Signed-off-by: Ed Tanous <ed.tanous@intel.com> Change-Id: Iceb57b26306cc8bdcfc77f3874246338864fd118