Commit Graph

1425 Commits

Author SHA1 Message Date
lganzzzo
66fdc4af2f network: ConnectionMonitor first steps 2021-08-19 22:38:52 +03:00
Leonid Stryzhevskyi
07b04dc7ca
Merge pull request #468 from bamkrs/buffered_streams
`FIFOBuffer` should accept an `WriteCallback`/`ReadCallback`
2021-08-19 14:21:30 +03:00
Benedikt-Alexander Mokroß
340212ba89 Fixed bug in FIFOInputStream::createShared() which did not pass the parameter to the constructor. 2021-08-19 09:03:46 +02:00
Benedikt-Alexander Mokroß
5d70a226ae FIFOBuffer should accept an WriteCallback/ReadCallback to its readAndWriteToStream and readFromStreamAndWrite functions.
There is no need to specialize on a `Stream`.

Its an non-breaking change. Also renaming the functions to `readAndWriteToCallback` and `readFromCallbackAndWrite` would break things.
2021-08-18 21:10:47 +02:00
Benedikt-Alexander Mokroß
67755cf00b
Merge pull request #466 from bamkrs/buffered_streams
Streams: New `FIFOStream` stream and `BufferedInputStream` interface
2021-08-18 10:09:59 +02:00
Benedikt-Alexander Mokroß
341812cf29
Merge branch 'v1.3.0' into buffered_streams 2021-08-18 09:22:30 +02:00
Benedikt-Alexander Mokroß
35a84e0d9e Added entry for FIFOStream and BufferedInputStream in changelog/1.3.0.md 2021-08-18 09:20:18 +02:00
Benedikt-Alexander Mokroß
23322d7cab Better documentation for FIFOStream. 2021-08-18 08:42:07 +02:00
Benedikt-Alexander Mokroß
d4b301a818
Update 1.3.0.md
Added note about Response::getBody()
2021-08-17 16:42:44 +02:00
Benedikt-Alexander Mokroß
635922fe26 Fixed bug preventing a correct buffer resize. 2021-08-17 16:01:44 +02:00
Benedikt-Alexander Mokroß
8746616841
Merge pull request #465 from bamkrs/response_body_getter
Added getter for `m_body` of `Response`
2021-08-17 14:48:12 +02:00
Benedikt-Alexander Mokroß
82b5528287 Added unified BufferedInputStream interface for buffered InputStreams 2021-08-17 14:13:52 +02:00
Benedikt-Alexander Mokroß
8b57320e71 Added write-callback enabled buffered InputStream using data::buffer::FIFOBuffer 2021-08-17 14:12:49 +02:00
Benedikt-Alexander Mokroß
f9dc17ae1f Added getter for m_body of Response 2021-08-17 14:05:14 +02:00
lganzzzo
e774517623 Merge branch 'master' into v1.3.0 2021-08-13 02:10:16 +03:00
Leonid Stryzhevskyi
777617321d
Merge pull request #456 from oatpp/#443_automatically_invalidate_connection
web::client::HttpRequestExecutor: Introduce ConnectionProxy for bette…
2021-08-05 00:32:01 +03:00
lganzzzo
177baed770 web::client::HttpRequestExecutor: Introduce ConnectionProxy for better connection management. (#443) 2021-08-05 00:18:25 +03:00
Leonid Stryzhevskyi
2fdaf6070c
Merge pull request #455 from oatpp/#443_automatically_invalidate_connection
web::client::HttpRequestExecutor: #443. Automatically invalidate clos…
2021-08-04 21:18:56 +03:00
lganzzzo
aa90bed836 web::client::HttpRequestExecutor: #443. Automatically invalidate closed connection. 2021-08-04 21:00:01 +03:00
lganzzzo
b6b7debc80 Merge branch 'v1.3.0' of github.com:oatpp/oatpp into v1.3.0 2021-08-04 01:39:57 +03:00
lganzzzo
a6695bebae provider::Pool::createShared: Add 'timeout' parameter 2021-08-04 01:39:51 +03:00
Leonid Stryzhevskyi
0347820d44
Update 1.3.0.md 2021-08-04 01:38:44 +03:00
Leonid Stryzhevskyi
d9824421a0
Update 1.3.0.md 2021-08-04 01:23:29 +03:00
lganzzzo
c804239cb4 add changelog/1.3.0.md 2021-08-04 00:15:26 +03:00
Leonid Stryzhevskyi
48bac535f4
Merge pull request #454 from oatpp/types_refactoring
Types refactoring
2021-08-04 00:08:50 +03:00
lganzzzo
6b2db1fe83 merge with 1.3.0 2021-08-04 00:04:27 +03:00
lganzzzo
a5d8172006 Merge branch 'master' into v1.3.0 2021-08-03 23:25:07 +03:00
Leonid Stryzhevskyi
c8ff271d06
Merge pull request #450 from ElementumOrg/master
Catching up with streaming changes
2021-07-29 15:49:23 +03:00
Denis Kuzmenok
bf0bd0aded Changed getKnownSize return type to v_int64 to properly deal with big sizes on 32-bit platforms. 2021-07-29 09:16:04 +02:00
Leonid Stryzhevskyi
b7d1ad5083
Merge pull request #448 from LaurentBergeron/required_dto_fields
add bool required to Property.Info
2021-07-28 23:29:56 +03:00
Laurent Bergeron
bd226e9120 add bool required to Property.Info 2021-07-27 14:52:55 -07:00
Leonid Stryzhevskyi
6c504bfb47
Merge pull request #444 from samarai-jk/master
ClientConnectionPool: close pool-connection if server has closed it
2021-07-20 08:35:20 +03:00
jk
9c3444b751 ClientConnectionPool: close pool-connection if server has closed it 2021-07-20 11:34:34 +08:00
Denis Kuzmenok
90011c2c14 Change proposed by Leonid 2021-07-02 17:53:07 +02:00
Denis Kuzmenok
27c88801be added a check for Status 206 to avoid direct body read. 2021-07-01 21:35:08 +02:00
Leonid Stryzhevskyi
ea442eae28
Merge pull request #440 from LogosDesignAS/FixForAndroidApi19
Android API 19 does not support the epoll_create1
2021-07-01 15:23:41 +02:00
Thomas Bowley
c4651919d8 Android API 19 does not support the epoll_create1 interface and should instead use the older epoll_create
See https://github.com/android/ndk/issues/394 for more information
2021-07-01 10:50:41 +02:00
Leonid Stryzhevskyi
c361f3eb19
json::mapping::Serializer::Config: Introduce escapeFlags (#381) (#382) 2021-06-11 14:46:35 +02:00
Leonid Stryzhevskyi
45996bf7fc
Merge pull request #435 from Yadoms/LinkWithMsvcStaticRuntime
Add option to link with MSVC static runtime (OFF by default)
2021-06-11 12:53:41 +03:00
Sébastien Gallou
47b34ef74c Make MSVC runtime setting available for all projects 2021-06-11 09:55:01 +02:00
Sébastien Gallou
6940d26f2e Add option to link with MSVC static runtime (OFF by default) 2021-06-11 00:20:16 +02:00
Leonid Stryzhevskyi
1f93f6caec
Merge pull request #424 from MHaselmaier/issue_408
Implementing Issue #408
2021-05-21 00:57:13 +03:00
MHaselmaier
72d7e56b4c Processors joins coroutineWaitListTimeoutChecker-thread in stop method instead of destructor 2021-05-20 21:15:43 +02:00
Leonid Stryzhevskyi
e70d4924de
Merge pull request #431 from oatpp/Remove_LinkedList
Replaced oatpp::core::collection::LinkedList by std::list
2021-05-20 01:06:06 +03:00
MHaselmaier
5c7934e56e Replaced core::collection::LinkedList by std::list 2021-05-18 22:14:23 +02:00
MHaselmaier
1ca104a440 Only push Coroutines back to the processor once their CoroutineWaitList was deregistered at the processor 2021-05-16 15:38:40 +02:00
MHaselmaier
e7219035a2 Fixed race condition 2021-05-16 09:57:01 +02:00
Leonid Stryzhevskyi
1c38fa2c7f
Merge pull request #430 from oatpp/enforce_standard_compliance_on_msvc
Added /permissive- flag on MSVC to enforce standard compliancy
2021-05-16 02:22:15 +03:00
MHaselmaier
0c32028c04 Remove CoroutineWaitList from timeout-checked waitlist if the last Coroutine for a given Processor was resumed 2021-05-15 14:02:27 +02:00
MHaselmaier
f6d487dc52 Revert "Rebased this branch from v1.3.0 branch"
This reverts commit d2684c8004.
2021-05-15 12:19:35 +02:00