Commit Graph

521 Commits

Author SHA1 Message Date
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
The-EDev
92d7f2e3c4 optimized the body streaming code
has the side effect of removing some messups I made
2020-10-27 16:21:52 +03:00
The-EDev
4f7411d1aa replaced REQUIRE with CHECK
check allows the code to keep running if the check fails, allowing code like app.stop() to execute, which is needed to finalize some tests
2020-10-27 02:43:36 +03:00
The-EDev
be7fc743c9 changed test sections order for sendfile test 2020-10-27 02:41:29 +03:00
The-EDev
5a8c12a9ff changed response streaming test to test the actual data being sent over the socket 2020-10-27 02:39:20 +03:00
The-EDev
0a21fcbba0 split streaming methods to allow streaming strings as well as streams 2020-10-27 02:36:02 +03:00
Igor Mróz
e3cf473306
Merge pull request #31 from mrozigor/document-app.h
Document app.h
2020-10-23 08:39:33 +02:00
The-EDev
c3220a73bc documented most of app.h 2020-10-22 04:13:57 +03:00
Farook Al-Sammarraie
6cf701b113
Merge pull request #30 from mrozigor/configure-timeout
Added method to set timeout (default is 5 seconds)
2020-10-22 00:13:12 +03:00
Farook Al-Sammarraie
bbada35cb1
Merge branch 'master' into configure-timeout 2020-10-21 23:52:37 +03:00
Farook Al-Sammarraie
d966f43e40
Merge pull request #28 from mrozigor/stream_body
Streaming response bodies
2020-10-21 23:52:28 +03:00
Farook Al-Sammarraie
c66afeb4d3
Merge branch 'master' into stream_body 2020-10-21 23:29:18 +03:00
Farook Al-Sammarraie
993530df23
Merge pull request #23 from mrozigor/connection-improvements
Connection improvements
2020-10-21 23:28:55 +03:00
Farook Al-Sammarraie
1e05fa5447
Merge branch 'master' into configure-timeout 2020-10-21 22:51:20 +03:00
Farook Al-Sammarraie
c4dba56f32
Merge branch 'master' into stream_body 2020-10-21 22:51:16 +03:00
Farook Al-Sammarraie
179114b3c6
Merge branch 'master' into connection-improvements 2020-10-21 22:51:11 +03:00
Farook Al-Sammarraie
79068ba5ec
Merge pull request #24 from mrozigor/travis-changes
Travis changes
2020-10-21 22:50:19 +03:00
The-EDev
e1650750ce fixed typo 2020-10-21 20:56:12 +03:00
The-EDev
9728d652df changed megabyte name to res_stream_threshold_ 2020-10-21 20:54:28 +03:00
The-EDev
a2942468ed added master only requirement 2020-10-21 20:44:58 +03:00