Commit Graph

1353 Commits

Author SHA1 Message Date
Farook Al-Sammarraie
64ed1587ca fix capitalization mistake
Co-authored-by: Luca Schlecker <luca.schlecker@hotmail.com>
2022-06-10 11:52:16 +03:00
The-EDev
d599295731 added webpage tutorial and a build command for first app tutorial 2022-06-10 11:52:16 +03:00
The-EDev
2788a910b9 removed python examples 2022-06-10 11:52:16 +03:00
The-EDev
c17fe31dc1 Fixed footer privacy policy centering in pages other than home 2022-06-10 11:52:16 +03:00
Farook Al-Sammarraie
c37664febd
Merge pull request #459 from D7EAD/master
Fix dead link (404) under Setting Up / Building.
2022-06-09 21:32:10 +03:00
Dread
48a1b43b1d
Fix dead link (404) under Setting Up / Building.
Current link leads to a 404 on crowcpp.org for Getting Started. Commit fixes it with the updated link.
2022-06-09 13:53:33 -04:00
Farook Al-Sammarraie
ed87c65c83
Merge pull request #452 from MichaelSB/ws_no_read_after_close
do not try to read from websocket after sending and receiving the clo…
2022-06-04 16:15:51 +03:00
Michael Schreckenbauer
efee71745b do not try to read from websocket after sending and receiving the close frame 2022-06-04 12:14:46 +02:00
Farook Al-Sammarraie
017c6e3f04
Merge pull request #450 from MichaelSB/ws_erase_connection
erase websocket::connection from vector in App::remove_websocket()
2022-06-03 09:45:29 +03:00
Michael Schreckenbauer
5ef370c519 erase websocket::connection from vector in App::remove_websocket() 2022-06-03 07:44:57 +02:00
Farook Al-Sammarraie
64d2541e05
Merge pull request #447 from MichaelSB/ws_onaccept_userdata
allow setting userdata in onaccept of websocket-connection
2022-05-28 23:48:10 +03:00
Vladislav Oleshko
b939dd4f1d Small fixes 2022-05-28 17:59:33 +03:00
Vladislav Oleshko
afa553a1b4 Add session examples 2022-05-28 16:42:40 +03:00
Vladislav Oleshko
f46bdc1a24 First iteration of sessions 2022-05-28 16:42:25 +03:00
The-EDev
16358b60ec
documented changes 2022-05-28 09:53:48 +03:00
Michael Schreckenbauer
65fcdea968 allow setting userdata in onaccept of websocket-connection 2022-05-27 14:06:12 +02:00
Farook Al-Sammarraie
0fb91aebbb
Merge pull request #408 from dranikpg/app-constructor
Generic app constructor
2022-05-24 00:46:14 +03:00
Vladislav Oleshko
946292747e Small fixes 2022-05-23 20:17:49 +03:00
Vladislav
94fa9f77f6
Merge branch 'master' into app-constructor 2022-05-23 20:12:55 +03:00
Farook Al-Sammarraie
a36d5c31d4
Merge pull request #403 from dranikpg/blueprint-middleware
Blueprint middleware
2022-05-23 10:08:09 +03:00
Farook Al-Sammarraie
a6bf90fa8b
Merge branch 'master' into blueprint-middleware 2022-05-23 09:43:17 +03:00
Farook Al-Sammarraie
c897101bf3
Merge pull request #442 from CrowCpp/qs-from-req
added creating qs from request body functionality + updated doc
2022-05-23 09:32:07 +03:00
The-EDev
cd67331fad
formatting 2022-05-21 14:51:48 +03:00
The-EDev
94a05b854a
changed functionality to avoid circular include 2022-05-21 12:32:32 +03:00
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