Commit Graph

912 Commits

Author SHA1 Message Date
promero 0030bef793
Fixes #466 2022-07-07 11:52:17 +02:00
Emiel Bruijntjes 58389b9ca4
Merge pull request #459 from SebDieBln/Fix_compiler_warnings
Fix compiler warnings
2022-05-04 14:53:16 +02:00
Emiel Bruijntjes 69b62ad61d
Merge pull request #460 from SebDieBln/Fix_readme
Fix the readme section regarding the flag for building a shared library
2022-05-04 14:52:44 +02:00
Sebastian Dietrich eedfc00660 Avoid compiler warnings about unused parameters 2022-04-30 23:05:31 +02:00
Sebastian Dietrich cd9ba70b4a Fix the readme section regarding the flag for building a shared library 2022-04-30 23:05:03 +02:00
Emiel Bruijntjes beaa1939c9
Merge pull request #462 from SebDieBln/Fix_handling_of_large_messages 2022-04-30 10:04:10 +02:00
Sebastian Dietrich 1dd1c23fc7 Fix handling of large messages (larger than 2GB) 2022-04-28 21:10:07 +02:00
Emiel Bruijntjes 328d9d12de when retrieving data from an inbuffer, no longer restrict ourselves to uint32 2022-04-25 11:16:57 +02:00
Emiel Bruijntjes edd0bb7028 allow bigger bodies than fit in a uint32_t 2022-04-25 11:15:31 +02:00
Emiel Bruijntjes 98deb04dac
Merge pull request #455 from pgit/always-move-callbacks
Always move callbacks
2022-03-28 12:47:33 +02:00
Peter Eisenlohr 060e42a6dd don't call moved-from callbacks 2022-03-25 16:08:50 +01:00
Peter Eisenlohr fa1181aa63 Added const-ref wrappers to make changes backward-compatible. 2022-03-18 23:53:44 +01:00
Peter Eisenlohr 9c4cfffab8 std::move callbacks 2022-03-15 14:10:45 +01:00
Emiel Bruijntjes 5b213a31a9 Merge branch 'master' of github.com:CopernicaMarketingSoftware/AMQP-CPP 2022-01-26 16:59:04 +01:00
Emiel Bruijntjes 5625fdb59c update readme.md with onLost/onError handling example because it didnt compile (order was wrong) (fixes #422) 2022-01-26 16:58:28 +01:00
Emiel Bruijntjes 7c7152d0c2 update readme.md with onLost/onError handling example because it didnt compile (order was wrong) (fixes #442) 2022-01-26 16:57:01 +01:00
Emiel Bruijntjes faa58852cb the LibEvHandler::monitor() class is no longer private-final to allow user-space programs to further enhance it 2022-01-13 10:16:33 +01:00
Emiel Bruijntjes fc89bb83d1
Merge pull request #442 from matwey/libboostasio/heartbeat
libboostasio: Reimplement heartbeats
2022-01-12 19:56:49 +01:00
Matwey V. Kornilov 7aa321efb8 libboostasio: Reimplement heartbeats
Fixes: #251
2021-11-30 21:30:48 +03:00
Emiel Bruijntjes d5a7f3cdd1
Merge pull request #438 from TonyRoussel/add-message-deduplication-exchange
fix wrong exchange type check in ChannelImpl::declareExchange
2021-11-23 16:36:40 +01:00
Tony Roussel 6fd0e8f1d5 fix wrong exchange type check in ChannelImpl::declareExchange 2021-11-23 16:00:02 +01:00
Emiel Bruijntjes 04c77b5cff
Merge pull request #437 from TonyRoussel/add-message-deduplication-exchange
add x-message-deduplication exchange type
2021-11-23 14:50:56 +01:00
Tony Roussel c83708e9bd add x-message-deduplication exchange type
This exchange type exist on RabbitMQ server with the plugin rabbitmq_message_deduplication
This plugin code is available here: https://github.com/noxdafox/rabbitmq-message-deduplication
2021-11-23 14:13:55 +01:00
Rafal Goslawski b891cc37a6
Bump version to 4.3.15 2021-09-24 11:11:57 +02:00
Rafal Goslawski ef1264209e
Bump version to 4.3.15 2021-09-24 11:11:46 +02:00
Emiel Bruijntjes 24fcbc7248
Merge pull request #430 from CopernicaMarketingSoftware/timeout-issues
Timeout issues
2021-09-20 14:29:01 +02:00
Emiel Bruijntjes 0f596d7a6e added KEEPALIVE option to the TCP socket so that at least we are notified if the peer turns out to be non-connected 2021-09-20 12:48:30 +02:00
Emiel Bruijntjes e1e83dfba6 when a very short heartbeat timer is installed, the timer did not expire soon enough (the default 60-second timeout was still used for the timer) PLUS when we detect a heartbeat-timeout, we now close the connection with immediate effect (because we do not trust the regular AMQP handshake to do anything, because it is also not respecting heartbeats 2021-09-20 12:47:56 +02:00
Emiel Bruijntjes 4f54507a03
Merge pull request #429 from CopernicaMarketingSoftware/fix/remove-timer-again-call
Remove ev_timer_again calls
2021-09-16 12:58:14 +02:00
Raoul Wols 658da59a1b
Also start it again 2021-09-16 12:31:23 +02:00
Raoul Wols e36d8abcc9
Remove ev_timer_again calls
The documentation says about this function:

    If the timer is started but non-repeating, stop it (as if it timed out).

The timers are non-repeating, so we don't want this call.

https://linux.die.net/man/3/ev
2021-09-16 11:44:00 +02:00
Rafal Goslawski a363a9b953
Fixed typos in README.md 2021-09-10 12:44:17 +02:00
Emiel Bruijntjes e60280fb20
Merge pull request #423 from CopernicaMarketingSoftware/41307 2021-09-06 12:29:50 +02:00
Raoul Wols b25c3f3ea8
Use one-shot expirations instead of intervals for the libev backend 2021-09-06 12:08:18 +02:00
Emiel Bruijntjes cffbd346ae
Merge pull request #419 from CopernicaMarketingSoftware/40883 2021-08-10 17:20:23 +02:00
Raoul Wols 1d25f0acbc
Fixup sync handling for CopiedBuffer 2021-08-10 16:07:21 +02:00
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