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
SQyang
0cb9330125
Update websocket.h
2020-08-24 19:47:30 +08:00
SQyang
215b7dcf35
Update websocket.h
2020-08-13 13:18:16 +08:00
Igor Mróz
103178aa81
Fixed CMakeLists - merge_all.py script takes output path.
2020-07-10 22:47:51 +02:00
Igor Mróz
09aaf25866
Changed path to env application.
2019-11-05 20:58:50 +01:00
Igor Mróz
10ec459830
Changed script that generates amalgamate - now it takes arguments to input directory and output file path.
2019-11-05 20:35:16 +01:00
Igor Mróz
80b8e81590
Added python shebang.
2019-11-05 20:23:29 +01:00
Igor Mroz
1a92344dd4
Merge pull request #1 from moneroexamples/fix_boost_170
...
fixes problem with boot 1.70
2019-11-05 18:59:00 +01:00
moneroexamples
c95f68499e
fixes problem with boot 1.70
2019-07-01 14:49:10 +08:00
Igor Mróz
741ba25abf
Merge branch '#146_add_ip_address_field'
2018-09-28 21:24:06 +02:00
Igor Mróz
ef7fa91631
#146 Added field with remote IP address.
2018-09-28 21:16:36 +02:00
Igor Mróz
02bdfeb71c
Merge branch '#315_fix_crash'
2018-09-28 20:41:29 +02:00
Igor Mróz
e6f22fce6a
#315 Checking if server is nullptr.
2018-09-28 20:37:37 +02:00
Igor Mróz
809453f9d5
#315 Checking if server is nullptr.
2018-08-30 17:51:54 +02:00