Commit Graph

628 Commits

Author SHA1 Message Date
Benedikt-Alexander Mokroß
27dcc538d8 Merge branch 'master' into cors_macro_draft
# Conflicts:
#	src/oatpp/codegen/codegen_define_ApiController_.hpp
#	src/oatpp/codegen/codegen_undef_ApiController_.hpp
#	test/oatpp/web/app/Controller.hpp
2019-10-02 12:46:40 +02:00
Leonid Stryzhevskyi
da61fcf540
Merge pull request #133 from oatpp/endpoint_interceptor_macro
Endpoint interceptor macro
2019-10-02 03:49:20 +03:00
lganzzzo
7300708f67 Tests. Assert errors in FullAsyncClientTest. 2019-10-02 03:47:53 +03:00
lganzzzo
d5b7cb536a Codegen. ApiController. 'ENDPOINT_INTERCEPTOR' macro tests. 2019-10-02 03:30:52 +03:00
lganzzzo
af8aef9745 Codegen. Introduce macro. 2019-10-01 21:25:41 +03:00
lganzzzo
40dc8d77fe ApiController. Introduce 'ENDPOINT_INTERCEPTOR' macro. 2019-10-01 12:29:45 +03:00
lganzzzo
e0ff9bf100 Merge branch 'master' into minor_optimization 2019-09-29 02:29:01 +03:00
Leonid Stryzhevskyi
5ce46ae55e
Merge pull request #132 from oatpp/fix_129
Fix 129
2019-09-29 02:18:29 +03:00
lganzzzo
6b93b1a746 Minor code cleanup 2019-09-29 02:18:04 +03:00
lganzzzo
ac005faef3 #129. Fix socket closing in SimpleTCPConnectionProvider async connect. 2019-09-29 02:04:43 +03:00
Benedikt-Alexander Mokroß
1dca1651ad Refactored for better readability 2019-09-27 18:18:39 +02:00
Benedikt-Alexander Mokroß
30b35ac6e7 Further refactored, MAX_AGE now also adjustable 2019-09-27 18:11:07 +02:00
Benedikt-Alexander Mokroß
59e377630d Merge branch 'master' into cors_macro_draft 2019-09-27 17:52:48 +02:00
Benedikt-Alexander Mokroß
9c44be5cd1 Refactored, added Tests 2019-09-27 17:48:39 +02:00
Benedikt-Alexander Mokroß
95c0b8c462 CORS macro draft 2019-09-27 16:21:50 +02:00
lganzzzo
1e61ae82bb Fix 129. Check for getsocketopt SO_ERROR. 2019-09-27 04:21:54 +03:00
lganzzzo
12262a8fe8 Merge branch 'master' into minor_optimization 2019-09-27 03:35:45 +03:00
Leonid Stryzhevskyi
77f3f69c68
Merge pull request #128 from bkannadassan/master
Fix. Fixed crash happening when debuggng via GDB.
2019-09-26 22:03:10 +03:00
root
9296862ea8 Fix. Fixed crash happening when debuggng via GDB. 2019-09-26 16:01:10 +00:00
lganzzzo
2479af48c4 minor optimization 2019-09-24 02:45:53 +03:00
Leonid Stryzhevskyi
bbbf7217bf
Merge pull request #126 from oatpp/fix_stream_buffered_proxy
Fix. StreamBufferedProxy suggested stream action.
2019-09-23 03:26:11 +03:00
lganzzzo
b5d06e91a5 Fix. StreamBufferedProxy suggested stream action. 2019-09-23 03:14:38 +03:00
Leonid Stryzhevskyi
72b0d3a487
Merge pull request #125 from oatpp/better_async_error_handling
Better async error handling
2019-09-21 00:59:28 +03:00
lganzzzo
4422011b5e Remove coroutine parameter from oatpp::data::stream::ReadCallback. 2019-09-20 05:10:03 +03:00
lganzzzo
cb9b2b206f Error Handling. Async. Better error handling and error propagation. 2019-09-20 05:03:06 +03:00
Leonid Stryzhevskyi
c178ab488e
Merge pull request #123 from oatpp/http_pipelining
Http pipelining
2019-09-19 05:06:20 +03:00
lganzzzo
c0a532041c Tests. Pipeline test. Check size of result only 2019-09-19 04:54:23 +03:00
lganzzzo
11e30bbb89 uncomment tests 2019-09-19 03:55:41 +03:00
lganzzzo
b77039dee0 Feature http-pipelining. Async API support. 2019-09-19 03:54:44 +03:00
lganzzzo
125e18609e Feature http-pipelining. Simple API support. 2019-09-19 03:00:26 +03:00
Leonid Stryzhevskyi
73d9523a5a
Merge pull request #122 from oatpp/better_async_engine
Better async engine
2019-09-18 03:28:12 +03:00
lganzzzo
e96c309359 Merge branch 'master' into better_async_engine 2019-09-17 11:21:44 +03:00
Leonid Stryzhevskyi
baa6d93e15
Merge pull request #121 from oatpp/fix_120
Fix bug #120.
2019-09-17 11:01:45 +03:00
lganzzzo
692b8e04e4 Fix bug #120. 2019-09-17 00:52:15 +03:00
lganzzzo
8c1a367e28 Pass FunctionPtd params by const ref 2019-09-15 03:26:21 +03:00
lganzzzo
133b79f563 Optimize Async Memory. Introduce CoroutineHandle. 2019-09-15 03:17:33 +03:00
lganzzzo
68bbb14ec4 API Docs. Minor fix. API-Docs tool does not support function types. 2019-09-05 03:22:41 +03:00
Leonid Stryzhevskyi
0812b301b7
Merge pull request #114 from bhorn/authorization-draft
Authorization
2019-09-04 11:40:39 +03:00
Benedikt-Alexander Mokroß
d9221e3576 Added some more documentation to ApiController 2019-09-04 09:15:49 +02:00
Benedikt-Alexander Mokroß
7b0f6e64d0 Added error-throw if no auth-handler was set up before controller is added to router or swagger-doc.
Also added missing undef for `OATPP_MACRO_API_CONTROLLER_AUTHORIZATION_2` and `OATPP_MACRO_API_CONTROLLER_AUTHORIZATION_INFO_2`
2019-09-04 08:54:53 +02:00
Benedikt-Alexander Mokroß
fb29f0d919
Merge pull request #8 from lganzzzo/authorization-draft
Authorization draft
2019-09-04 08:26:26 +02:00
lganzzzo
c2f2b3649c Feature Endpoint Info deferred init. Fix seg.fault. 2019-09-04 01:53:02 +03:00
Benedikt-Alexander Mokroß
5971a6928f
Merge pull request #6 from lganzzzo/authorization-draft
Authorization draft
2019-09-03 08:44:14 +02:00
lganzzzo
970c92e7d1 Fix includes 2019-09-03 04:30:58 +03:00
lganzzzo
213fc52535 Fix Endpoint::info declaration. 2019-09-03 04:24:33 +03:00
Leonid Stryzhevskyi
02a42a3796
Merge pull request #118 from lganzzzo/authorization-draft
Authorization draft
2019-09-03 04:03:24 +03:00
lganzzzo
2e422a281d uncomment tests 2019-09-03 04:00:45 +03:00
lganzzzo
4cd550353a Merge branch 'endpoint-info-deferred-creation' of https://github.com/bhorn/oatpp into authorization-draft 2019-09-03 03:53:46 +03:00
lganzzzo
1d8b515f65 Feature Authorization. Add possibility to configure different auth-handler for AUTHORIZATION macro. 2019-09-03 03:47:31 +03:00
Benedikt-Alexander Mokroß
4de4ef4258 Simple idea to deferr creation of endpoint info until its really needed! 2019-09-02 14:28:26 +02:00