Commit Graph

485 Commits

Author SHA1 Message Date
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
barcarolle
d580ed7d25 typo README.md 2016-10-20 15:06:32 +09:00
Anders Åslund
5921ccd0ed Fix linking error on OSX
Fix websocket example
2016-10-15 20:26:12 +02: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
Jaeseung Ha
4e39b23e45 Update README.md 2016-09-21 23:20:44 +09:00
ipknHama
6410907234 Update amalgamate 2016-09-21 23:17:29 +09:00
ipknHama
3081e4e1a8 Cleanup include folder into crow subfolder
- only crow.h is exposed now
2016-09-21 23:11:06 +09:00
ipknHama
8b04940d2f Upgrade amalgamate 2016-09-15 17:30:21 +09:00
ipknHama
7af78aff5a Fix bugs in websocket
- `Upgrade: websocket` should be case-insensitive
 - Using network byte order for length field
2016-09-15 17:29:08 +09:00
ipknHama
806ef51092 Update amalgamate 2016-09-10 02:43:33 +09:00
ipknHama
5ae0dffddf Add a field to websocket::connection for storing user data 2016-09-10 02:39:22 +09:00
ipknHama
d07a26f3f8 Closing behavior change; should help #151 2016-09-10 02:13:50 +09:00
ipknHama
7d428f4265 Remove meaningless debug log 2016-09-10 02:13:13 +09:00
ipknHama
60c16934cd Add a testcase for large response + Connection:close header 2016-09-10 01:57:09 +09:00
ipknHama
031f850b94 Add inline to avoid unused function warning 2016-09-10 01:25:49 +09:00
ipknHama
a1a587784e Add missing dependency (for amalgamate) 2016-09-10 01:22:06 +09:00
ipknHama
8a4b126ea6 Add a function which loads plain text file from templates folder 2016-09-10 01:22:06 +09:00
ipknHama
079df6efc5 Add a periodic handler feature 2016-09-10 01:22:06 +09:00
Jaeseung Ha
1a4a51bf76 Merge pull request #155 from timocov/fixed_missing_static
Fixed missing static keyword for non-template functions
2016-09-10 01:21:22 +09:00
Eugene Timokhov
0a9418b307 Fixed missing static keyword for non-template functions 2016-09-07 01:09:08 +03:00
Jaeseung Ha
d957b3444b Update amalgamate 2016-09-06 09:41:39 +09:00
Jaeseung Ha
2cf77c7053 Skip building SSL example if OpenSSL is not found 2016-09-06 09:40:55 +09:00
Jaeseung Ha
e9d41a6373 Remove warnings 2016-09-06 09:40:30 +09:00
Jaeseung Ha
43c9b09345 Add dependent header 2016-09-06 09:39:45 +09:00
Jaeseung Ha
800d31411d Fix issue #89 2016-09-06 09:39:13 +09:00
Jaeseung Ha
3b38946092 Merge pull request #154 from timocov/fixed_r_string_move
Fixed crow::json::detail::r_string move operator
2016-09-06 09:10:36 +09:00
Eugene Timokhov
f3350597a3 Fixed crow::json::detail::r_string move operator 2016-09-04 03:33:49 +03:00
Jaeseung Ha
3b8035edbe Update README.md 2016-08-28 14:47:50 +09:00
ipknHama
c44bcf2dc3 Update amalgamate 2016-08-28 14:46:44 +09:00
ipknHama
967adf0de5 Add websocket feature 2016-08-28 14:46:31 +09:00
ipknHama
45f6d12fd3 Update amalgamate 2016-08-27 18:13:13 +09:00
ipknHama
f88b56dff0 Add u() for uint64_t: manually applying #129 2016-08-27 18:12:17 +09:00
ipknHama
e161da45e0 Remove warnings: manually applying #101, #104 2016-08-27 18:03:49 +09:00
ipknHama
abc36e1b3a Update amalgamate 2016-08-27 14:40:02 +09:00
ipknHama
107ca813a3 Remove unused dependency
- boost datetime, filesystem
2016-08-27 14:24:02 +09:00
ipknHama
9e851ec896 Handling macro issues
- fix IS_NUM conflict (for MySQL)
 - avoid DELETE, ERROR (for Windows)
2016-08-27 14:15:16 +09:00
Jaeseung Ha
8138d212ff Merge pull request #127 from DeliciousGarfield/master
Add a simpler way for json example
2016-08-27 13:32:42 +09:00
Jaeseung Ha
85c3494200 Merge pull request #141 from rayburgemeestre/master
expose server stop() in Crow app to allow shutdown other than signal.
2016-08-27 13:28:51 +09:00
Omer Katz
492e93b831 Run compilation and tests with 2 jobs. 2016-07-29 10:37:02 +03:00
Omer Katz
41268d1782 Update .travis.yml 2016-07-29 10:36:18 +03:00
Omer Katz
810e7f45fe Enable ccache if found for faster builds. 2016-07-29 10:35:53 +03:00
rayburgemeestre
ee220daeef expose server stop() in Crow app to allow shutdown other than signal. 2016-06-19 12:50:40 +02:00
ipknHama
da4bb3aeab update amalgamate 2016-05-23 22:04:33 +09:00
ipknHama
c164db353b fix warning (initializing order of bind_addr_) 2016-05-23 22:04:09 +09:00
Jaeseung Ha
cb5ef23ef0 Merge pull request #107 from kumagi/master
defeat some warnings
2016-05-23 21:52:37 +09:00
Jaeseung Ha
eb5a3b55f9 Merge pull request #126 from gmaisto/master
Added support to bind to a specific interface
2016-05-23 21:51:30 +09:00
Jaeseung Ha
f96f65938d Merge pull request #113 from pierobot/master
Added inline to get_type_str
2016-05-23 21:47:47 +09:00