Commit Graph

96 Commits

Author SHA1 Message Date
Eugene Timokhov
f3350597a3 Fixed crow::json::detail::r_string move operator 2016-09-04 03:33:49 +03:00
ipknHama
967adf0de5 Add websocket feature 2016-08-28 14:46:31 +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
9e851ec896 Handling macro issues
- fix IS_NUM conflict (for MySQL)
 - avoid DELETE, ERROR (for Windows)
2016-08-27 14:15:16 +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
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
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
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
kumagi
47673eaddc defeat some warnings 2015-12-24 20:42:21 +09:00
Samuel Marks
37085e09c4 [Feature] JSON body i() now works with strings. Added better error messages also. 2015-09-27 14:36:08 +10:00
Samuel Marks
55dd19eb81 [Feature] JSON response can now include status code 2015-09-27 13:33:09 +10:00
Jaeseung Ha
e4708671bc implement HTTPS support
- define CROW_ENABLE_SSL to use
 - close #88
2015-09-20 22:06:00 +09:00
Dmitry Ledentsov
070d099a1c Update crow.h 2015-07-26 20:59:44 +02:00
ipknHama
5b72a09973 fix multithread bug occurs while accepting new connection 2015-05-27 14:47:51 -04:00
ipkn
4f5e36f927 Merge pull request #60 from sivachandran/master
Fix for linker symbol redefinition errors when crow header is included in multiple source files
2015-05-09 23:32:42 +09:00
Bryce Anderson
243995f36f Fix memory error and invalid param when no params are present
Also added a unit test that fails with the previous behavior.
Note that `-fsanitize=address` exposes the invalid memory access in
qs_parse.
2015-04-30 20:56:28 -04:00
Siva Chandran
a0ffd76e9c Made all parameter_tag related functions into static inline instead of constexpr. 2015-04-25 12:07:24 +05:30
Siva Chandran
e99cec63a1 Made parameter_tag related functions to constexpr/static to avoid linker symbol redefinition error when crow header is included in multiple cpp files. 2015-04-25 11:54:22 +05:30
Gabriel Marinho
441a9f6e61 Revert "Suggestion: Change the server name variable to a constant on settings.h"
This reverts commit 100f4a7b73.
2015-04-13 18:51:32 -03:00
Gabriel Marinho
100f4a7b73 Suggestion: Change the server name variable to a constant on settings.h
With this constant is very more easy to change the Crow server name.
2015-04-13 18:43:24 -03:00
Gabriel Marinho
b7a7df0412 Fix Content-Type not setted passing JSON object by rvalue reference.
In this specific case, Crow is not setting the JSON Content-Type and this is causing "not well-formed" exception in the Firefox browser.
2015-04-13 01:23:45 -03:00
ipkn
028cd0ecc0 Merge pull request #53 from JaewooSeo/vs2013
VS2013 x64 build support
2015-03-18 22:39:41 +09:00
jaewoo.seo
f0f5b223f0 VS2013 x64 build support 2015-03-15 17:51:55 +09:00
Jonas Westerlund
13b8a70c51 Fix parameter typos 2015-03-12 14:53:45 -07:00
ipknHama
48811ce4a4 remove thread_local variables
* move thread_local variables forget_cached_date_str, timer_queue
   into each threads local stack
2015-02-20 13:44:46 +09:00
ipknHama
5507e98ce2 fix tab to space 2015-02-20 12:00:15 +09:00
ipknHama
3a5599e61a refactor DynamicRule and TaggedRule to support common pattern
* name, methods
2015-02-20 11:58:41 +09:00
ipknHama
0a7c997349 working on VS2013 support
* wrap constexpr
 * add run-time version of get_parameter_tag
2015-02-20 11:50:34 +09:00
ipknHama
02f81f7eaa add CROW_MSVC_WORKAROUND and CROW_CAN_USE_CPP14 macro 2015-02-20 11:47:23 +09:00
ipknHama
92cf40e053 change gmtime to the safer version 2015-02-20 11:07:23 +09:00
ipknHama
f1d1fd6480 change 0b literals to 0x for VS2013 support 2015-02-20 10:54:32 +09:00
ipknHama
7fe8e2cfdc change SFINAE mechanics to support VS2013 2015-02-20 10:53:43 +09:00
ipknHama
5d8d527639 add run-time check for handler type for route_dynamic 2015-02-19 12:16:28 +09:00
ipknHama
d564d486b5 added route_dynamic 2015-02-19 00:57:01 +09:00
Jaeseung Ha
07042b55fd fix #27 : handling routes with trailing slash 2015-01-19 19:03:06 +09:00
Jaeseung Ha
b5942c4dda add member initialization:
need_to_call_after_handlers_
2015-01-19 18:59:55 +09:00
Jaeseung Ha
e27de5edac add const to request::get_header_value method 2015-01-19 18:58:19 +09:00
ipknHama
3fc1424e62 fix issue #39, bug at assigning vector to json wvalue 2015-01-08 08:22:06 +09:00
ipknHama
f6fdf68fe2 Merge branch 'try-catch-handle' of https://github.com/acron0/crow into acron0-try-catch-handle
Conflicts:
	amalgamate/crow_all.h
2014-12-12 07:29:08 +09:00
ipknHama
966867a9ca change pointer to reference; fix up spaces 2014-12-12 01:38:57 +09:00
Antony Woods
c2f75a7de1 Merged upstream 2014-12-10 17:29:31 +00:00