C++ https libraries: Difference between revisions

From Bitpost wiki
No edit summary
Line 80: Line 80:
</tr>
</tr>
<tr style="height: 24px;">
<tr style="height: 24px;">
<td style="height: 24px;">lib<a href="http://www.gnu.org/software/libmicrohttpd/">microhttpd</a></td>
<td style="height: 24px;">[http://www.gnu.org/software/libmicrohttpd/ libmicrohttpd</td>
<td style="height: 24px;"></td>
<td style="height: 24px;"></td>
<td style="height: 24px;"></td>
<td style="height: 24px;"></td>
Line 90: Line 90:
</table>
</table>


== Simple-Web-Server ==
== [[Simple-Web-Server]] ==


== websocketpp ==
== websocketpp ==

Revision as of 16:32, 21 August 2016

Summary

LIBRARY ab MB/sec ab pages/sec SSL LABS SCORE EASE WS? COMMENTS
apache A 3 N need to write a module, apache remains in charge of message loop (unacceptable)
libwebsockets 7 Y
proxygen 7 only easy on ubuntu 14.04; huge kitchen sink of helpers
Simple-Web-Server  B 10 Y websockets in a seperate compatible project; may be able to leverage asio to improve score (capped by RC4); no forward secrecy; needed to provide better CRT chain (that's on me)
websocketpp  uses asio, specifies a "modern" mode that only allows TSL1.2
mongoose 3 messy ton of hand-crafted portability C code scared me off
onion looks like a strong C lib
[http://www.gnu.org/software/libmicrohttpd/ libmicrohttpd GNU c lib, not sure it supports modern algos, check score...

Simple-Web-Server

websocketpp

To install:

# on bitpost
m@bitpost ~/development $ git clone --bare --shared --mirror git@github.com:zaphoyd/websocketpp.git
# on melange or other client

# Fix up boost if you installed it with my normal install scripts,
# because the lib is going to look in hardcoded (boost)/stage/lib
cd ~/development/boost_1_61_0/stage
ln -s ../lib . 

cd ~/development
git clone bitpost.com:development/websocketpp
cd websocketpp
sudo apt-get install scons
export BOOST_ROOT=/home/m/development/boost_1_61_0
scons -j 4

proxygen

libwebsockets