Marcin Gibula
2aa55b83c7
Replace old API with DeferredConfirm class
2018-05-14 21:12:34 +02:00
Marcin Gibula
bf1caa1eae
Add DeferredConfirm class
2018-05-14 21:05:49 +02:00
Marcin Gibula
a90c620709
Add BasicAckFrame and BasicNackFrame to class list
2018-05-14 21:05:07 +02:00
Marcin Gibula
eeee1c3c5f
Rename setConfirmMode() to confirmSelect()
2018-05-14 12:59:20 +02:00
Marcin Gibula
e0b04ad7e0
Remove messageCounter()
2018-05-14 12:55:15 +02:00
Marcin Gibula
bfd91b6ab5
Merge with upstream
2018-04-10 10:30:01 +02:00
Emiel Bruijntjes
9077111f03
update version number in Makefile
2018-04-05 11:13:52 +02:00
Emiel Bruijntjes
69a201e741
optimizid dealing with ssl connections by not going back to the event loop that often, and prevented that object was staying in send state if it was endlessly sending data and not receiving anything, found this out when working on issue #207
2018-04-05 11:10:55 +02:00
Emiel Bruijntjes
b26058f3e2
renamed bytesQueued() to queued()
2018-04-01 22:34:15 +02:00
Emiel Bruijntjes
0eb14c9756
Merge pull request #206 from MikePlayle/master
...
Add method to return the amount of queued outgoing data
2018-04-01 22:23:13 +02:00
Mike Playle
8800d2917e
Add method to return the amount of queued outgoing data
2018-04-01 10:54:05 +01:00
Emiel Bruijntjes
12046f970f
Merge pull request #205 from chris-downs/linux_tcp_header_readme
...
Add missing linux_tcp header in examples
2018-03-28 20:40:26 +02:00
Chris Downs
3e4a8defc3
Add missing linux_tcp header in examples
...
The examples for implementing the AMQP::TcpHandler class do not include the linux_tcp header, causing the TcpHandler class to not be found. Unless it was mistakenly not included in amqpcpp.h, the examples should reflect the requirement that it be included when TcpHandler is used.
2018-03-28 12:53:48 -05:00
Emiel Bruijntjes
49491e177a
Merge pull request #201 from i-rinat/master
...
Simplify inclusion as a subproject
2018-03-17 20:16:38 +01:00
Rinat Ibragimov
8768ac9c67
simplify inclusion as a subproject
2018-03-17 01:45:32 +03:00
Rafal Goslawski
58d51a74ef
Update CMakeLists.txt
...
Bump soversion to 3.0
2018-03-13 12:16:11 +01:00
Emiel Bruijntjes
0f4224e3bd
Merge pull request #199 from tud-zih-energy/fix-asio-close2
...
Fix shutdown issues with libboostasio
2018-03-12 14:17:41 +01:00
Emiel Bruijntjes
fe88874d69
Merge pull request #198 from tud-zih-energy/fix-ssl-linking
...
SSL Linking
2018-03-12 14:16:28 +01:00
tilsche
8a6adae8e6
Remove work from libboostasio example as it keeps the service alive even after everything is closed.
...
The example now terminates properly.
2018-03-12 12:07:20 +01:00
tilsche
cf7d2e49ff
allow for a clean shutdown of asio connections
...
remove heartbeat timer on close
make sure only weak references are stored in bindings even below C++17
2018-03-12 12:07:09 +01:00
tilsche
ec21091080
Make sure ssl files are included in the library and add missing libraries for linking the examples
2018-03-12 10:46:32 +01:00
Emiel Bruijntjes
f1c32242f7
Merge branch 'master' of github.com:CopernicaMarketingSoftware/AMQP-CPP
2018-03-10 14:56:18 +01:00
Emiel Bruijntjes
d2b2d5af14
shared-ptr has been turned into a unique-ptr for the tcp-state
2018-03-10 14:55:57 +01:00
Emiel Bruijntjes
11786ff10b
update docblock in boostasio class to warn users about the possible low quality of the code
2018-03-10 14:55:23 +01:00
Emiel Bruijntjes
23cae9de84
fixed Address constructor
2018-03-10 10:32:48 +01:00
Emiel Bruijntjes
d81565fe6a
fixed that stream operator of address wrote the port number when the default amqps port was used
2018-03-10 10:31:40 +01:00
Emiel Bruijntjes
1ee18911ce
fixed writing address to std::stream
2018-03-10 10:20:52 +01:00
Emiel Bruijntjes
1885a332a3
small changes to README
2018-03-10 01:01:01 +01:00
Emiel Bruijntjes
367de51d77
added method to intercept tls handshakes, and to verify certificates
2018-03-10 00:59:14 +01:00
Emiel Bruijntjes
4c2b8ff68e
added ability to set the handle to the openssl library (so that programs that load openssl via dlopen() can still use amqp-cpp)
2018-03-09 15:08:52 +01:00
Emiel Bruijntjes
d8bc58604d
update README
2018-03-09 14:12:44 +01:00
Emiel Bruijntjes
28b6c903e1
finished implementing amqps:// support
2018-03-09 13:55:49 +01:00
Emiel Bruijntjes
67056f6fd9
use localhost
2018-03-08 14:02:15 +01:00
Emiel Bruijntjes
c26005ddfb
work in progress on setting up tls connections to rabbitmq
2018-03-08 14:00:44 +01:00
Emiel Bruijntjes
e39ca5b012
ssl connection fixes
2018-03-08 13:36:56 +01:00
Emiel Bruijntjes
872d4e9a11
implemented flushing for ssl connections
2018-03-08 13:09:56 +01:00
Emiel Bruijntjes
bc4db8d8fe
elegant shutdown for ssl connections
2018-03-08 12:11:45 +01:00
Emiel Bruijntjes
38d504d8a0
reportClosed() is never called when still busy with ssl handshake, so that method has been removed, and better handling of scenarion in which user space destructs connections in onError() implementation
2018-03-08 11:20:07 +01:00
Emiel Bruijntjes
25df834e74
prevent ssl errors or reference count errors when copying around ssl objects
2018-03-08 11:04:39 +01:00
Emiel Bruijntjes
cea5a54487
fix bug: error about missing openssl was also reported when not even opening a secure connection
2018-03-08 10:44:42 +01:00
Emiel Bruijntjes
9a08c64ff7
more elegant close procedure for tcp connections
2018-03-08 10:37:49 +01:00
Emiel Bruijntjes
f23bcf19f1
improved docblocks in tcpstate.h header file, when an error or closed is reported to user space, the _handler variable is now reset to prevent that it will be used to report more than once (we still need to check if this does not trigger other errors), and the state object is no longer destructed after a reportClosed() call, so that it can clean up nicely (which we need to the tls shutdown anyway)
2018-03-08 10:02:42 +01:00
Emiel Bruijntjes
caa7277bb1
update README
2018-03-07 16:17:03 +01:00
Emiel Bruijntjes
8065cfe940
update docblock
2018-03-06 22:06:41 +01:00
Emiel Bruijntjes
7aa7794e3e
work in progress on ssl implementation
2018-03-06 22:03:53 +01:00
Emiel Bruijntjes
0ca9bc9dad
added error in case openssl is missing
2018-03-06 18:07:34 +01:00
Emiel Bruijntjes
25d5410b13
fixed some compile issues
2018-03-06 17:52:44 +01:00
Emiel Bruijntjes
963d06c1e8
Merge pull request #194 from CopernicaMarketingSoftware/openssl_auth
...
Openssl auth
2018-03-06 17:24:34 +01:00
Emiel Bruijntjes
fc1d8b14da
Merge pull request #192 from lion10243/master
...
Fix build_shared - EXPORT keyword in wrong position
2018-03-06 17:20:08 +01:00
Tamas Elekes
8ba8ed1727
dynamically loading openssl funtions during runtime work in progress
2018-03-06 14:40:46 +01:00