xqing2003
7737917886
solve memory leak
2018-06-01 23:30:30 +08:00
Rafal Goslawski
9aafe15620
Update CMakeLists.txt
...
Bump version to 3.1.0
2018-05-22 11:24:21 +02:00
Rafal Goslawski
0efac6a8da
Update Makefile
...
Bump version to 3.1.0
2018-05-22 11:24:19 +02:00
Emiel Bruijntjes
025fdb5530
Merge pull request #134 from mgibula/master
...
Add Publisher Confirms support
2018-05-14 22:42:56 +02:00
Marcin Gibula
cab0602dbf
Forgot to set ChannelImpl::_confirm
2018-05-14 22:36:49 +02:00
Marcin Gibula
26313cc775
Update documentation
2018-05-14 22:04:36 +02:00
Marcin Gibula
578abbf973
Update src/CMakeLists.txt
2018-05-14 21:44:01 +02:00
Marcin Gibula
ddee073278
Add onAck and onNack methods
2018-05-14 21:40:30 +02:00
Marcin Gibula
1a955b39af
Add deferredconfirm.h to amqpcpp.h
2018-05-14 21:35:08 +02:00
Marcin Gibula
76cf06d0ba
Comment fix
2018-05-14 21:34:43 +02:00
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
Emiel Bruijntjes
976e948cb0
added comments
2018-05-11 11:58:55 +02:00
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
Dirkco du Plessis
5ec49d5b8a
Added CountCallback to support 32bit unsigned int passed in defferedget.
2018-04-23 08:30:37 +01: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
Dirkco du Plessis
1479922901
Fix MSVC compile warning C4800 for bitwise operation resulting in int to boolean assignment.
...
Fix MSVC compile warning C4244 possible loss of data. Possible data loss from uint64_t to uint32_t.
2018-04-22 15:53:52 +01: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
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