Igor Mróz
942fcd1bc9
Check if number of threads is valid.
2020-10-19 19:26:46 +02:00
Igor Mróz
b6f8e805ff
Fix friend declaration.
2020-10-19 18:55:40 +02:00
Igor Mróz
603ceb377a
Remove debug statements.
2020-10-19 18:32:16 +02:00
Igor Mróz
e1085de237
README cleanup. Tests cleanup.
2020-10-19 18:32:16 +02:00
Igor Mróz
d33f04c7e7
CMakeLists small changes. Add clang-format config. Remove Makefile.
2020-10-19 18:32:16 +02:00
Igor Mróz
7b8b72bd11
Remove conanfile. Update mustache specification jsons. Remove compilation warnings. Update CMake version. Change test framework to Catch2.
2020-10-19 18:32:16 +02:00
Farook Al-Sammarraie
936ee9c40d
Merge branch 'master' into multipart
2020-10-19 16:46:14 +03:00
Igor Mróz
36561cecf5
Merge pull request #20 from mrozigor/covverage-exclude-3rdparty
...
Exclude 3rd party libraries from coverage report.
2020-10-19 10:48:33 +02:00
Farook Al-Sammarraie
a40f0b1bb0
Merge branch 'master' into covverage-exclude-3rdparty
2020-10-19 11:33:48 +03:00
The-EDev
cc7398ea5e
properly excluded 3rd part libraries from coverage and documentation.
2020-10-18 21:41:36 +03:00
The-EDev
3a8c749ab4
Merge branch 'master'
2020-10-18 21:38:29 +03:00
Farook Al-Sammarraie
2e3086123c
Merge pull request #19 from mrozigor/doxygen-patch
...
added "/code_docs" to Doxyfile
2020-10-18 15:38:43 +03:00
The-EDev
06075989ff
added "/code_docs" to Doxyfile
2020-10-18 15:30:43 +03:00
Igor Mróz
a755b2555c
Merge pull request #14 from The-EDev/better_doxygen
...
Doxygen updates
2020-10-18 13:49:38 +02:00
The-EDev
46e63309d4
Excluded 3rd party libraries from coverage
2020-10-18 14:17:01 +03:00
The-EDev
6c751e9f52
changed repo and removed unneccessary exclude
2020-10-18 11:21:22 +03:00
The-EDev
8da6919617
fixed issue in example
2020-10-18 03:38:50 +03:00
The-EDev
6a760ca09f
added simple example
2020-10-18 03:20:19 +03:00
The-EDev
cb0915901f
cleaned up code
2020-10-18 03:04:18 +03:00
The-EDev
e06942dfc4
added test
...
funny enough, the test pointed out a mistake i made in the code XD
2020-10-18 02:36:39 +03:00
The-EDev
d20bc7051a
removed include for mime type header
2020-10-18 01:56:07 +03:00
The-EDev
b49d52e78b
Added basic multipart data structure
...
Including methods to generate multipart message from request
2020-10-18 01:34:58 +03:00
The-EDev
661a03c3da
Updated doxygen
...
changed to dark theme (darkxygen)
added version, logo, and STL consideration
excluded third party libraries
2020-10-17 23:53:25 +03:00
Igor Mróz
3a183271dc
Merge pull request #13 from The-EDev/method_not_allowed
...
Added "405 method not allowed" error
2020-10-15 13:37:11 +02:00
The-EDev
823d061c62
Removed unnecessary variables
2020-10-15 13:59:15 +03:00
The-EDev
88904e4716
added test for 405 code on wrong method
2020-10-15 01:24:26 +03:00
The-EDev
4e5d43696b
code formatting
...
Removed extra spaces
2020-10-15 00:09:35 +03:00
The-EDev
dc46f2848a
added 405 error for when a rule is found but the method is incorrect
2020-10-15 00:09:17 +03:00
Igor Mróz
58bc7178bb
#7 Don't delete index.html when generating docs.
2020-10-14 21:35:49 +02:00
Igor Mróz
3cff9b1648
#7 Change input directory for doxygen.
2020-10-14 21:16:23 +02:00
Igor Mróz
bd2affa46f
#7 Change input directory for doxygen.
2020-10-14 21:00:31 +02:00
Igor Mróz
d174464a23
#7 Generate docs only for one from all builds.
2020-10-14 20:50:19 +02:00
Igor Mróz
1134f893f5
#7 Change Doxyfile - it should generate standard html files by default.
2020-10-14 20:09:44 +02:00
Igor Mróz
8f541d8640
#7 Automatically build documentation with Travis and Doxygen.
2020-10-14 18:52:44 +02:00
Igor Mróz
3932821028
Merge pull request #12 from The-EDev/restart_travis
...
Update Travis config
2020-10-14 16:41:07 +02:00
The-EDev
dec740bfe3
updated versions in readme
2020-10-14 15:02:13 +03:00
The-EDev
2a3cbc049d
updated Travis and Coveralls badges
2020-10-14 14:55:33 +03:00
The-EDev
e7176905eb
fixed coveralls name
2020-10-13 23:07:34 +03:00
The-EDev
8fd0be95a3
removed pip
2020-10-13 22:58:22 +03:00
The-EDev
2aa4f78828
updated compiler packages
2020-10-13 22:51:35 +03:00
The-EDev
e8fd3bd68b
Update .travis.yml
2020-10-13 22:33:31 +03:00
Igor Mroz
581b57c9d8
Merge pull request #11 from The-EDev/sendfile_hybrid
...
automated copying cat.jpg file
2020-10-13 13:16:05 +02:00
The-EDev
43b465a9ad
automated copying cat.jpg file
...
tests can now run without a problem
2020-10-13 11:04:46 +03:00
Igor Mroz
562c9a30fa
Merge pull request #10 from The-EDev/sendfile_hybrid
...
Serving static files using read() and asio::write()
2020-10-13 09:18:58 +02:00
The-EDev
dcfbc459ef
Added variable input output paths as arguments to mime type generator
2020-10-13 01:01:47 +03:00
The-EDev
5382ce7b58
Update http_connection.h
2020-10-13 00:53:27 +03:00
The-EDev
3a22fd5199
added sendfile test
...
Test cannot actually test whether the file was sent or not since the test has no access to the socket itself (also idk how to get data that was passed through a socket)
2020-10-13 00:52:15 +03:00
The-EDev
99994d90b5
Edited lambda for sending error
2020-10-12 14:07:34 +03:00
The-EDev
964e8f857b
removed sendfile function due to trouble with large files (the sendfile command would just hang until timeout without fully sending the file).
...
Added 404 and fixed some issues with windows error message
sendfile still incompatible with windows due to the stat function
also changed the buffer size to 16KB
2020-10-11 19:00:24 +03:00
The-EDev
4992261f0e
fixed mime type issue, added default plaintext option
2020-10-11 00:54:20 +03:00