Commit Graph

1329 Commits

Author SHA1 Message Date
The-EDev
387c222ea2
added creating qs from request body functionality + updated doc 2022-05-20 22:36:32 +03:00
Farook Al-Sammarraie
8bc0a4d939
Merge pull request #425 from DeuSCaNoN/#421-Websockets-should-support-a-maximum-payload
Add rudimentary support for websocket max payload
2022-05-20 14:48:55 +03:00
The-EDev
f2b63f23f5
Fix for issue where app.stop() blocks when a websocket is open 2022-05-20 14:14:55 +03:00
Farook Al-Sammarraie
3e6c097733
Merge branch 'master' into #421-Websockets-should-support-a-maximum-payload 2022-05-18 20:04:38 +03:00
Farook Al-Sammarraie
0a75a579c1
Merge pull request #434 from konradkar2/logMessageWhenReturningNotWellKnownStatusCode
Add extra log when status code is not defined.
2022-05-18 16:49:41 +03:00
The-EDev
564b070d5f Made test port static and replaced REQUIRE with CHECK and if
Using port 0 seems to cause the test to be blocked
Also added methods and status codes to Crow's documentation
2022-05-18 15:57:46 +03:00
konrad
7e4f57486c Add extra log when status code is not defined.
Just to document behaviour when returning status that is
not well-known.
2022-05-18 15:57:46 +03:00
Farook Al-Sammarraie
45ced144a7
Merge pull request #269 from CrowCpp/ws_close
Close websockets when app is terminated
2022-05-18 14:34:23 +03:00
The-EDev
5fcaa19163
should_close_ -> shutting_down_ 2022-05-18 14:08:40 +03:00
The-EDev
cfc4281e3b
Prevent acceptor from taking new connections while websockets close 2022-05-18 13:49:50 +03:00
Farook Al-Sammarraie
e7007cfbce
Merge branch 'master' into blueprint-middleware 2022-05-18 13:30:13 +03:00
The-EDev
4128e5c27d
further formatting 2022-05-18 12:40:11 +03:00
Farook Al-Sammarraie
892cfb238b
Merge branch 'master' into ws_close 2022-05-18 12:31:39 +03:00
The-EDev
333b49bf04
Replaced do_not_destroy_ with adaptor_.shutdown_readwrite() +
formatting
2022-05-18 12:28:51 +03:00
The-EDev
94a0c3555a
formatting 2022-05-16 19:32:33 +03:00
The-EDev
0f6bfb04ee
added documentation and unit test 2022-05-16 19:15:34 +03:00
The-EDev
57c3b43ac0
Fixed small bugs in code 2022-05-16 19:14:51 +03:00
Farook Al-Sammarraie
3969d5f644
Merge branch 'master' into #421-Websockets-should-support-a-maximum-payload 2022-05-15 18:24:17 +03:00
Farook Al-Sammarraie
c667f78918
Merge pull request #437 from CrowCpp/fix_amalgamate
Fix amalgamate
2022-05-15 15:56:16 +03:00
oscar.chen
487c4e6c08 removing unneeded variable 2022-05-15 01:34:29 -07:00
oscar.chen
f0ea634c01 fix copy paste error 2022-05-15 01:21:34 -07:00
oscar.chen
a0a1925630 Pass the max payload in Connection constructor 2022-05-15 01:01:24 -07:00
oscar.chen
cdba76739f fix clang format 2022-05-14 19:35:45 -07:00
oscar.chen
7164517622 use arrow not . 2022-05-14 19:10:05 -07:00
oscar.chen
89d99f6ae9 add missing commas 2022-05-14 18:46:49 -07:00
oscar.chen
a30f0f6e4f fix wrong intializer syntax 2022-05-14 18:20:46 -07:00
oscar.chen
aa75fc108d fix wrong comment 2022-05-14 17:58:53 -07:00
oscar.chen
aaeaf9922e fix clang format 2022-05-14 17:54:21 -07:00
oscar.chen
4daf126df0 Add websocket payload size for both app and WebsocketRule 2022-05-14 17:51:51 -07:00
oscar.chen
45dc03cfa5 Merge branch '#421-Websockets-should-support-a-maximum-payload' of https://github.com/DeuSCaNoN/Crow into #421-Websockets-should-support-a-maximum-payload 2022-05-14 17:07:54 -07:00
The-EDev
e5fe4e6e26
Used App reference to get websocket count and signals.
Also fixed issue where enabling SSL prevented compilation.
2022-05-15 01:15:39 +03:00
Farook Al-Sammarraie
9f99be55e1
Merge branch 'master' into ws_close 2022-05-14 18:56:39 +03:00
Farook Al-Sammarraie
72d9524c48
Removed unnecessary line 2022-05-14 15:26:36 +03:00
The-EDev
2c490c6f62
Fixed empty lines and multiple "#pragma once" lines in amalgamate script 2022-05-14 15:23:08 +03:00
oscar.chen
dc988ce27b fix clang format 2022-05-14 14:07:51 +03:00
oscar.chen
182b1ba915 #421 add rudimentary support for websocket max payload 2022-05-14 14:07:51 +03:00
Farook Al-Sammarraie
96eb218d77
Merge pull request #432 from CrowCpp/Websocket_Handler
Add reference to `Crow` in websocket connection
2022-05-14 14:04:54 +03:00
The-EDev
c7001f81fc Removed test print 2022-05-14 12:05:06 +03:00
The-EDev
78c7186897 Allowed Crow class to be passed to Websocket connection object 2022-05-14 12:05:06 +03:00
Farook Al-Sammarraie
1483003d46
Merge pull request #435 from CrowCpp/doc-improvements
Documentation improvements
2022-05-14 12:04:41 +03:00
The-EDev
21cdd5cac2
improved "introduced in" statements 2022-05-13 00:49:52 +03:00
The-EDev
9a736fafd8
Added mike style versioning support (clear the gh-pages branch before merging this) 2022-05-12 12:42:28 +03:00
The-EDev
d9c783ebb9
Made dark-mode images brighter 2022-05-12 12:39:40 +03:00
The-EDev
4f162a66ef
Fixed centering issue with footer and assets directory issue (used relative paths instead of absolute paths) 2022-05-12 12:37:37 +03:00
The-EDev
ee9b5cb04d implemented dark mode, added search, and permalinks 2022-05-09 21:08:02 +03:00
Vladislav Oleshko
740111a400 Update docs formatting. Small changes 2022-05-07 23:29:55 +03:00
Vladislav Oleshko
d259999e6d Add blueprint middleware example 2022-05-07 23:24:42 +03:00
Vladislav
4d4d0094fe
Merge branch 'master' into blueprint-middleware 2022-05-07 23:03:35 +03:00
Farook Al-Sammarraie
59b8f43f56
Merge pull request #409 from dranikpg/cookieparser-attributes
Cookieparser attributes
2022-05-07 12:44:19 +03:00
Vladislav Oleshko
84effa5840 Update docs 2022-05-07 12:09:22 +03:00