Commit Graph

1076 Commits

Author SHA1 Message Date
Farook Al-Sammarraie
503789151b
Merge pull request #289 from belugum/master
Add basic load balancing
2021-12-07 18:58:29 +03:00
Maxime BELUGUET
a997c2b69f Formatting 2021-12-07 14:15:11 +01:00
Maxime BELUGUET
dea78e02a0
Merge branch 'master' into master 2021-12-07 14:12:29 +01:00
Maxime BELUGUET
95083c1c9e Improve pick_io_service_idx 2021-12-07 11:06:18 +01:00
Maxime BELUGUET
874b4d2da0
Apply suggestions from code review
Add debug verbosity

Co-authored-by: Farook Al-Sammarraie <farook@the-e-dev.com>
2021-12-07 10:58:40 +01:00
Farook Al-Sammarraie
120e1f3ad2
Merge pull request #287 from nx10/gcc8-workaround
GCC 8.3 workaround
2021-12-04 14:54:19 +03:00
Farook Al-Sammarraie
63c8af74f7
Merge branch 'master' into gcc8-workaround 2021-12-04 14:34:58 +03:00
Florian Rupprecht
24d8a72a94
Update include/crow/app.h
Co-authored-by: Farook Al-Sammarraie <farook@the-e-dev.com>
2021-12-04 12:32:32 +01:00
Farook Al-Sammarraie
80d00f4960
Merge pull request #293 from CrowCpp/auth_tutorial
Documentation updates
2021-12-04 09:18:19 +03:00
Farook Al-Sammarraie
faa81ec4a5
Merge branch 'master' into auth_tutorial 2021-12-04 04:17:09 +03:00
Farook Al-Sammarraie
b64fc0e34c
typo fix
Co-authored-by: Luca Schlecker <luca.schlecker@hotmail.com>
2021-12-04 04:16:50 +03:00
Farook Al-Sammarraie
e07b966910
Merge pull request #292 from CrowCpp/file_leak
Fixed data leak when sending static files
2021-12-04 04:15:49 +03:00
Maxime BELUGUET
06332c46b8 Move queue length initialisation 2021-12-03 17:40:10 +01:00
Maxime BELUGUET
5825b55350 Move queue length decrementation, formatting 2021-12-03 17:33:40 +01:00
The-EDev
869bc53150
format 2021-12-03 07:05:10 +03:00
Farook Al-Sammarraie
16df1fd771
Merge branch 'master' into auth_tutorial 2021-12-03 07:03:00 +03:00
The-EDev
78c88bbbb7
Updated mime_types script:
Made script generated code format compliant
Added option to have the script download the source file directly
Added generation date

Also updated the header file to the latest nginx mime.types
2021-12-03 06:41:30 +03:00
The-EDev
94a2f942bc
changed comment style back to the original (doxygen did not work with the new style) 2021-12-03 06:39:23 +03:00
The-EDev
b309bda160
Updated documentation:
added auth guide
updated macos setup
2021-12-03 06:38:14 +03:00
The-EDev
3c6c675a18
formatting 2021-12-02 20:38:04 +03:00
The-EDev
a0a5616d1c
Added missing buffer clears and removed no longer used method from response 2021-12-02 20:18:34 +03:00
The-EDev
bb48f95298
moved file sending to connection and added check_destroy to it 2021-12-02 15:36:52 +03:00
Maxime BELUGUET
31143b9f06 Fix atomic queue_length initialisation 2021-11-30 19:54:37 +01:00
Maxime BELUGUET
e6adb88d09 Merge branch 'master' of github.com:belugum/Crow 2021-11-30 19:22:34 +01:00
Maxime BELUGUET
47263de37f
Merge branch 'master' into master 2021-11-30 19:22:22 +01:00
Maxime BELUGUET
2607bf5791 Change += to ++, add queue length decrementation on error 2021-11-30 19:22:07 +01:00
Maxime BELUGUET
f8af9eb187 Formatting 2021-11-30 18:14:16 +01:00
Farook Al-Sammarraie
ca48b34408
Added GH sponsors link 2021-11-30 14:57:26 +03:00
Farook Al-Sammarraie
d5822ba130
Merge pull request #290 from CrowCpp/wip-luca-schlecker
logger: don't append `std::endl` to the message.
2021-11-30 02:33:41 +03:00
Luca Schlecker
dc317ced93 logger: don't append std::endl to the message.
ILogHandler instances should take care of that.

Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
2021-11-29 23:59:41 +01:00
Maxime BELUGUET
0f6043f60d Add basic load balancing #258 #182 2021-11-29 16:56:12 +01:00
Farook Al-Sammarraie
9c55181657
Merge branch 'master' into gcc8-workaround 2021-11-29 13:42:22 +03:00
The-EDev
8c1171917b
removed 'CaseSensitive' option for compatibility 2021-11-29 13:40:41 +03:00
Luca Schlecker
081f869984
Merge pull request #286 from CrowCpp/clang-format
clang-format
2021-11-27 20:51:12 +01:00
The-EDev
3d67ee8556
removed BeforeWhile because it wasn't in clang-format 10 either 2021-11-27 22:29:34 +03:00
The-EDev
162c83c56c
removed BeforeLambdaBody option (potentially problematic) 2021-11-27 22:16:51 +03:00
Luca Schlecker
7e4f1494d2 improved lambda bracing by inlining only empty lambdas.
Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
2021-11-27 19:22:35 +01:00
Farook Al-Sammarraie
62b74a1c7a
Merge branch 'master' into gcc8-workaround 2021-11-27 18:14:44 +03:00
Farook Al-Sammarraie
ef396a7c88
Merge branch 'master' into clang-format 2021-11-27 18:14:24 +03:00
Farook Al-Sammarraie
95ba140463
Merge pull request #288 from CrowCpp/wip-luca-schlecker
Enable a better experience using custom loggers.
2021-11-27 18:11:33 +03:00
The-EDev
d1b057d3b8
Added documentation for creating a custom logger 2021-11-27 17:37:30 +03:00
Florian Rupprecht
7ee13c4536 GCC 8 workaround compiler detection & error 2021-11-27 14:30:37 +01:00
The-EDev
03e59aa446
improved bracing rules, commented out clang-format 14 rule 2021-11-27 15:28:50 +03:00
Luca Schlecker
9e0bd8ddc7 logger: move prefix and timestamp logic inside the ILogHandler default
implementation.

Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
2021-11-26 12:18:03 +01:00
The-EDev
4ae3d6d932
updated .clang-format to be compatible wih version 10, and added directory change for clang compilation and testing 2021-11-25 22:23:55 +03:00
The-EDev
185117b56a
Added missing packages 2021-11-25 21:23:36 +03:00
Florian Rupprecht
df50e3390d Spelling 2021-11-25 15:16:34 +01:00
Florian Rupprecht
58e211355f Constrain and warn GCC 8 bug 2021-11-25 15:14:45 +01:00
The-EDev
84a88ae915
fixed command error 2021-11-25 15:11:25 +03:00
The-EDev
7f4b7c8ff9
created new rules, used bot to enforce rules in PRs 2021-11-25 14:45:38 +03:00