Commit Graph

274 Commits

Author SHA1 Message Date
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
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
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
Gino Maisto
1b1210685e Bind to interface support: fixed unittest 2016-03-19 16:05:48 +01:00
DeliciousGarfield
ea131c3607 Add a simpler way for json example 2016-03-18 12:19:08 +08:00
Gino Maisto
e5d73b4c53 Added support to bind to a specific interface 2016-03-14 19:43:45 +01:00
Jaeseung Ha
975205075d Merge pull request #123 from pierobot/fix-corrupt-buffers
Fix corrupt buffers
2016-03-14 19:46:21 +09:00
Jaeseung Ha
0bef5731e6 Merge pull request #124 from pierobot/fix-typo
Fix misspell of Connection
2016-03-14 19:44:27 +09:00
pierobot
7712b8b8e0 Fix misspell of Connection 2016-03-07 17:30:19 -06:00
pierobot
dbd7c2fbe0 tab to space 2016-03-07 17:22:35 -06:00
pierobot
f57d257dc6 Fix buffer corruption bug
https://github.com/ipkn/crow/issues/122
2016-03-07 17:21:19 -06:00
pierobot
34112749eb Added inline to get_type_str 2016-01-12 13:43:16 -06:00