This is a maintenance fork of libuhttpd
 
 
 
Go to file
Jianhui Zhao a393ce2b78 Update README
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-11-11 19:06:51 +08:00
cmake/Modules Begin support ssl 2017-11-09 18:05:32 +08:00
example New script used to automatically generate SSL certificate files 2017-11-11 17:10:22 +08:00
src New script used to automatically generate SSL certificate files 2017-11-11 17:10:22 +08:00
.gitignore New script used to automatically generate SSL certificate files 2017-11-11 17:10:22 +08:00
CMakeLists.txt Basically complete SSL support: Optional OpenSSL and CyaSSl(wolfssl) 2017-11-10 18:51:49 +08:00
CONTRIBUTING.md Update README 2017-11-10 19:16:47 +08:00
CONTRIBUTORS.md Update README 2017-11-10 19:16:47 +08:00
LICENSE Initial commit 2017-11-04 17:30:20 +08:00
README.md Update README 2017-11-11 19:06:51 +08:00
gen_cert.sh New script used to automatically generate SSL certificate files 2017-11-11 17:10:22 +08:00
openssl.cnf New script used to automatically generate SSL certificate files 2017-11-11 17:10:22 +08:00

README.md

libuhttp

A very tiny and fast HTTP library based on libev and http-parser for Embedded Linux.

Keep Watching for More Actions on This Space

Features

  • Tiny and fast
  • SSL support: Optional OpenSSL and CyaSSl(wolfssl)
  • Highly customizable, and can be easily integrated into your application

How To Compile on Ubuntu

Install dependency Tools and Libraries

sudo apt install cmake libev-dev libhttp-parser-dev

Compile libuhttp

git clone https://github.com/zhaojh329/libuhttp.git
cd libuhttp
mkdir build
cd build
cmake ../
make && sudo make install

Test

$ cd ../ && ./gen_cert.sh
$ ./build/example/helloworld

Then use the command curl or browser to access https://127.0.0.1:8000/test

$ curl -k https://127.0.0.1:8000/test -v

Example

Contributing

If you would like to help making libuhttp better, see the CONTRIBUTING.md file.

Thanks for the following project

If the project is helpful to you, please do not hesitate to star. Thank you!