Skip to content

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

License

Notifications You must be signed in to change notification settings

xiaoxiaokongyi/httpserver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)
  • Keep-Alive
  • WebSocket
  • Get-Parted requests
  • X-Sendfile (header)

Dependencies

Common:

Linux: dl, pthread, gnutls

Windows: ws2_32.lib, libgnutls.dll.a

Build

Linux:

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

Windows:

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

Server start

./httpserver --start

Configuration files must be located in the working (current) directory.

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.7%
  • QML 1.3%