Commit Graph

874 Commits

Author SHA1 Message Date
Emiel Bruijntjes ad5ecea859
Merge pull request #382 from CopernicaMarketingSoftware/retry-interrupt
retry poll when interrupted by a signal
2020-11-23 09:59:55 +01:00
Michael van der Werve e4ec629d62 signals can interrupt poll, which is now taken as a failure but should be retried 2020-11-23 09:57:35 +01:00
Rafal Goslawski 7f40ad2d69
Bump version to 4.3.9 2020-11-18 13:37:43 +01:00
Rafal Goslawski 63dabdb232
Bump version to 4.3.9 2020-11-18 13:37:28 +01:00
Emiel Bruijntjes b05c06b226
Merge pull request #380 from basanets/master
Fixed the segfault which can happen after address.option("connectionOrder") return nullptr
2020-11-16 20:07:22 +01:00
Mikhail Basanets ced0de4eda Added check if the connectionOrder receives nullptr and not a valid string. This can be a case if address.option(connectionOrder) returns nullptr. 2020-11-16 19:56:28 +02:00
Emiel Bruijntjes bca39d8f29 simplified code, split up long methods in separate methods 2020-11-16 18:22:00 +01:00
Emiel Bruijntjes 21a431d8a8
Merge pull request #379 from CopernicaMarketingSoftware/randomIps
Add option to select an IP randomly
2020-11-16 17:38:12 +01:00
aljar f9d85f5d01 Use address to pass the option and add some extra options for sorting ips. 2020-11-16 16:30:29 +01:00
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