civetweb 支持 mebdtls

1.civetweb support mbedtls

由于civetweb不支持mbedtls,所以写了个demo, civetweb v1.11支持mebedtls v2.16.2

github: https://github.com/Qinch/civetweb/tree/v1.11-mbedtls

2. run.sh

1
2
3
make build COPT="-DNO_CGI -DNO_SSL -DMG_MBEDTLS -I./" LDFLAGS="-L./mbedlib"
export LD_LIBRARY_PATH=./mbedlib:$LD_LIBRARY_PATH
./civetweb -listening_ports 2222,2221s -document_root ./webs