Commit Graph

615 Commits

Author SHA1 Message Date
Emiel Bruijntjes c52e8ff0b2 added ConnectionHandler::onAttached() and ConnectionHandler::onDetached() methods 2018-10-28 10:04:34 +01:00
Emiel Bruijntjes c0241cac67
Merge pull request #195 from Aleksandrius/master
Fixed MinGW compilation on Windows
2018-10-27 12:52:52 +02:00
Emiel Bruijntjes 11af8a7f6b
Merge pull request #218 from RZRCDR/fix_msvc_compiler_warnings
Fix msvc compiler warnings
2018-10-27 12:52:07 +02:00
Emiel Bruijntjes 5836ab88d9
Merge pull request #256 from 0xflotus/patch-1
fixed some typos
2018-10-27 12:29:47 +02:00
Emiel Bruijntjes 5f06c453b4
Merge pull request #254 from carlcook/master
CMake tweaks to use library as a git submodule
2018-10-27 11:39:14 +02:00
Emiel Bruijntjes 9c5f1867ba update readme to include libuv (fixes #257) 2018-10-21 08:40:47 +02:00
Rafal Goslawski 358a90e2c7
Bump version 2018-10-16 14:31:17 +02:00
Rafal Goslawski 20240962bd
Bump version 2018-10-16 14:31:05 +02:00
0xflotus 97aaa4beaf
fixed some typos 2018-10-10 22:25:49 +02:00
Carl Cook 4b215f6ea3 Only link dl if using tcp lib 2018-10-03 10:41:34 +13:00
Carl Cook d3f4d28ecd Reverted override of option (and other minor changes) 2018-10-03 10:29:19 +13:00
Carl Cook c293114ce0
Merge pull request #1 from maciekgajewski/cmake-system-includes
cmake include path fixed to be a system include
2018-10-03 10:18:44 +13:00
Maciej Gajewski 36cfbd4d37 cmake include path fixed to be a system include 2018-10-02 16:25:00 +02:00
Carl Cook 10e021052f Tweaks to get building 2018-10-02 21:32:15 +13:00
Youri Moll ba532e0434 onError should be overloaded by subclass, otherwise callback installers are no longer available for that class. 2018-09-21 12:26:23 +02:00
Michael van der Werve 757feb10c6 tcpchannel should also be movable 2018-08-31 15:01:10 +02:00
Michael van der Werve 9d23e44071 Merge branch 'master' of github.com:CopernicaMarketingSoftware/AMQP-CPP 2018-08-31 14:44:29 +02:00
Michael van der Werve 31f6a18f37 channel should be movable 2018-08-31 14:44:19 +02:00
Emiel Bruijntjes 9661f290a6 removed code that is useless for others, fixes #248) 2018-08-29 19:33:06 +02:00
zerodefect 3d33332c23 Contint with gcc8/clang6 and Ubuntu Bionic LTS (#236)
* Updated container to bionic / added support for gcc-8.
* Specify compiler for gcc-6
* Added support for clang 6.
2018-07-17 10:37:34 +02:00
Michael van der Werve 8c44850792
Add AppVeyor badge
We have the build file, so it's nice to display the badge as well.
2018-07-17 10:34:56 +02:00
Emiel Bruijntjes 68272312fa
Merge pull request #235 from pabigot/pr/235
cleanup fixes in linux-tcp
2018-06-24 18:12:31 +02:00
Peter A. Bigot 94bff62986 Monitor: avoid null pointer dereference when copying instances
When the copy constructor was added to allow passing a monitor by value
into a lambda the implementation did not account for the possibility of
the watchable having already been destroyed.

Also provide the companion copy assignment to complete the triad.
2018-06-24 10:31:21 -05:00
Peter A. Bigot adf4fb3bc1 TcpResolver: reduce risk of accessing destructed TcpConnection
Invoking TcpHandler::onError might result in the connection being
destroyed.  Though the reference to it in TcpClosed() is likely benign,
it's safer to follow the standard practice of returning a nullptr to
indicate that the connection is known to be destroyed.
2018-06-24 10:31:21 -05:00
Emiel Bruijntjes e665916b85 Merge branch 'master' of github.com:CopernicaMarketingSoftware/AMQP-CPP 2018-06-15 09:19:37 +02:00
Emiel Bruijntjes 80ce6327bb fixed ssl handling: the sslconnected class incorrectly cached the readability/writability state of a socket, even after it already did a read- or write-operation, which could lead to the system getting to read mode when no data was expected 2018-06-15 09:19:27 +02:00
Emiel Bruijntjes 2430da76c3 refactored code 2018-06-10 20:46:11 +02:00
Emiel Bruijntjes a3a6a27efc
Merge pull request #230 from xqing2003/patch-1
fix memory leak
2018-06-10 20:40:20 +02:00
xqing2003 e40006058e
fix memory leak
fix memory leak when channel error
2018-06-06 22:11:55 +08:00
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