Commit Graph

38 Commits

Author SHA1 Message Date
Erik Åldstedt Sund
83bd8c09a0 Fixed warning in websocket.h: right shift count >= width of type
Fixed by static_cast-ing values from 32-bit values to 64-bit values.
2017-10-30 20:45:34 +01:00
Jaeseung Ha
7f3f72441c Merge pull request #253 from boodkb/patch_method
Add support for HTTP PATCH method
2017-10-21 20:51:35 +09:00
Simon Rasmussen
f88657a22a Added 413 and 429 status codes 2017-10-20 15:20:18 +02:00
BooD
8b01385465 Add HTTP PATCH support 2017-10-05 18:13:40 +03:00
ipknHama
7560f329c9 Remove unused include. 2017-09-18 04:43:51 +09:00
ipknHama
2c26b6c1de Change default settings
- disable crow debug mode by default
 - expose `loglevel` method on `App` to change the logging level easily
 - add a startup message that guides how to change the logging level
2017-09-18 02:58:53 +09:00
ipknHama
e93ba25f2c Fix cookie parsing: Cookie doesn't have escaping mechanism. 2017-09-18 02:39:46 +09:00
ipknHama
9c26e1ebde Simplify json.keys() 2017-09-18 01:21:18 +09:00
Jaeseung Ha
08acc7c0be Merge branch 'master' into master 2017-09-18 00:43:42 +09:00
Jaeseung Ha
d8c4a67176 Merge branch 'master' into master 2017-09-17 19:17:54 +09:00
Jaeseung Ha
4786dac0a8 Merge pull request #193 from vadz/show-concurrency
Show the number of threads used in the startup message
2017-09-17 18:31:24 +09:00
Jaeseung Ha
112e86b906 Merge pull request #194 from vadz/atomic-conn-count
Use atomic type for connection count shared between threads
2017-09-17 18:30:24 +09:00
Jaeseung Ha
c32aae4b5f Merge pull request #183 from philave/vs2015-compilation-fix
MS VS2015 compilation fix.
2017-09-17 18:29:52 +09:00
Jaeseung Ha
ef17b8cb9b Merge branch 'master' into master 2017-09-17 18:01:57 +09:00
ipknHama
c071f64376 Delete new connection with error while accepting (kwangsei, PR #205) 2017-09-17 14:13:33 +09:00
Jaeseung Ha
f0cb83df88 Merge pull request #210 from zxmarcos/master
Add onaccept handler to websocket rule
2017-09-17 14:17:46 +09:00
Jaeseung Ha
cf67a40e4c Merge pull request #212 from uctakeoff/fix_warning_in_cpp11
Fixed a problem that warning appeared in c ++ 11
2017-09-17 14:10:07 +09:00
ipknHama
92bea9e949 Change vector to unordered_map for get_dict 2017-09-17 14:02:46 +09:00
ipknHama
f35089b2aa Add missed header file. 2017-09-17 13:47:05 +09:00
Jaeseung Ha
13fdc9390b Merge pull request #202 from Rasie1/master
Conflict with std namespace
2017-09-17 13:50:50 +09:00
ipknHama
69a17f066b Fix #245. Trying to keep serving after an exception in the handler. 2017-09-17 12:45:13 +09:00
Jaeseung Ha
2564c62778 Merge pull request #229 from JaewooSeo/wvalue_vector
wvalue (json) support vector<wvalue>
2017-09-17 12:40:05 +09:00
Jamie Bullock
679fe4a8ac Add support for HTTP 422 status code
See: https://tools.ietf.org/html/rfc4918#section-11.2
2017-09-04 16:40:40 +01:00
Jamie Bullock
9a1e4aefdd Revert "Add support for HTTP 422 status code"
This reverts commit 6e4e66ad12.
2017-09-04 16:38:51 +01:00
Jamie Bullock
6e4e66ad12 Add support for HTTP 422 status code
See: https://tools.ietf.org/html/rfc4918#section-11.2
2017-09-04 16:08:02 +01:00
jaewoo.seo
777852c97d wvalue (json) support vector<wvalue> 2017-05-12 11:43:27 +09:00
Rasie1
01b21296bc Add get_dict method 2017-03-16 19:25:27 +03:00
ushiyake
bd2dd4a8e4 Fixed a problem that warning appeared in c ++ 11 2017-01-09 21:24:01 +09:00
Marcos Medeiros
bea1ba3797 Add onaccept handler to websocket rule 2016-12-28 11:06:56 -02:00
Vsevolod Kvachev
32d66d6fd1 Upgrade amalgamate 2016-12-06 18:22:10 +03:00
Sergiu Giurgiu
c63113f825 Removed strict-aliasing warning 2016-12-04 14:03:20 -05:00
Vadim Zeitlin
bd9a9ace4a Use atomic type for connection count shared between threads
Even if this variable is only used in debug mode, it's still bad to have data
races on it, as it was the case (and reported by thread sanitizer) before.
2016-11-15 16:44:45 +01:00
Vadim Zeitlin
34b050ee8f Show the number of threads used in the startup message
This can be useful, especially when using the default hardware concurrency, to
see how many threads does the server actually use in the logs.
2016-11-15 16:33:14 +01:00
Philip
366e7c7e4b MS VS2015 compilation fix. It’s better to use native Win32 (strncpy_s, sprintf_s) to avoid compilation errors when building by MS C++. 2016-10-21 18:22:24 +03:00
Taylor King
26c4d5ddef implement .keys() 2016-10-10 06:10:01 -04:00
yorickdewid
e40605da59 HTTP response redirect
- Log address
2016-10-03 15:32:16 +02:00
yorickdewid
f4f6b02403 Set cast type without dereferencing pointer 2016-10-03 13:47:22 +02:00
ipknHama
3081e4e1a8 Cleanup include folder into crow subfolder
- only crow.h is exposed now
2016-09-21 23:11:06 +09:00