144 Commits

Author SHA1 Message Date
lganzzzo
125e18609e Feature http-pipelining. Simple API support. 2019-09-19 03:00:26 +03:00
lganzzzo
133b79f563 Optimize Async Memory. Introduce CoroutineHandle. 2019-09-15 03:17:33 +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
lganzzzo
ac0684c229 Merge branch 'master' of github.com:oatpp/oatpp into authorization-draft 2019-09-02 04:04:42 +03:00
lganzzzo
693f1a1123 Feature async::Executor. Suggest threads count. 2019-09-02 03:48:31 +03:00
lganzzzo
8ea01afcc1 Feature Authorization. Better error handling. Add possibility to add headers to error responses. 2019-08-31 02:05:39 +03:00
lganzzzo
868ec5e6f0 Feature Authorization. Fix Tests for Default Basic Authorization. 2019-08-30 17:47:08 +03:00
Benedikt-Alexander Mokroß
4f1698cf13 Fix Convenience "Default-Basic-Auth" DefaultBasicAuthorizationObject 2019-08-30 11:17:11 +02:00
Benedikt-Alexander Mokroß
704ff9aa81 Convenience "Default-Basic-Auth" 2019-08-30 10:03:56 +02:00
lganzzzo
46abbf087c Feature Authorization. Change test endpoints paths. 2019-08-30 04:27:55 +03:00
lganzzzo
e62fd32f9e Feature Authorization. Generalize authorization object class. 2019-08-30 04:19:14 +03:00
lganzzzo
73b92b38f0 Minor Indentation + In-Code-Docs fixes. + better DefaultAuthorizationHandler::defaultAuthorizationObject implementation 2019-08-29 21:22:24 +03:00
Benedikt-Alexander Mokroß
fef2469526 Added support for other Authorization-Types then Basic 2019-08-29 15:34:32 +02:00
Benedikt-Alexander Mokroß
549d2fc542 Further cleanup of experimental leftovers. 2019-08-29 07:50:26 +02:00
Benedikt-Alexander Mokroß
8ec099e3f1 Let the failed request use a different connection to not break the main connection 2019-08-28 12:58:13 +02:00
Benedikt-Alexander Mokroß
04d5fc7441 Quick draft for an additional AUTHORIZATION-Macro which is inspired by spring.io's @Authenticate annotation.
Supports custom Objects and Handler so its easy to use and yields an object reflecting the authenticated user, so no extra work in the endpoint-code needs to be done (like in spring.io).
2019-08-27 16:45:15 +02:00
lganzzzo
259250674c Codegen. Windows compat. Fix OATPP_MACRO_NUM_ARGS. 2019-08-16 03:45:12 +03:00
lganzzzo
a0fa555a79 Remove '/experimental:preprocessor' compiler switch 2019-08-15 03:36:08 +03:00
Benedikt-Alexander Mokroß
b583052b2e Warningless in -Wextra, hardened sprintf-calls. 2019-08-12 09:18:49 +02:00
Leonid Stryzhevskyi
3582863b5d
Windows support investigating (#106)
Windows Support. Refactor and fix sockets usage.
2019-08-07 01:46:24 +04:00
lganzzzo
194f8ff143 Tests. Disable FullTests on 'Real' port. 2019-08-01 02:04:45 +04:00
lganzzzo
5c432f2472 Merge branch 'master' of https://github.com/oatpp/oatpp 2019-07-31 23:38:25 +04:00
lganzzzo
1207254616 Rename confusing-type-like field names in tests. 2019-07-31 23:35:23 +04:00
lganzzzo
713148f99e Use std::unique_ptr for dynamic arrays. 2019-07-31 23:27:23 +04:00
bam
438fafd49f Windows Port. Tests compile, doesn't link with wepoll. 2019-07-31 11:34:52 +02:00
lganzzzo
5fd3d1dfe2 Multipart. Some convenienve API for InMemoryPartReader. 2019-07-31 01:59:46 +04:00
lganzzzo
f2b5a25a38 Add multipart::createFilePartReader methods. 2019-07-31 00:15:05 +04:00
lganzzzo
0d8e5a728e Multipart. Introduce StreamPartReader. 2019-07-30 23:16:34 +04:00
lganzzzo
73a3d39841 Configurable multipart Reader. 2019-07-30 01:11:35 +04:00
lganzzzo
678b0b837b Better mime::multipart::StatefulParser. Correct async parsing. 2019-07-29 23:22:21 +04:00
lganzzzo
d8a2a32ea9 Refactor. Rename multipart::InMemoryReader --> multipart::Reader. 2019-07-28 22:38:24 +04:00
lganzzzo
85bf1b4e2a Add random utils. Add multipart generate random boundary method 2019-07-28 01:42:04 +04:00
lganzzzo
5e045a42de Fix BodyDecoder. Better FullAsyncClientTest 2019-07-26 02:35:58 +04:00
lganzzzo
464fc4da13 Tests. Simple And Async Multipart APIs. 2019-07-25 14:01:13 +04:00
lganzzzo
fa95bf6589 Feature Multipart. Add MultipartBody::writeToStreamAsync functionality. 2019-07-24 03:23:58 +04:00
lganzzzo
531030572f Introduce: AsyncInlineReadData, AsyncInlineWriteData. 2019-07-24 01:12:08 +04:00
lganzzzo
1291add834 Tests For ChunkedBody 2019-07-21 15:47:57 +03:00
lganzzzo
2cc0f627d6 Introduce oatpp::web::protocol::http::outgoing::ChunkedBody 2019-07-20 05:00:50 +03:00
lganzzzo
cc4f27d41e Introduce Multipart InMemoryReader 2019-07-17 04:40:42 +03:00
lganzzzo
a0a8223fb7 Code cleanup. Remove unnecessary shared_ptrs. 2019-07-14 02:58:52 +03:00
lganzzzo
ad471079fe Refactor BodyDecoder::decode method to use stream::WriteCallback for Simple API 2019-07-13 21:34:40 +03:00
lganzzzo
d94cddfa98 Fix suggested actions for ConsistentOutputStream, and BufferInputStream. 2019-07-13 19:11:05 +03:00
lganzzzo
1807e8360e Code cleanup. Remove IOWorker. Not used. 2019-07-13 18:39:14 +03:00
lganzzzo
875f0f1378 Feature Multipart. WIP. Working multipart stream parser. 2019-07-13 12:00:00 +03:00
lganzzzo
427612adfd better multipart stateful parser 2019-07-12 19:10:06 +03:00
lganzzzo
d657d4f736 multipart data. streaming parser POC. WIP 2019-07-11 00:36:52 +03:00
lganzzzo
474a6ca9ef better oatpp::async::synchronize API 2019-06-23 00:14:32 +03:00