Emiel Bruijntjes
ab603ce007
Merge pull request #226 from mathiasdevos/master
...
Fixed unused parameter warnings in header files
2018-05-11 11:51:55 +02:00
Mathias Devos
9bb20437d0
Fixed unused parameter warnings in header files
2018-05-11 08:52:43 +08:00
Emiel Bruijntjes
3e94d9c502
Merge pull request #217 from pabigot/issue/214
...
numericfield: cleanup for floating point types
2018-05-01 22:18:34 +02:00
Rafal Goslawski
5b18c984b3
set Makefile soname to 3.0.2
2018-04-30 12:15:27 +02:00
Emiel Bruijntjes
5d69cc567c
more calls to openssl::err_clear_error() to prevent that the error queue contains errors that are not related to the operations that is being checked
2018-04-27 12:38:06 +02:00
Emiel Bruijntjes
670c4ac993
Merge pull request #222 from trevorperrin/SSL_Clear_Error
...
Clear SSL Error Queue
2018-04-27 12:27:09 +02:00
Trevor Perrin
416e244b31
Clear SSL Error Queue
...
The OpenSSL documentation states that the error queue for the current
thread needs to be emptied prior to the next TLS/SSL I/O operation,
or the call to SSL_get_error() will not be reliable.
2018-04-26 15:50:32 -05:00
Peter A. Bigot
4d34c582d0
numericfield: cleanup for floating point types
...
Rework so floating point values are supported to the same degree as
integer values.
Closes #214
2018-04-22 16:30:37 -05:00
Emiel Bruijntjes
d0a56f4235
Merge pull request #215 from pabigot/pr/213
...
Envelope: ensure const objects cannot be changed through _body
2018-04-21 01:59:22 +02:00
Peter A. Bigot
d0b5189d1e
Envelope: ensure const objects cannot be changed through _body
...
In commit 00b81949d3 where Message and
Envelope objects were made uncopiable the Envelope _body member was
changed from const char * to char * and a const_cast introduced to
remove the qualifier from the pointer passed to the constructor.
This technically produces undefined behavior when constructing an
Envelope() to publish data from a const buffer. It also risks future
bugs if a new subclass of Envelope mutates const objects through the
_body pointer.
Envelope does not need to support mutable or owned content. Move this
capability down to Message which is used in restricted situations where
the body size is set once and its content built up piecewise.
2018-04-20 18:27:53 -05:00
Emiel Bruijntjes
42c7010fe9
Merge pull request #213 from pabigot/issue/212
...
CMakeLists: generate and install pkg-config file
2018-04-20 16:39:26 +02:00
Peter A. Bigot
789d512c39
CMakeLists: generate and install pkg-config file
...
Closes issue #212
2018-04-20 09:20:20 -05:00
Emiel Bruijntjes
d857fbafde
better comment for the channel::consume() call, the comment about the consumer tag was wrong ( fixes #211 )
2018-04-19 09:56:35 +02:00
Emiel Bruijntjes
ce5ba55b01
Merge pull request #210 from theirix/fix_vdtor
...
Added virtual dtor to OutBuffer
2018-04-18 14:49:26 +02:00
theirix
a624bc872c
Added virtual dtor to OutBuffer
2018-04-18 15:46:46 +03:00
Emiel Bruijntjes
76144088cb
Merge pull request #209 from theirix/fix-const_cast
...
Replaced C-casts with const_cast for Envelope::body_
2018-04-18 14:39:45 +02:00
theirix
539128e559
Replaced C-casts with const_cast for Envelope::body_
2018-04-18 14:59:35 +03:00
Emiel Bruijntjes
6389795d47
libev example code now also starts a timer to publish data to the queue
2018-04-13 09:45:57 +02:00
Aljar Meesters
1db6ed13a6
libev implementation was incorrect when one single handler was used to manage multiple connections
2018-04-12 12:05:22 +02:00
Aljar Meesters
93a9b37843
{auto} fixed typo in readme
2018-04-11 16:02:50 +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