close
The Wayback Machine - https://web.archive.org/web/20190504011738/https://github.com/criticalstack/libevhtp
Skip to content
Create extremely-fast and secure embedded HTTP servers with ease.
Branch: develop
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Image .github Update issues template. Oct 27, 2017
Image build minor updates for pull #33 Sep 20, 2017
Image cmake Modernize CMake build Mar 18, 2018
Image compat/sys compat queue.h BSD-only move. Dec 15, 2011
Image dist http access-log API Aug 7, 2018
Image examples check for SO_ATTACH_REUSEPORT_CBPF decl Feb 7, 2019
Image include Release v1.2.18, see ChangeLog for details Feb 6, 2019
Image .gitignore Make github stop bitching about newlines. Sep 20, 2017
Image .travis.yml Added travis.ci gitter webhook. Apr 15, 2018
Image .ycm_extra_conf.py cleanups / added uncrustify configurations Jul 9, 2018
Image CMakeLists.txt Release v1.2.18, see ChangeLog for details Feb 6, 2019
Image ChangeLog Release v1.2.18, see ChangeLog for details Feb 6, 2019
Image Doxyfile update version in Doxyfile Nov 19, 2017
Image LICENSE Update LICENSE Apr 18, 2018
Image README.md update readme / iovec optimizations Feb 7, 2019
Image evhtp.c update readme / iovec optimizations Feb 7, 2019
Image evhtp.pc.in Install into <installdir>/include/evhtp/*.h Mar 20, 2015
Image log.c access-log API finalization / cleanups and overhauls Aug 9, 2018
Image numtoa.c General housecleaning and small bugfixes Mar 23, 2018
Image parser.c
Image refcount.h [#81] use mutex_destroy on refcount.h Mar 27, 2018
Image sslutils.c better get0_notBefore ssl defs Jan 29, 2019
Image thread.c Feature/better thread distribution (#102) Jul 10, 2018
Image zimg_vs_nginx.png Does image linking work here? Mar 6, 2015

README.md

LOGO

Libevhtp

Build Status Gitter Packaging status

Coverity Scan Build Status

Required Dependencies

Optional Dependencies

Building

  • cd build
  • cmake ..
  • make
  • make examples

For Windows MinGW

  • cmake -G "MSYS Makefiles" -DCMAKE_INCLUDE_PATH=/mingw/include -DCMAKE_LIBRARY_PATH=/mingw/lib -DCMAKE_INSTALL_PREFIX=/mingw .
  • make

Performance stuff

While we never documented any benchmark publically, the popular open source project ZIMG did a bit of that for us.The ZIMG team decided to move away from NGINX to libevhtp for their software, and the results were pretty outstanding. Here is a graph showing their application under very high load

ZIMG GRAPH

The X-axis is the number of connections, while the Y-axis is requests per second.

You can read the whole article here: Architecture Design of an Image Server

Slightly outdated (Now faster!) HI NGINX

You can’t perform that action at this time.