Commit Graph

815 Commits

Author SHA1 Message Date
aljar fe1538e8ae Set option via address. 2020-11-13 18:05:07 +01:00
aljar 11f1eaf2c3 Don't use the old random_shuffle and don't set a global seed. 2020-11-13 17:49:14 +01:00
aljar 4570496547 Add option to select an IP randomly instead of using the order provided by getaddrinfo, which is proximity based. 2020-11-13 17:10:30 +01:00
Rafal Goslawski f75c848250
bump version to 4.3.8 2020-10-30 14:40:18 +01:00
Rafal Goslawski 7a9d9b829a
bump version to 4.3.8 2020-10-30 14:40:10 +01:00
Emiel Bruijntjes 7c07ab12e2
Merge pull request #378 from CopernicaMarketingSoftware/poll-replace-select
select only supports upto fd 1024, which can cause stack smashing if using higher ones
2020-10-30 12:45:40 +01:00
Michael van der Werve 537ee3f440 select only supports upto fd 1024, and we need to support any possible fd 2020-10-30 11:51:29 +01:00
Emiel Bruijntjes 79d8839ceb
Merge pull request #377 from BratSinot/BratSinot-patch-1
<boost/bind.hpp> is deprecated, using <boost/bind/bind.hpp>.
2020-10-27 08:02:52 +01:00
Aleksander e79912e812
<boost/bind.hpp> is deprecated, using <boost/bind/bind.hpp>. 2020-10-26 19:31:11 +03:00
Rafal Goslawski 98727a28a6
Bump version to 4.3.7 2020-10-23 12:12:33 +02:00
Rafal Goslawski 467bb8583b
Bump version to 4.3.7 2020-10-23 12:12:22 +02:00
Emiel Bruijntjes d9f04c4f7d small textual changes to README 2020-10-23 08:21:48 +02:00
Emiel Bruijntjes eaf0d5e9b5 Merge branch 'master' of github.com:CopernicaMarketingSoftware/AMQP-CPP 2020-10-23 08:14:35 +02:00
Emiel Bruijntjes 9df895143f added docs for AMQP::Reliable and AMQP::Throttle 2020-10-23 08:14:26 +02:00
Emiel Bruijntjes bd0bf2d280
Merge pull request #376 from CopernicaMarketingSoftware/reliable-fix-ack-publish
fix to reliable class when publishing during ack/nack callback
2020-10-23 07:18:28 +02:00
Michael van der Werve ff30569cff {auto} fix to reliable class when publishing during ack/nack callback 2020-10-22 15:00:18 +02:00
Bas van Berckel 110706771a
Add missing recall implementation (#375)
* Add missing recall implementation
* create DeferredRecall if it doesn't exist

Co-authored-by: Bas van Berckel <bas.vanberckel@copernica.com>
2020-10-21 15:21:28 +02:00
Michael van der Werve cb4bcacc2f Merge branch 'master' of github.com:CopernicaMarketingSoftware/AMQP-CPP 2020-10-21 14:59:20 +02:00
Michael van der Werve e09f043f4b missing =0 on flags 2020-10-21 14:56:03 +02:00
Emiel Bruijntjes 698aa8f20a textual improvement 2020-10-21 11:59:04 +02:00
Emiel Bruijntjes 856546fa91
Merge pull request #374 from CopernicaMarketingSoftware/tagger
renamed confirmed to tagger and added unacknowledged counter
2020-10-21 11:52:31 +02:00
Michael van der Werve 295642cfcd {auto} renamed confirmed to tagger and added unacknowledged counter' 2020-10-21 11:50:34 +02:00
Rafal Goslawski fbbf4c17f4
Bump version to 4.3.6 2020-10-21 11:21:09 +02:00
Rafal Goslawski cce4594ce8
Bump version to 4.3.6 2020-10-21 11:20:52 +02:00
Emiel Bruijntjes c0ac8f78b2
Merge pull request #373 from CopernicaMarketingSoftware/reliable-disconnected-throttle
disconnected explicit reliance of reliable on throttle
2020-10-21 11:04:58 +02:00
Michael van der Werve 2262d92938 {auto} disconnected explicit requirement of reliable and throttle 2020-10-21 10:36:39 +02:00
Rafal Goslawski b4805f97aa
Bump version to 4.3.5 2020-10-19 13:24:08 +02:00
Rafal Goslawski 4e545d00ad
Bump version to 4.3.5 2020-10-19 13:23:53 +02:00
Emiel Bruijntjes aa42847570 added renamed DeferredPublish class (was DeferredConfirmedPublish) 2020-10-19 08:59:41 +02:00
Emiel Bruijntjes b7e9827e0c Renamed DeferredConfirmedPublish to DeferredPublish 2020-10-19 08:59:13 +02:00
Emiel Bruijntjes 31f2d78778 Breaking change: the channel.publish() method no longer returns a DeferredPublisher-object, because it was not logical that you had to reinstall the callbacks for bounce-methods after each individual publish() call, not was it logical that the callbacks were not always logically linked to the publish() operation that failed (they were always sent to the handler of the most recent publish() instead of to the handler of the failed publish()). At the same time we added a channel.recall() method that can be used to notify the library that user-space is prepared to recall/take-back/accept bounced messages 2020-10-19 08:52:50 +02:00
Michael van der Werve a7f2991b35 fix merge conflict 2020-10-15 10:27:01 +02:00
Michael van der Werve 6b9fc48923 update travisfile, newer compilers and newer build OS 2020-10-15 10:26:07 +02:00
Michael van der Werve 73d74fe37e
Update the test container to 20.04 2020-10-15 10:13:28 +02:00
Michael van der Werve ad428fa629 fix the remnant 'waiting' on the channel after error 2020-10-15 10:07:24 +02:00
Michael van der Werve ed62771667 fix nullptr_t compile error 2020-10-15 09:54:50 +02:00
Michael van der Werve 61f4cf244b fix voidfield issue 2020-10-15 09:41:59 +02:00
Michael van der Werve 5af76d874e empty queue on error 2020-10-15 09:35:27 +02:00
Emiel Bruijntjes 2e49fd1220
Merge pull request #345 from tarhan/master
Added Void field type
2020-10-14 21:02:12 +02:00
Rafal Goslawski b66de2944a
Bump version to 4.3.3 2020-10-14 13:13:45 +02:00
Rafal Goslawski f1705fb7b3
Bump version to 4.3.3 2020-10-14 13:13:24 +02:00
Michael van der Werve b368f9e635 bugfix; base handler was no longer (always) properly called 2020-10-14 11:21:02 +02:00
Emiel Bruijntjes 8f85ad7818
Merge pull request #371 from BratSinot/boost_asio_no_deprecated
Switch from deprecated io_service to io_context.
2020-10-14 09:38:16 +02:00
BratSinot 41019cb943 boost::placeholders in global namespace is deprecated. 2020-10-14 10:28:25 +03:00
BratSinot 93255e2de6 Switch from deprecated io_service to io_context. 2020-10-12 15:38:57 +03:00
Emiel Bruijntjes eb732aa162
Merge pull request #370 from CopernicaMarketingSoftware/onerror-throttle
onError and onLost for Throttle and Confirmed.
2020-10-12 13:23:41 +02:00
Michael van der Werve c58cb6748d onError handler can be set on throttle, and onError & onLost can also be set on messages sent via confirmed. 2020-10-12 12:02:04 +02:00
Emiel Bruijntjes d542ba8e44
Merge pull request #368 from CopernicaMarketingSoftware/throttle-close
Allow to close the wrapped Throttle / Confirmed class.
2020-10-07 16:18:14 +02:00
Michael van der Werve 0dc624a3e6 {auto} if there are no open messages, close channel directly 2020-10-07 16:12:15 +02:00
Michael van der Werve e227d1ed3a {auto} confirmed channel can now be closed correctly 2020-10-07 16:08:26 +02:00