ipknHama
d1a30bf422
Avoid exceptions while closing sockets
2017-12-25 22:36:30 +09:00
ipknHama
05d02fea6e
Remove printf warning for lld, llu
2017-12-25 16:26:30 +09:00
ipknHama
b7360a2bac
Support multiple methods for same URL
...
- fix broken unittests because of server initializing order change
- add a function to wait until server is up
2017-12-25 15:31:20 +09:00
ipknHama
daa1e3eadc
Add PURGE method, add a special enum item for counting
2017-12-25 15:31:20 +09:00
Jaeseung Ha
6876a08e61
Merge pull request #260 from erikaldsund/fix_rvalue_copy_ctor_bug
...
Fixed bug in json::rvalue copy constructor
2017-12-25 15:31:11 +09:00
Jaeseung Ha
943dcba507
Merge pull request #259 from erikaldsund/fix_r_string_inconsistency
...
Fixed bug in r_string
2017-12-25 15:30:32 +09:00
Jaeseung Ha
01cc7a3508
Merge pull request #258 from erikaldsund/fix_handling_of_big_integers
...
Fix handling of big integers
2017-12-25 15:30:06 +09:00
Mark Meredith
d29c47a85b
Test MinGW Travis build
2017-12-24 21:43:32 -05:00
Mark Meredith
d30c99f997
Fix compiler command
2017-12-24 18:01:11 -05:00
Mark Meredith
704d7fe597
Add MinGW test
2017-12-24 17:23:21 -05:00
Mark Meredith
6974d3fcf9
Use gmtime_s on MinGW
2017-12-24 12:38:52 -05:00
Jaeseung Ha
49bd1c2797
Merge pull request #261 from erikaldsund/fix_warning_in_websocket_h
...
Fixed warning in websocket.h: right shift count >= width of type
2017-12-25 02:29:25 +09:00
Jaeseung Ha
ca48f5c801
Merge pull request #273 from roxma/master
...
Fix ws read failure when using 16bit payload
2017-12-25 00:47:30 +09:00
roxma
f0eb73ce8c
Fix ws read failure when using 16bit payload
...
Also should use ntohs instead of htons when read from socket.
2017-12-22 17:53:51 +08:00
Erik Åldstedt Sund
3c45393b2d
Don't call copy_l before all other members are set
...
This lead to undefined behaviour during copy.
2017-10-30 20:51:44 +01:00
Erik Åldstedt Sund
29824c84ed
Fixed bug in r_string: end of string pointer was not updated in the force member function
...
This could lead to undefined behaviour in the std::string conversion
operator, when using the iterator interface (begin() / end()), and the size()
member function.
2017-10-30 20:50:17 +01:00
Erik Åldstedt Sund
ecbbd0ebf2
Fixed ostream operator for big integers
2017-10-30 20:47:48 +01:00
Erik Åldstedt Sund
4fe7dd171a
Handle big integers in json::wvalue
...
Handled by adding an enum num_type in both rvalue and wvalue (to separate
between signed/unsigned ints, and floating point values) and a union for
the number value in wvalue.
2017-10-30 20:47:48 +01:00
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
Jaeseung Ha
53af5043ac
Merge pull request #255 from Zagitta/status_codes
...
Added status codes 413 and 429
2017-10-21 20:33:03 +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
Jaeseung Ha
16a0f6b663
Update README.md
2017-09-18 12:05:31 +09:00
ipknHama
274aad86e7
Remove amalgamation result (crow_all.h
) from the repository
2017-09-18 05:15:41 +09: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
6da6579ce9
Merge pull request #171 from yorickdewid/master
...
Set cast type without dereferencing pointer
2017-09-18 00:44:36 +09:00
Jaeseung Ha
08acc7c0be
Merge branch 'master' into master
2017-09-18 00:43:42 +09:00
Jaeseung Ha
194a9ef681
Merge pull request #148 from thedrow/patch-3
...
Run compilation and tests with 2 jobs
2017-09-17 23:29:56 +09:00
Jaeseung Ha
69ed5c0a8e
Merge pull request #147 from thedrow/patch-2
...
Enable ccache if found for faster builds
2017-09-17 23:27:20 +09:00
Jaeseung Ha
a92c305acb
Merge pull request #174 from taylorking/master
...
implement .keys()
2017-09-17 19:18:07 +09:00
Jaeseung Ha
d8c4a67176
Merge branch 'master' into master
2017-09-17 19:17:54 +09:00
ipknHama
414809c742
Change websocket example to use default templates directory
2017-09-17 19:11:06 +09:00
Jaeseung Ha
6df366ce1d
Merge pull request #177 from tekn0ir/fix_libssl_example
...
Fix linking error on OSX & fix websocket example
2017-09-17 19:15:03 +09:00
Jaeseung Ha
4394142d3f
Merge branch 'master' into fix_libssl_example
2017-09-17 19:14:40 +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
a3b9c11112
Merge pull request #200 from sgiurgiu/master
...
Removed strict-aliasing warning
2017-09-17 18:03:14 +09:00
Jaeseung Ha
ef17b8cb9b
Merge branch 'master' into master
2017-09-17 18:01:57 +09:00
ipknHama
c43c052112
Update links in the conanfile.py
2017-09-17 15:41:34 +09:00
Jaeseung Ha
c550c2bab0
Merge pull request #198 from javierjeronimo/master
...
Add compatibility with conan.io
2017-09-17 14:47:42 +09:00
Jaeseung Ha
05fdf17795
Merge pull request #92 from whoshuu/add-new-toolchains
...
Add new toolchains
2017-09-17 14:39:01 +09:00
Jaeseung Ha
728f160604
Merge pull request #182 from ghost/master
...
typo README.md
2017-09-17 14:34:56 +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