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
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
lganzzzo
c265fc9dfd
introduce 'Synchronized' coroutine convenience API
2019-06-17 01:59:51 +03:00
lganzzzo
0c3580dd79
Test for oatpp::async::Lock
2019-06-16 05:12:55 +03:00
Benjamin Kier
5df66ea902
Fixed warnings 2 in the project (implicit cast, move, unused and uninitialized variables).
2019-05-31 14:35:44 -04:00
lganzzzo
e312034331
better API-docs
2019-05-27 02:22:48 +03:00
lganzzzo
7bc8fe2d79
show micro-ticks in the logs by default
2019-05-26 16:55:44 +03:00
lganzzzo
13fbcf9930
Better Logging system
2019-05-26 16:45:02 +03:00
lganzzzo
016d47044f
wait threads finished
2019-05-11 20:54:34 +03:00
lganzzzo
c54dbe662c
proper server stoppage in Full-Tests with real port
2019-04-29 02:56:53 +03:00
lganzzzo
5ee76db69f
Tests. Reduce number of steps in FullTest/FullAsyncTest (real-port) in order to run on 'weak' CI
2019-04-28 05:22:54 +03:00
lganzzzo
6ad0f4f16c
reduce number of connections for FullAsyncTest(real-port) in order not to fail on CI
2019-04-28 04:59:10 +03:00
lganzzzo
476a16fa8f
Fix FullAsyncTest for MAC
2019-04-28 04:33:19 +03:00
lganzzzo
b1d54ab90d
Full tests for both oatpp-virtual interface and real port
2019-04-28 03:52:41 +03:00
lganzzzo
ff00d880cf
wait executor tasks finished before quitting runner task in Async tests
2019-04-27 23:57:30 +03:00
lganzzzo
4e7ef39f43
Add ability to wait for all async::Executor tasks finished
2019-04-27 12:30:14 +03:00
lganzzzo
4b3ea45ec0
remove timer-wait in ClientServerTestRunner - join threads instead
2019-04-27 03:39:47 +03:00
lganzzzo
03388a295c
New Async Event-Based IO using kqueue/epoll. + Use CoroutineWaitList for virtual_::* I/O
2019-04-27 02:40:39 +03:00
lganzzzo
d8200cd28b
Introduce stream I/O Mode
2019-04-23 00:55:21 +03:00
lganzzzo
5a17971057
fix test/oatpp/AllTestsMain.cpp
2019-04-19 02:22:56 +03:00
lganzzzo
b573610a4b
refactor SpinLock
2019-04-18 03:17:58 +03:00
lganzzzo
61276f9c89
fix FullAsyncClientTest.cpp
2019-04-16 01:41:54 +03:00
lganzzzo
e41f83ece5
increase number of iterations for FullAsyncClientTest
2019-04-03 17:52:05 +03:00
lganzzzo
8d4711830d
new Async API draft
2019-04-03 05:16:23 +03:00
lganzzzo
c02f9f7c8e
fix virtual_/Interface std::shared_ptr inconsistency
2019-04-01 04:01:05 +03:00
lganzzzo
4d2487b4ff
fix to Input and Output stream interface
2019-03-31 15:37:16 +03:00
lganzzzo
5be7637c64
better AsyncIO error handling
2019-03-31 01:58:27 +02:00
lganzzzo
52e1754d12
Green tests after refactoring
2019-03-30 21:19:50 +02:00
lganzzzo
da5162c106
async::Action refactored. Async Error handling refactored.
2019-03-30 18:02:46 +02:00
lganzzzo
7f6dc1d556
FullAsyncClientTest
2019-03-27 01:00:30 +02:00
lganzzzo
d6ef7a4ec8
Add support for parsing header value set
2019-03-25 20:08:29 +02:00
lganzzzo
3b64520ff5
Refactor error handling in oatpp::encoding::Hex and oatpp::parser::json::Utils. More API Docs.
2019-03-23 05:10:07 +02:00
lganzzzo
9b7289c653
API docs for oatpp::web::protocol::http::outgoing::Request
2019-03-23 03:36:19 +02:00
lganzzzo
d9b42312bd
remove classes Thread and Runnable
2019-03-23 03:06:39 +02:00
lganzzzo
fa0b9561a6
minor refactoring plus more API-docs for oatpp::web::protocol::http::*
2019-03-22 04:33:45 +02:00
lganzzzo
0c9ff3a5da
refactor Controllable, refactor Config directives
2019-03-07 01:52:28 +04:00
lganzzzo
20c42b95c0
Proper disable pool allocations. + Config oatpp compiler options from cmake.
2019-03-05 03:09:24 +04:00
lganzzzo
03293ab720
merge query params mapping feature by @sauntor
2019-03-01 18:02:13 +02:00
lganzzzo
3eaac8955a
Merge remote-tracking branch 'lganzzzo/master' into merge_server_side_query_params_mapping
2019-03-01 17:13:33 +02:00
lganzzzo
32dcc3f780
better detailed endpoint info support
2019-03-01 02:15:46 +02:00
lganzzzo
4e298f9046
Serverside query params PR merge with oatpp/master
2019-02-26 16:01:07 +02:00
lganzzzo
d1822941b5
Header-files cleanup
2019-02-25 02:36:41 +02:00
lganzzzo
150219552f
Better OutputStream, ChunkedBufferTest
2019-02-25 01:02:58 +02:00
lganzzzo
7de960d456
Use MemoryLabel to parse URL query params. Network/UrlTest.
2019-02-24 20:40:51 +02:00
lganzzzo
c6c41034c0
pr-review
2019-02-24 13:31:57 +02:00
适然
80e6d483fb
add server side query parameters support
2019-02-24 15:25:35 +08:00
适然
37a4fd7fe1
add server side query parameters support
2019-02-24 15:22:24 +08:00
lganzzzo
44b1c9e32b
Uncomment all tests
2019-02-23 16:55:01 +02:00
lganzzzo
9efb58fc02
Better ClientServerTestRunner
2019-02-23 16:53:07 +02:00
lganzzzo
f7ce8ea873
better test framework. + ClientServerTestRunner
2019-02-23 02:43:15 +02:00
lganzzzo
1c4fb11296
ClientServerTestRunner draft
2019-02-22 19:18:59 +02:00
lganzzzo
ba4d22e1af
UnitTest::onRun return void
2019-02-22 15:48:34 +02:00
lganzzzo
6a6133556c
Fix to virtual_::Pipe. Crash Fix in StrBuffer (Small_String_Pool)
2019-02-22 03:10:01 +02:00
lganzzzo
1884218e13
uncomment tests
2019-02-20 14:37:52 +02:00
lganzzzo
70494f30a7
test for oatpp::parser::Caret
2019-02-19 17:13:50 +02:00
lganzzzo
896719cbd7
partial parser::Caret refactoring
2019-02-17 17:14:04 +02:00
lganzzzo
75eaa09263
remove ',' in license header
2019-02-16 23:38:47 +02:00
lganzzzo
66096514f5
use FIFOBuffer for StreamBufferedProxy(InputStream)
2019-02-07 08:10:05 +02:00
lganzzzo
10d961b99b
Better stream processing methods
2019-02-07 07:42:52 +02:00
lganzzzo
fe4b6fd4b1
Better IO. Use FIFOBuffer for StreamBufferedProxy(output stream)
2019-02-07 07:04:04 +02:00
lganzzzo
c4dfd04505
os::io::Library class removed
2019-02-07 02:53:33 +02:00
lganzzzo
b3cce34376
json better error handling
2019-02-01 05:48:10 +02:00
lganzzzo
6dc0898ef7
module restructuring
2019-01-21 05:03:23 +02:00
lganzzzo
b7988eca6f
introducing connection upgrade mechanism
2019-01-07 02:46:46 +02:00
lganzzzo
c9d39cc8d1
include cleanup
2019-01-03 01:25:57 +02:00
lganzzzo
fc2de10844
more tests added
2018-12-16 02:45:09 +02:00
lganzzzo
141a4fcd25
better web/FullTest, web/FullAsyncTest
2018-12-16 02:03:33 +02:00
lganzzzo
062411e072
better simple and async web FullTest
2018-12-13 17:47:58 +02:00
lganzzzo
b16b9493d8
ControllerAsync for web::FullTest
2018-12-10 03:29:57 +02:00
lganzzzo
3a8fecee3d
better error handling for HeadersReader
2018-12-09 18:15:42 +02:00
lganzzzo
57f9b00e6a
basic refactoring in progress
2018-12-07 18:29:01 +02:00
lganzzzo
919d4472c1
new http-headers-parser concept
2018-11-25 13:52:11 +02:00
lganzzzo
e55755a77a
better test::network::virtual_::InterfaceTest
2018-11-15 20:34:54 +02:00
lganzzzo
06a58147cb
test::network::virtual_::InterfaceTest added
2018-11-15 16:21:29 +02:00
lganzzzo
ea215059ad
network::virtual_::InterfaceTest prepared
2018-11-15 12:01:11 +02:00
lganzzzo
f132bdd33f
virtual pipe test
2018-11-15 02:36:19 +02:00
Leonid Stryzhevskyi
1ab3543bd1
Cmd line args parser ( #21 )
...
* CommandLineArgumetns parser added
* fixed CMakeLists.txt
* Fix to linux build
* Fix linux build for tests
2018-10-28 23:20:58 +02:00
lganzzzo
766b4803aa
constexpr removed. base64 test
2018-10-17 12:22:24 +03:00
lganzzzo
633d051a6c
Log skipped values in json parser
2018-10-17 11:25:27 +03:00
lganzzzo
225c1f0615
conexpr removed from primitive type names
2018-10-17 11:10:00 +03:00
lganzzzo
714197b794
TypeTest included in CMakeLists
2018-10-17 10:47:02 +03:00
lganzzzo
8d4a91f97d
Debug loags removed, TypeTest added
2018-10-17 10:43:41 +03:00
lganzzzo
e4442d062e
more debug logs
2018-10-17 00:53:56 +03:00
lganzzzo
965764a93d
test logs
2018-10-17 00:43:20 +03:00
lganzzzo
a167fc6748
build script v1
2018-10-16 19:13:54 +03:00
lganzzzo
73f872b92b
Merge branch 'master' of https://github.com/oatpp/oatpp
2018-10-13 19:41:38 +03:00
lganzzzo
d9d125c0ea
code cleanup
2018-10-13 19:41:32 +03:00
Florian Rhiem
2ef6f2a184
Added basic CMakeLists.txt
2018-10-12 23:08:20 +02:00
lganzzzo
897938bc28
Async processor optimization
2018-10-02 03:15:15 +03:00
lganzzzo
204e8cce2a
Better ObjectMapping
2018-06-26 23:17:48 +03:00
lganzzzo
6effe7ae30
PtrWrapper, ObjectWrapper refactoring
2018-06-26 19:25:56 +03:00
lganzzzo
80aa0ca5ba
PtrWrapper moved to data::mapping::type
2018-06-26 16:34:27 +03:00
lganzzzo
938592ff67
new string concept. basic refactoring
2018-06-26 02:30:01 +03:00
lganzzzo
b8a8d41c4f
removed throw in memory pool delete
2018-06-07 00:45:58 +03:00
lganzzzo
6984994f2e
include path fix
2018-03-29 08:11:32 +03:00
lganzzzo
751d525539
restructuring and code cleanup
2018-03-29 07:50:20 +03:00