Commit Graph

1317 Commits

Author SHA1 Message Date
Jaeseung Ha
51d51bac9b Merge pull request #226 from jcoffin01/fix_url
Modified websocket example to automatically retrieve server's hostname.
2017-09-06 15:42:53 +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
Jerry Coffin
251f0cf0ed Modified websocket example to automatically retrieve server's hostname. 2017-04-11 22:31:36 -07:00
Rasie1
15d377907f Update amalgamate 2017-03-16 19:27:34 +03:00
Rasie1
633dc82b8f Add get_dict usage to example 2017-03-16 19:27:19 +03:00
Rasie1
01b21296bc Add get_dict method 2017-03-16 19:25:27 +03:00
Jisu Kim
74bf317af5 Fix typo in .travis.yml 2017-03-14 13:47:48 +09: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
Javier Jerónimo Suárez
c03d3b2d5a Make it compatible with conan.io (but optional). 2016-11-22 17:50:06 +01:00
Javier Jerónimo Suárez
a71c0a0edb ignore 2016-11-20 23:20:48 +01:00
Javier Jerónimo Suárez
91ac9111d4 fix 2016-11-20 23:04:25 +01:00
Javier Jerónimo Suárez
79ca284d6c indent 2016-11-20 22:47:14 +01:00
Javier Jerónimo Suárez
18bc428f06 indent 2016-11-20 22:43:34 +01:00
Javier Jerónimo Suárez
5f786cdccd Fixes 2016-11-20 22:40:47 +01:00
Javier Jerónimo Suárez
c2f3aea0a1 Its a header only conan package 2016-11-19 12:39:13 +01:00
Javier Jerónimo Suárez
2877991498 Requirements 2016-11-19 12:07:14 +01:00
Javier Jerónimo Suárez
e9c97b1350 More 2016-11-19 12:02:04 +01:00
Javier Jerónimo Suárez
d43cd76435 More 2016-11-19 12:00:26 +01:00
Javier Jerónimo Suárez
5037825a59 More 2016-11-19 11:56:33 +01:00
Javier Jerónimo Suárez
09cae9f4c2 More 2016-11-19 11:54:34 +01:00
Javier Jerónimo Suárez
748a95c84f More 2016-11-19 11:51:32 +01:00
Javier Jerónimo Suárez
0f4cfc9108 More 2016-11-19 11:44:15 +01:00
Javier Jerónimo Suárez
ede9a21dbc More... 2016-11-19 11:40:17 +01:00
Javier Jerónimo Suárez
bcf943b9b1 Trying to add support for conan.io 2016-11-19 11:35:49 +01:00
Javier Jerónimo Suárez
990a8a34d0 Trying to add support for conan.io dependency system... 2016-11-19 11:18:21 +01: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
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