Commit Graph

541 Commits

Author SHA1 Message Date
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
The-EDev
8f9486e3c8 added initial chunk sending code (for SSL only) 2020-10-11 00:29:40 +03:00
The-EDev
7ba3c9161f fixed type mismatch issue when using SSL 2020-10-09 16:01:24 +03:00
The-EDev
744baf8c0a Refactored mime type generating script
using with instead of open and close
removed while loop
using one line to write the new file
using unordered map instead of ordered map
added indentation to the generated file
2020-10-07 12:17:37 +03:00
Farook
03f6d6c818 added static file example 2020-10-04 19:29:56 +03:00
Farook
24c04c65cf updated generated file comment 2020-10-04 19:17:58 +03:00
Farook
7e812ea58a removed content-type related comments 2020-10-04 19:14:13 +03:00
Farook
dd79b31274 added automatic Content-Type header based on file extension 2020-10-04 19:11:18 +03:00
Farook
adfc6b22b3 created script to generate mime types header from nginx mime.types file 2020-10-04 19:09:30 +03:00
Farook
3f38caa0d0 stole @digitalist's sendFile code and made it work with newer boost 2020-10-04 15:05:26 +03:00
Igor Mroz
b6003f5c6a
Merge pull request #2 from nowgoing/master
Update websocket.h function "void do_read()"
2020-08-24 21:00:05 +02:00