Skip to content

Commit 668a827

Browse files
committed
Added support of HTTPS (via gnutls)
Added support of comments in the config-files Changed the build system on QBS (for Linux)
1 parent 5d15c75 commit 668a827

31 files changed

+1178
-824
lines changed

README.md

Lines changed: 63 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,67 @@
11
httpserver
22
==========
33

4-
Http server on C++
4+
Http server is written on C++14 language.
55

6-
For C++ server applications (*.so - linux, *.dll - windows)
7-
See: https://github.com/awwit/httpserverapp
6+
Dynamic libraries act as applications for the server
7+
(* .so - linux, * .dll - windows).
8+
Library connection takes place in the configuration file
9+
[samples/apps.conf] [samples/apps.conf]
10+
by using the parameter `server_module`.
11+
12+
Sample application code: https://github.com/awwit/httpserverapp
13+
14+
Features
15+
--------
16+
17+
This http server support:
18+
19+
* HTTP v1.1
20+
* HTTPS (TLS)
21+
* Keep-Alive
22+
* WebSocket
23+
* Get-Parted requests
24+
* X-Sendfile (header)
25+
26+
Dependencies
27+
------------
28+
29+
Common:
30+
31+
* [gnutls](https://www.gnutls.org/)
32+
33+
Linux:
34+
35+
* dl
36+
* pthread
37+
38+
Build
39+
-----
40+
41+
Linux:
42+
43+
git clone https://github.com/awwit/httpserver.git
44+
cd httpserver
45+
mkdir build
46+
cd build
47+
qbs build -f ./../projects/qt-creator/httpserver.qbs release
48+
49+
Server start
50+
------------
51+
52+
./httpserver --start
53+
54+
Configuration files must be located in the working (current) directory.
55+
56+
Server configuration
57+
--------------------
58+
59+
Server (and its applications) setting is made using config-files.
60+
Examples of settings are located in the folder [samples][samples/].
61+
62+
License
63+
=======
64+
65+
The source codes are licensed under the
66+
[AGPL](http://www.gnu.org/licenses/agpl.html),
67+
the full text of the license is located in the [LICENSE][LICENSE] file.

projects/qt-creator/deployment.pri

Lines changed: 0 additions & 191 deletions
This file was deleted.

projects/qt-creator/httpserver.pro

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)