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
Tamas Elekes
3bb7714f3b
dynamically loading openssl funtions during runtime work in progress
2018-03-06 14:39:36 +01:00
Emiel Bruijntjes
baa4450aa6
update indentation
2018-03-06 09:44:24 +01:00
Emiel Bruijntjes
a025e6c1c9
breaking change: the linux-tcp module is no longer included by default, applications that rely on this now have to explicitly include amcpcpp/linux_tcp
2018-03-06 08:46:17 +01:00
Emiel Bruijntjes
5b8841c937
removed more tabs
2018-03-06 08:45:12 +01:00
Emiel Bruijntjes
69596e49dc
removed tabs
2018-03-06 08:40:44 +01:00
Emiel Bruijntjes
69c615d0a4
removed tcp prefix from all ssl related classes
2018-03-06 08:39:42 +01:00
Emiel Bruijntjes
d52dea795d
fix compile error for libev example
2018-03-05 22:27:08 +01:00
Emiel Bruijntjes
72ffd5eb1a
disabled ssl for the time being
2018-03-05 22:25:58 +01:00
Emiel Bruijntjes
463eed89c0
work in progress on closing ssl connections
2018-03-05 22:24:19 +01:00
Emiel Bruijntjes
4a51c5dd60
improve ssl handshake methods
2018-03-05 20:08:09 +01:00