Commit Graph

926 Commits

Author SHA1 Message Date
Emiel Bruijntjes a09e33a609 fixed copy and move constructors of the PassthroughBuffer (fixes #418) 2021-08-10 14:24:04 +02:00
Raoul Wols 1dc169810d
Add missing include (#416) 2021-08-05 17:20:43 +02:00
Emiel Bruijntjes cd53dc0d8c Update issue templates 2021-08-04 09:35:25 +02:00
Emiel Bruijntjes 79dacc965f Update issue templates 2021-08-04 09:31:31 +02:00
Emiel Bruijntjes 2749d36a9c
Merge pull request #408 from benjamg/patch-1
Tiny typo in example
2021-08-02 08:39:32 +02:00
Emiel Bruijntjes 4b62948275
Merge pull request #411 from CopernicaMarketingSoftware/remove-unused-class
Remove unused ConsumedMessage class
2021-08-02 08:38:57 +02:00
Emiel Bruijntjes c7c36ab3c4
Merge pull request #409 from Niederb/master
Three small improvements
2021-08-02 08:38:19 +02:00
Thomas Niederberger f342edcfaf Add ON value for CMake build flags 2021-08-01 11:20:28 +02:00
Thomas Niederberger 592a8bf691 Fix typo 2021-08-01 11:20:28 +02:00
Raoul Wols 0499863da2
Fix SSL state bugs (#413) 2021-07-30 14:50:15 +02:00
Raoul Wols f0f17cdf18
Remove unused ConsumedMessage class 2021-07-28 12:14:50 +02:00
Ben Gray e981a8b2aa
Tiny typo in example 2021-07-23 18:52:50 +01:00
Raoul Wols 819af12055
Replace shared_ptr by unique_ptr for Fields (#402)
There is no real purpose to using shared pointers it seems.
2021-07-20 10:32:10 +02:00
Emiel Bruijntjes 29dd838478
Merge pull request #407 from CopernicaMarketingSoftware/40373
Print a better error message
2021-07-14 08:23:12 +02:00
Raoul Wols 2f26928e3e
docblock 2021-07-13 13:27:19 +02:00
Raoul Wols 477243d3f3
Handle newlines better in sslerrorprinter.cpp
According to 4cedf30e99/crypto/err/err_prn.c (L20)
the ERR_print_errors_cb function already adds newlines to the end
of each line. So we can just append right away. We do remove the
last newline as normally error messages don't end with a newline.
Also we may return 0 instead of 1.
2021-07-13 13:25:39 +02:00
Raoul Wols 40d2af913e
docblock 2021-07-13 13:19:32 +02:00
Raoul Wols 3ca1ef73ad
Lookup function in shared library 2021-07-13 13:12:32 +02:00
Raoul Wols df78574034
docblocks 2021-07-13 12:32:17 +02:00
Raoul Wols faa491ce65
remove BIO stuff completely, replace with callback 2021-07-13 12:31:04 +02:00
Raoul Wols 4d49b44283
separate cpp file 2021-07-13 11:37:31 +02:00
Raoul Wols d5819ef2dc
docblock 2021-07-13 11:24:08 +02:00
Raoul Wols 3bc7b62567
separate class for extracting errors 2021-07-13 11:23:08 +02:00
Raoul Wols 2f6451a9aa
Print a better error message
This is still missing the dlsym wrappers.
2021-07-12 18:44:16 +02:00
Emiel Bruijntjes d91a67c13e
Merge pull request #406 from CopernicaMarketingSoftware/40366
Monitor earlier in case flush() calls reportError
2021-07-12 15:55:52 +02:00
Raoul Wols e3678943cb
Monitor earlier in case flush() calls reportError. 2021-07-12 14:23:43 +02:00
Emiel Bruijntjes ead7b7962e
Merge pull request #405 from CopernicaMarketingSoftware/40362
Check if the callback is null again after flush()
2021-07-12 13:36:02 +02:00
Raoul Wols 0e6a1c52a9
Check if the callback is null again after flush()
The call to flush() may result in the _oldestCallback becoming a nullptr.
For instance, the SslConnected class might report an ssl error.
This causes the _oldestCallback to become null.
2021-07-12 12:51:47 +02:00
Emiel Bruijntjes 6df80e3b32
Merge pull request #403 from CopernicaMarketingSoftware/fix/segfault
Fix: cannot call size() on a moved-from Field
2021-07-01 14:06:22 +02:00
Raoul Wols 3649f41219
Fix: cannot call size() on a moved-from Field
Solution is to swap the statements.

This was regressed in 7532f5769d.
2021-07-01 13:48:10 +02:00
Emiel Bruijntjes 134ed73498
Merge pull request #401 from CopernicaMarketingSoftware/40169
Improve Table copy assignment operator
2021-07-01 12:54:20 +02:00
Emiel Bruijntjes 7532f5769d
Merge pull request #400 from CopernicaMarketingSoftware/fix/make-shared
Prefer make_shared over calling std::shared_ptr constructor
2021-07-01 12:53:03 +02:00
Raoul Wols 0f17bd0687
Improve Table copy assignment operator 2021-07-01 12:41:18 +02:00
Raoul Wols 3965739ccb
Don't rely on argument dependent lookup 2021-07-01 12:07:43 +02:00
Raoul Wols ac91e954c2
Prefer make_shared over calling std::shared_ptr constructor 2021-07-01 11:54:43 +02:00
Emiel Bruijntjes f52fdf6977
Merge pull request #398 from CopernicaMarketingSoftware/synchronous-success-callback
Avoid that multiple frames are sent by the channel-on-ready handler
2021-06-16 14:12:18 +02:00
Emiel Bruijntjes 45775fefe8 avoid that multiple frames are sent by the channel-on-ready handler 2021-06-15 11:56:56 +02:00
Rafal Goslawski dc9d88f4b1
Bump version to 4.3.12 2021-05-14 09:33:48 +02:00
Rafal Goslawski 58052cce14
Bump version to 4.3.12 2021-05-14 09:33:39 +02:00
Emiel Bruijntjes 5612ea66ae
Merge pull request #395 from CopernicaMarketingSoftware/keepDeferredsAliveInTagger
Make sure the deffered objects stay in scope
2021-05-12 16:32:51 +02:00
aljar c2e0cc57eb Make sure the deffered objects stay in scope when we call into callback in tagger. 2021-05-12 15:09:25 +02:00
Emiel Bruijntjes 0d2ea8aa72
Merge pull request #388 from theirix/link-openssl
Find and Link OpenSSL
2021-01-18 17:20:11 +01:00
theirix e422fea429 Do not link OpenSSL, just provide include dirs 2021-01-18 16:51:40 +03:00
theirix d81abc0927 Find and link OpenSSL when building linux tcp 2021-01-16 10:04:30 +03:00
theirix 98bc6b4941 Up CMake requirement to have OpenSSL targets 2021-01-16 10:04:06 +03:00
Rafal Goslawski 9fa05100f4
bump version to 4.3.11 2021-01-15 11:03:32 +01:00
Rafal Goslawski b66ed6ed9a
bump version to 4.3.11 2021-01-15 11:03:20 +01:00
Emiel Bruijntjes 6d0ad0fe0d
Merge pull request #387 from CopernicaMarketingSoftware/fixTaggerClose
Fix Tagger::close
2021-01-14 10:05:02 +01:00
aljar 3b7ebb1077 The defered parameter indicatates if it failed, while the call in Tagger:close asumed that the parameter indicated usable. This is now fixed. 2021-01-14 09:16:35 +01:00
Emiel Bruijntjes 3dbd045d06 allow user space programs to initialize the SSL structure before a connection is set up 2021-01-01 18:52:54 +01:00