Commit Graph

295 Commits

Author SHA1 Message Date
lganzzzo
0d951e3c56 Types. Introduce Any. 2020-04-25 02:54:52 +03:00
lganzzzo
aaa6359d80 SimpleTCPConnectionProvider. Correct invalidateConnection() method. 2020-04-11 00:01:25 +03:00
Benedikt-Alexander Mokroß
328519e6c1 Response Description (Issue #212) 2020-04-02 13:55:11 +02:00
lganzzzo
51fbc2b4ea Fix memory leak. Correct type for array. 2020-02-14 17:42:46 +02:00
lganzzzo
a1ff01ce9c Better API Docs. 2020-01-25 01:48:37 +07:00
lganzzzo
f65798957e json::mapping::ObjectMapper. Support for unsigned int types. 2020-01-25 01:26:35 +07:00
lganzzzo
7f82cc7bc5 json::mapping::ObjectMapper. Remove old Deserializer. 2020-01-22 23:03:45 +07:00
lganzzzo
de9296d287 json::mapping::ObjectMapper. New deserializer. 2020-01-22 23:00:28 +07:00
lganzzzo
fc26498f45 json::mapping::ObjectMapper. Remove old Serializer. 2020-01-22 11:11:21 +07:00
lganzzzo
3c5c0d8f67 json::ObjectMapper. New configurable Serializer. 2020-01-22 11:02:02 +07:00
lganzzzo
e457d14765 'ClassId' structure with explicit int IDs instead of 'CLASS_NAME' addresses 2020-01-21 19:49:21 +07:00
lganzzzo
884e1683c0 Tests. Uncomment all tests. 2020-01-20 06:00:18 +07:00
lganzzzo
cb197bf05c HttpProcessor. Simple API. Select ContentEncoder according to 'Accept-Encoding' request header. 2020-01-15 06:27:32 +02:00
lganzzzo
25233d66ea http::outgoing::Request/Response. Check for EncoderProvider when sent. 2020-01-14 23:49:08 +02:00
lganzzzo
c639a58e69 http::outgoing. Remove redundant DtoBody. 2020-01-14 17:32:18 +02:00
lganzzzo
ddafe4207f Refactor. Simplify web::protocol::http::outgoing::Body 2020-01-14 16:31:18 +02:00
lganzzzo
ae85446432 Tests. Uncomment All. 2020-01-09 03:53:01 +02:00
lganzzzo
e5f24a8e55 IO. intruduce 'isValidIoHandle' function. Refactor. Change folder of IODefinitions.hpp 2020-01-09 03:38:34 +02:00
lganzzzo
121d079e7d Tests. Correct async::Executor stop. 2020-01-09 02:01:02 +02:00
lganzzzo
292647ca93 server::SimpleTCPConnectionProvider use select-accept. 2020-01-09 01:17:16 +02:00
lganzzzo
e3e6d4c004 Tests. Uncomment web tests. Increase number of iterations. 2020-01-08 01:26:01 +02:00
lganzzzo
34f6bc80d4 Comment test out 2020-01-08 00:47:58 +02:00
lganzzzo
11e154735c Log Connection. 2020-01-08 00:40:44 +02:00
lganzzzo
be993494b5 Tests. Reduce amount of iterations 2020-01-07 19:55:07 +02:00
lganzzzo
e3630f9df4 Tests. Comment tests. 2020-01-07 19:21:15 +02:00
lganzzzo
1a311de239 Tests. Uncomment All. 2020-01-07 18:35:14 +02:00
Leonid Stryzhevskyi
642ce18656
Fix windows ci build (#178)
* log request headers reader

* Tests. Pipeline run test on real port

* Log transfer pipe in

* Log tranfer write

* disable other tests

* log connection

* More logs for connection

* Check connection stream mode before returning IOAction.

* Fix connection stream mode check on Windows.

* Tests. Fix PipelineTest.

* Tests. Remove logging, and uncomment test.
2020-01-07 18:33:31 +02:00
lganzzzo
9f793a3771 Tests. CI. Test PipelineAsyncTest. 2020-01-07 15:06:29 +02:00
lganzzzo
d212fb843a Tests. CI. Log root endpoint. 2020-01-07 14:49:48 +02:00
lganzzzo
67991f8d74 Tests. Comment tests. web/PipelineTest. Log readResult. 2020-01-07 12:39:09 +02:00
lganzzzo
042765a00f Tests. web/PipelineTest. Log readResult. 2020-01-07 12:19:17 +02:00
lganzzzo
7a23c33420 Tests. Windows. PipelineTest more logs. 2020-01-07 03:07:10 +02:00
lganzzzo
80c4a91090 Fix Windows build 2 2020-01-07 02:54:13 +02:00
lganzzzo
8dd39ca65d Greed Testsgit add --all
q
2020-01-07 02:35:32 +02:00
lganzzzo
ce46616075 Fix multipart write/read. 2020-01-07 02:10:48 +02:00
lganzzzo
cff4bdf7bf Fix http::outgoing::ChunkedBody 2020-01-06 23:02:33 +02:00
lganzzzo
5d82f67816 Introduce web::protoco::encoding::Chunked. Encoder/Decoder 2020-01-06 16:43:10 +02:00
lganzzzo
26c5183654 Refactor. Switch to the new stream::transfer function. 2020-01-06 12:05:20 +02:00
lganzzzo
1de0c3d86a data::stream. Introduce better transferAsync function. 2020-01-06 00:44:37 +02:00
lganzzzo
dd18033a36 data::stream. Introduce better transfer function. 2020-01-05 22:28:47 +02:00
lganzzzo
aca6db6107 Introduce data::buffer::Processor. 2020-01-04 04:36:13 +02:00
lganzzzo
2cfef00127 Refactor stream interfaces. Rename stream inline read/write data. 2020-01-03 11:01:55 +02:00
lganzzzo
b2eaf749e8 Refactor stream interfaces. Tests. Fix pipelining tests. 2020-01-02 00:06:19 +02:00
lganzzzo
6e8a12885d Refactor stream interfaces. Linking OK. Fixing tests - first steps. 2020-01-01 23:33:51 +02:00
lganzzzo
14c53ee1a1 Refactor stream interfaces. Simplify and Unify. Compiles. Link errors. 2020-01-01 03:00:54 +02:00
lganzzzo
bc5df03d05 Refactor. Multipart reader. 2019-12-30 16:56:49 +02:00
lganzzzo
a99b5933eb Refactor. Streams hierarchy V2. Compiles. 2019-12-28 23:22:05 +02:00
lganzzzo
52e1e4835e Refactor. Streams hierarchy V2. 2019-12-28 17:34:56 +02:00
lganzzzo
30e0f7ad1e Tests. Add retries for FullAsyncClientTest. 2019-12-25 19:09:03 +02:00
lganzzzo
8fd96027e5 Stream Context. Input/Output stream return Context by reference. 2019-12-10 16:22:52 +02:00
lganzzzo
6e5701c298 Introduce stream::Context. 2019-12-08 04:24:42 +02:00
lganzzzo
5ef313004b Refactor. More consistent integer types. 2019-11-23 04:11:48 +02:00
lganzzzo
6ba549c99a merge with upstream 2019-11-22 17:40:36 +02:00
Bob Tolbert
5698e1baf7 remove unused variable warning 2019-11-22 04:56:07 -07:00
Bob Tolbert
3a517b6021 Merge branch 'master' into move_String_to_int64 2019-11-22 04:54:28 -07:00
lganzzzo
6e838fe3e9 Introduce 'v_buff_size' data type. 2019-11-22 04:47:50 +02:00
lganzzzo
e8b37193d9 merge with master 2019-11-22 02:52:57 +02:00
lganzzzo
235401fc3c Tests. Simplify UnicodeTest to take less time. Better solution. 2019-11-17 02:46:22 +02:00
lganzzzo
e44b51336b Tests. Simplify UnicodeTest to take less time. 2019-11-17 02:38:14 +02:00
lganzzzo
237e9c0c90 Coroutine. Add waitFor convenience method 2019-11-15 17:16:59 +02:00
lganzzzo
6ebc33521e Tests. ClientRetryTest.cpp disable timeout check on Windows. 2019-11-10 03:21:59 +02:00
lganzzzo
a3e6c44f11 Tests. More logs - network/virtual_/InterfaceTest.cpp 2019-11-06 13:49:52 +02:00
lganzzzo
d3883c5ecf Tests. Fix network/virtual_/InterfaceTest.cpp 2019-11-06 05:14:15 +02:00
lganzzzo
20253ea825 Tests. Uncomment tests. 2019-11-06 04:59:22 +02:00
lganzzzo
ae4da000ab Tests. web/ClientRetryTest. draft. 2019-11-06 04:45:27 +02:00
lganzzzo
7dc29f1dcf virtual_::Interface. Introduce ListenerLock. 2019-11-06 03:05:07 +02:00
Bob Tolbert
6d27ee3075 Move String and other sizes to v_int64 2019-11-03 17:30:07 -07:00
lganzzzo
bef97e4638 Better ConnectionPool. Introduce wrappers ServerConnectionPool, ClientConnectionPool. 2019-10-20 17:22:06 +03:00
lganzzzo
2592f79934 Tests. ConnectionPoolTest. 2019-10-20 05:27:22 +03:00
Leonid Stryzhevskyi
d03d540de9
Merge pull request #139 from bhorn/fixescorsswagger
Two Fixes with CORS and Swagger, one addition to `oatpp::String` to accomplish one fix
2019-10-16 15:15:24 +03:00
Benedikt-Alexander Mokroß
9802c361dc Removed StrBuffer::substr API 2019-10-16 12:01:53 +02:00
lganzzzo
834c09be44 make network::virtual_::Interface obtainable by name 2019-10-16 03:24:01 +03:00
Benedikt-Alexander Mokroß
2c33ef4c8e Merge branch 'master' into fixescorsswagger 2019-10-15 07:23:31 +02:00
lganzzzo
8212439a0b Refactor. Use LazyStringMap for Headers. 2019-10-13 03:33:05 +03:00
lganzzzo
e3a6334462 Tests. LazyStringMapTest. 2019-10-13 00:51:24 +03:00
lganzzzo
d67fa0ff53 Introduce LazyStringMap 2019-10-12 18:42:42 +03:00
lganzzzo
869966c466 Optimization. Keep buffer for response headers. 2019-10-12 16:37:36 +03:00
lganzzzo
2935dcd290 Tests. Add BufferStreamTest to list. 2019-10-12 14:15:17 +03:00
lganzzzo
bbc74c111c Tests. BufferStreamTest. 2019-10-12 14:14:21 +03:00
Benedikt-Alexander Mokroß
0f9f2374bd
Cleander CMakeLists.txt 2019-10-11 15:51:07 +02:00
Benedikt-Alexander Mokroß
e39ed22041
Removed leftovers from testing new functionalities 2019-10-11 15:39:11 +02:00
Benedikt-Alexander Mokroß
3b1db44078 Merge branch 'master' into controllerprefix
# Conflicts:
#	src/oatpp/codegen/api_controller/cors_define.hpp
2019-10-11 15:17:10 +02:00
Benedikt-Alexander Mokroß
6ab6c63adb Two Fixes with CORS and Swagger, one addition to oatpp::String to accomplish one fix
- Fix controller-router-prefix messing up CORS OPTIONS endpoints
- Fix missing path-params in swagger for CORS OPTIONS endpoints
- Added substr-methods to `oatpp::StrBuffer`
2019-10-11 15:12:32 +02:00
lganzzzo
8b4dc2e3b0 Optimization. Use BufferOutputStream in RequestHeadersReader. 2019-10-11 03:52:25 +03:00
lganzzzo
cc3c55ce90 Refactor. Rename to macro. 2019-10-09 18:53:06 +03:00
lganzzzo
49a6c50f03 Remove commented code 2019-10-04 01:00:32 +03:00
Benedikt-Alexander Mokroß
23545685ce Implemented comments from PR 2019-10-02 14:59:57 +02:00
Benedikt-Alexander Mokroß
68e41f05c1 Refactored to use the new ENDPOINT_INTERCEPTOR macro instead own interceptors 2019-10-02 14:02:49 +02:00
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
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
Benedikt-Alexander Mokroß
30b35ac6e7 Further refactored, MAX_AGE now also adjustable 2019-09-27 18:11:07 +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
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
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