GitPedia

Httpserver

Http server is written on C++14 language. Dynamic libraries act as applications for the server (*.so - linux, *.dll - windows).

From awwit·Updated May 9, 2026·View on GitHub·

Dynamic libraries act as applications for the server (\*.so - linux, \*.dll - windows). Library connection takes place in the configuration file [samples/apps.conf](samples/apps.conf) by using the parameter `server_module`. The project is written primarily in C++, distributed under the GNU Affero General Public License v3.0 license, first published in 2014. Key topics include: c-plus-plus, http, http2, https, httpserver.

httpserver

Http server is written on C++14 language.

Dynamic libraries act as applications for the server
(*.so - linux, *.dll - windows).
Library connection takes place in the configuration file
samples/apps.conf
by using the parameter server_module.

Sample application code: https://github.com/awwit/httpserverapp

Features

This http server support:

  • HTTP v1.1
  • HTTPS (TLS)
  • HTTP v2 (need optimize cleanup of streams)
  • Keep-Alive
  • WebSocket
  • X-Sendfile (header)
  • Get-Parted requests

Dependencies

Common:

Linux: dl, pthread, rt, gnutls

Windows: ws2_32.lib, libgnutls.dll.a

Build

Linux:

sh
git clone https://github.com/awwit/httpserver.git cd httpserver make

or

sh
git clone https://github.com/awwit/httpserver.git cd httpserver mkdir build cd build qbs build -f ./../projects/qt-creator/httpserver.qbs release

Windows:

sh
git clone https://github.com/awwit/httpserver.git cd httpserver mkdir build cd build devenv ./../projects/msvs/httpserver.sln /build

Server start

sh
./httpserver --start

Configuration files must be located in the working (current) directory.
Or input a parameter --config-path=<path> to set the directory with configuration files.

Use the parameter --server-name=<name> to define the name of web-server's instance.
Instances can be used to run web-servers with different settings.

Server configuration

Server (and its applications) setting is made using config-files.
Examples of settings are located in the folder samples.

License

The source codes are licensed under the
AGPL,
the full text of the license is located in the LICENSE file.

Contributors

Showing top 2 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from awwit/httpserver via the GitHub API.Last fetched: 6/23/2026