diff options
author | Sven Gothel <[email protected]> | 2022-02-02 12:02:56 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-02-02 12:02:56 +0100 |
commit | 28383462d9709021f738184337892e424104e0f3 (patch) | |
tree | c4fc21e6b1cc95466ba8d3e684c91af29660d79b /include | |
parent | e21dc0f99211d10190dec38881a5472f23962557 (diff) |
Bump jaulib v0.7.11 + required API adaption
Diffstat (limited to 'include')
-rw-r--r-- | include/elevator/IOUtil.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/elevator/IOUtil.hpp b/include/elevator/IOUtil.hpp index 93ebdb8..ce71c86 100644 --- a/include/elevator/IOUtil.hpp +++ b/include/elevator/IOUtil.hpp @@ -32,7 +32,7 @@ class IOUtil { typedef std::function<void (Botan::secure_vector<uint8_t>& /* data */, bool /* is_final */)> StreamConsumerFunc; - typedef jau::ringbuffer<uint8_t, uint8_t, size_t> ByteRingbuffer; + typedef jau::ringbuffer<uint8_t, size_t> ByteRingbuffer; /** * Operation result value @@ -150,7 +150,7 @@ class DataSource_URL final : public Botan::DataSource { uint64_t get_available() const noexcept { if( IOUtil::result_t::NONE != m_http_result ) { // http thread ended, only remaining bytes in buffer available left - return m_buffer.getSize(); + return m_buffer.size(); } if( m_url_has_content_length ) { return m_url_content_length - m_bytes_consumed; |