The-EDev
454810c165
Added reference docs for dumb_timer_queue, http_request, http_response, and socket_adaptors
2020-11-14 05:28:07 +03:00
Farook Al-Sammarraie
2fd0909a90
Merge pull request #55 from epajarre/static_file_win32
...
Activate static_file support on WIN32
2020-11-13 15:30:52 +03:00
Farook Al-Sammarraie
f9dec6997e
Merge branch 'master' into static_file_win32
2020-11-13 15:24:44 +03:00
Eero Pajarre
71bd6c8c2b
removed another if not defined(_WIN32)
2020-11-13 07:42:02 +02:00
Farook Al-Sammarraie
2bdb35c9e5
Merge pull request #54 from epajarre/remove_uint
...
Replaced uint with unsigned
2020-11-13 03:13:10 +03:00
Farook Al-Sammarraie
07dc8c1a7a
Merge branch 'master' into remove_uint
2020-11-13 03:02:40 +03:00
Farook Al-Sammarraie
2425597a30
Merge pull request #58 from mrozigor/merge_all_win
...
made merge_all.py windows compatible
2020-11-12 22:39:02 +03:00
The-EDev
48bd974b44
made merge_all.py windows compatible
2020-11-12 21:54:49 +03:00
Eero Pajarre
16cae0af4a
Activate static_file support on WIN32
...
static_file support seems to work, at least with
Microsoft Visual Studio 2017 and 2109 / C++17.
Without it the compilation fails, so activating it.
2020-11-12 15:38:37 +02:00
Eero Pajarre
5fe3a45793
Replaced uint with unsigned
...
uint is not a default type in C++.
Replaced it with unsigned, which should be large enough
2020-11-12 15:11:22 +02:00
Farook Al-Sammarraie
0054376057
Merge pull request #51 from mrozigor/middleware_reorganizing
...
separated middlewares from core code
2020-11-12 00:39:34 +03:00
The-EDev
0ff2ef3e15
added new middlewares folder to CMakeLists.txt
2020-11-12 00:33:37 +03:00
The-EDev
de1187bb4e
added note regarding middlewares, and added () to make the -i and -e look more optional
2020-11-12 00:14:36 +03:00
The-EDev
384baaade4
moved middlewares folder inside crow folder
...
also fixed an issue where by default nothing is included
2020-11-11 23:43:57 +03:00
Farook Al-Sammarraie
7c88cdbb60
Merge branch 'master' into middleware_reorganizing
2020-11-11 22:44:43 +03:00
Farook Al-Sammarraie
d00ec5e690
Merge pull request #50 from mrozigor/static_dir
...
Added default "static/<path>" route for any static files
2020-11-11 22:25:45 +03:00
The-EDev
5d23b2b9c7
fixed testing issue
2020-11-11 13:51:29 +03:00
The-EDev
6444748269
separated middlewares from core code
...
modified merge script to include middlewares, all are included by default
include excludes everything else (items separated by ',')
exclude only excludes selected items (items separated by ',')
2020-11-11 05:39:57 +03:00
The-EDev
24830648d2
added macros for static endpoint and directory
...
(also put some info in the example)
2020-11-10 23:56:27 +03:00
Farook Al-Sammarraie
50670c290b
Merge branch 'master' into static_dir
2020-11-10 12:34:04 +03:00
Farook Al-Sammarraie
515fa68f67
Merge pull request #44 from mrozigor/websocket
...
Websocket updates
2020-11-10 10:45:45 +03:00
The-EDev
c4d191a7b0
added static/ prefix to path
2020-11-10 03:54:30 +03:00
The-EDev
72aeabd5e4
added default "/static/<path>" route for any static files
...
can be disabled via CROW_DISABLE_STATIC_DIR def
2020-11-10 03:47:30 +03:00
The-EDev
5150fcdf05
bump version in doc
2020-11-09 19:14:50 +03:00
The-EDev
fab2640702
Ping and Pong messages shouldn't fail with messages larger than 127 bytes anymore
...
Has the added advantage of making the code look more consistent, while sacrificing some performance (very little though)
2020-11-09 17:36:03 +03:00
The-EDev
b54b5a4c6e
obligatory simple messup fix
...
removed extra is_open method
2020-11-09 05:18:34 +03:00
The-EDev
ca46844782
Added check for SSL adaptor to fix potential crash when SSL websockets are used (ipkn#328)
2020-11-09 05:00:49 +03:00
The-EDev
76af416766
added websocket unit test
2020-11-09 04:47:41 +03:00
The-EDev
5c7ef21211
websocket improvements
...
replaced base10 bits to base8 in comments
added send_ping and send_pong to API (users can now send them)
reset header value before every read
2020-11-09 04:41:55 +03:00
The-EDev
8dc61959f2
added method to send ping message
2020-11-05 04:10:33 +03:00
The-EDev
463917a17f
added option to have unmasked messages
2020-11-04 07:16:03 +03:00
The-EDev
cc715f4245
cleaned up app.h documentation
2020-11-04 06:21:52 +03:00
The-EDev
777dfa31af
added documentation and illustration from RFC 6455
2020-11-04 06:20:09 +03:00
Farook Al-Sammarraie
696fbb1043
Merge pull request #38 from mrozigor/bump_0.2
...
bump server version to 0.2
2020-11-01 01:18:32 +03:00
The-EDev
4a42a6fbae
bump server version to 0.2
...
also fixed a chmod issue in travis
2020-10-31 23:56:50 +03:00
Farook Al-Sammarraie
65f023d6c0
Merge pull request #37 from mrozigor/file-cleanup
...
File cleanup
2020-10-31 23:36:53 +03:00
The-EDev
d66a39bf4b
Merge branch 'master'
2020-10-31 23:30:03 +03:00
The-EDev
f93d9a8a22
updated paths to merge_all.py, c++ version in cmake, and logo in readme
2020-10-31 21:22:34 +03:00
Farook Al-Sammarraie
5b996e4686
Merge pull request #33 from mrozigor/stream-fixes
...
Stream fixes
2020-10-31 21:10:41 +03:00
The-EDev
ab1cbc2704
updated documentation logo
2020-10-31 20:05:01 +03:00
The-EDev
8d848cad18
allowed python script to run without python command
2020-10-31 20:04:49 +03:00
The-EDev
f8aaa756a2
added QT Creator project files to .gitignore
2020-10-31 20:04:14 +03:00
The-EDev
f7de350707
moved all scripts to a single folder
2020-10-31 20:03:47 +03:00
The-EDev
fc0c6d9eae
removed reserve code
2020-10-31 03:09:32 +03:00
The-EDev
3d88042161
revamped stream tests (body streaming should work properly now)
2020-10-31 03:05:24 +03:00
Igor Mróz
689ba2d5e0
Merge pull request #35 from mrozigor/mustache_fix
...
#6 Fix mustache implementation after specification update.
2020-10-30 21:53:23 +01:00
Igor Mróz
ad71f44a8a
#6 Change URL to build status badge.
2020-10-30 21:41:42 +01:00
Igor Mróz
90b46528d4
#6 Fix mustache implementation after specification update.
2020-10-30 20:29:41 +01:00
The-EDev
97bb487d85
stream test changes
...
test now runs on separate thread from app (to allow the app to write to the socket before the test reads it)
changed value to test agains (since the value I'm testing on is actually the end 305th instance, not the start of the 306th)
2020-10-27 22:53:58 +03:00
Farook Al-Sammarraie
81386da246
Merge branch 'master' into stream-fixes
2020-10-27 16:28:01 +03:00