lganzzzo
0ed9ce14dc
tests: Add ConnectionMonitorTest
2021-09-23 00:21:49 +03:00
lganzzzo
964a68253e
ConnectionMonitor: introduce MetricAnalyser.
2021-09-22 02:22:03 +03:00
lganzzzo
c1da819763
Merge branch 'master' into connection_monitor
2021-09-22 01:52:35 +03:00
Benedikt-Alexander Mokroß
0dee902a69
Merge pull request #484 from bamkrs/server_replace_connectionprovider
...
Add setter for `Server`s `ConnectionProvider`.
2021-09-15 17:06:39 +02:00
Benedikt-Alexander Mokroß
d14dd5be90
Lockguards around m_connectionProvider->get()
2021-09-15 10:40:36 +02:00
Benedikt-Alexander Mokroß
dbab5a7acc
Synchronized setter functions.
...
Should we use two spinlocks (protecting two different variables)?
2021-09-15 09:28:18 +02:00
Benedikt-Alexander Mokroß
462b9c43bf
Add setter for Server
s ConnectionProvider
.
...
We may need synchronization for that.
2021-09-15 09:13:56 +02:00
lganzzzo
ee03d7bc54
Merge branch 'v1.3.0' into connection_monitor
2021-09-15 00:27:10 +03:00
lganzzzo
8cd357aba3
merge with master
2021-09-15 00:26:26 +03:00
Leonid Stryzhevskyi
9400c3014e
Merge pull request #482 from bamkrs/replace_headers
...
Add API to replace headers in requests and responses (Closes #481 ).
2021-09-14 16:01:31 +03:00
Benedikt-Alexander Mokroß
06a690d73e
Renamed replaceOrPut
to putOrReplace
.
2021-09-14 14:14:25 +02:00
Benedikt-Alexander Mokroß
8e9dafb9ad
Actually fix #481
2021-09-14 07:13:47 +02:00
Benedikt-Alexander Mokroß
1ce3e3bd16
Add API to replace headers in requests and responses ( Closes #481 ).
2021-09-10 08:12:14 +02:00
Leonid Stryzhevskyi
f1599f2144
Merge pull request #479 from Yadoms/fixCrossCompileWithGcc
...
Try to fix cross compilation for Raspberry/Synology
2021-09-08 01:53:09 +03:00
Sébastien Gallou
a39630d6d0
Try to fix cross compilation for Raspberry/Synology
2021-09-07 18:12:50 +02:00
lganzzzo
1230a81753
network: introduce ConnectionMonitor.
2021-09-07 02:17:50 +03:00
lganzzzo
eb666070ab
Merge branch 'v1.3.0' into connection_monitor
2021-08-27 00:17:31 +03:00
Leonid Stryzhevskyi
92b5a444d1
Merge pull request #473 from oatpp/string_convenience_improvement
...
oatpp::String: better convenience methods.
2021-08-25 01:14:11 +03:00
lganzzzo
e8b7aac6af
Refactor, rename String convenience methods.
2021-08-25 01:10:03 +03:00
lganzzzo
f70f949cf2
utils::String: Fix missing include.
2021-08-25 00:55:43 +03:00
lganzzzo
6ee5ddba3b
oatpp::String: better convenience methods.
2021-08-25 00:49:43 +03:00
lganzzzo
f4d0502056
oatpp version: 1.3.0
2021-08-24 23:07:31 +03:00
Leonid Stryzhevskyi
15fda20dcc
Merge pull request #471 from grisuthedragon/v1.3.0
...
oatpp::String works better with std::string
2021-08-24 23:03:28 +03:00
Martin Koehler
c125a21207
Added class and namespace to error message
2021-08-24 18:35:54 +02:00
Martin Koehler
d9cbbb7ceb
fixes from review
2021-08-24 15:54:20 +02:00
Martin Koehler
9ffabd91c9
oatpp::String works better with std::string
...
* The oatpp::String class owns a typecast operator to
std::string, now.
* The oatpp::String class is extended by the `equalsCI` function
for case-insensitive comparision of two strings.
This is required to get oatpp-swagger working again,
2021-08-24 12:54:50 +02:00
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