Commit Graph

658 Commits

Author SHA1 Message Date
Emiel Bruijntjes ec31f5ad11 added Channel implementation file (fixes #267) 2018-11-25 12:46:12 +01:00
Emiel Bruijntjes 91a23d5737 Merge branch 'master' of github.com:CopernicaMarketingSoftware/AMQP-CPP 2018-11-23 11:16:03 +01:00
Emiel Bruijntjes ee60aeb025 The Channel constructor now throws an exception if the max number of channels has been reached 2018-11-23 11:15:51 +01:00
Emiel Bruijntjes 799583ea39 Merge branch 'master' of github.com:CopernicaMarketingSoftware/AMQP-CPP 2018-11-21 13:56:53 +01:00
Emiel Bruijntjes 8eed709988 Connection::fail() will now also call the channel::onError method 2018-11-21 13:56:44 +01:00
Rafal Goslawski bddceb77f2
Bump version to 4.0.0 2018-11-15 11:48:53 +01:00
Rafal Goslawski 1dd04760a9
Bump version to 4.0.0 2018-11-15 11:48:34 +01:00
Emiel Bruijntjes 45ca61cc43 added TcpConnection::closed() 2018-11-14 14:15:52 +01:00
Emiel Bruijntjes 549fec5cb1 libevhandler only checks for heartbeats if not overridden by user 2018-11-12 22:07:48 +01:00
Emiel Bruijntjes 888dc8c40b added channel::usable() to replace channel::connected() 2018-11-12 15:24:25 +01:00
Emiel Bruijntjes 6432ce2ec1 added connection::usable() 2018-11-12 15:19:31 +01:00
Emiel Bruijntjes a80847dc5e fixed a couple of todos, make sure that onError() is always called 2018-11-12 12:12:04 +01:00
Emiel Bruijntjes 6f81b0a097 when tcp connection is lost, the pending operations are now reported with an error 2018-11-11 23:46:58 +01:00
Emiel Bruijntjes 8d08916b8c fixed libev compiler errors 2018-11-11 22:58:13 +01:00
Emiel Bruijntjes d83e88b95d fixed the libev handler to be compatible with amqp-cpp 4.0, and we now also close the connection if the server stops sending heartbeats 2018-11-11 22:54:42 +01:00
Emiel Bruijntjes fc21b62852 disable timer in libboostasio because it cannot handle multiple connections, fixes #251 2018-11-11 22:51:41 +01:00
Emiel Bruijntjes d6b80db194 improved heartbeats documentation 2018-11-08 17:52:03 +01:00
Emiel Bruijntjes aa424abba0 improved heartbeats documentation 2018-11-08 17:50:52 +01:00
Emiel Bruijntjes acf55c30fc added upgrade instructions 2018-11-08 13:32:09 +01:00
Emiel Bruijntjes 966e027990 added upgrade instructions 2018-11-08 13:31:49 +01:00
Emiel Bruijntjes f2aecd2365 added upgrade instructions 2018-11-08 13:31:25 +01:00
Emiel Bruijntjes a47034e141 added upgrade instructions 2018-11-08 13:30:27 +01:00
Emiel Bruijntjes 72b2a52f68 update readme 2018-11-08 10:46:31 +01:00
Emiel Bruijntjes 0337801fff update readme 2018-11-08 10:05:52 +01:00
Emiel Bruijntjes e83a07f871 renamed onClosed to onLost to prevent confusion between TcpHandler::onClosed() and ConnectionHandler::onClosed() 2018-11-08 09:58:36 +01:00
Emiel Bruijntjes b8b332dcec Merge remote-tracking branch 'origin/master' into refactored-tcp-connection 2018-11-08 08:39:13 +01:00
Emiel Bruijntjes da6744bf4d renamed ConnectionHandler::onConnectedO() to ConnectionHandler::onReady() 2018-11-08 08:34:58 +01:00
Emiel Bruijntjes 34f84e1ab7 handle unlikely error when ssl-handshake could not be started 2018-11-07 23:44:24 +01:00
Emiel Bruijntjes 06dc23190d added ConnectionHandler::onProperties and TcpConnectionHandler::onProperties 2018-11-07 23:22:25 +01:00
Emiel Bruijntjes f0ad90dd65 fixed compiler warning 2018-11-07 17:34:35 +01:00
Emiel Bruijntjes 428219ad83 simplified and improved the close procedure 2018-11-07 15:04:08 +01:00
Emiel Bruijntjes 64c876e65a removed support for TcpConnection::flush() and removed internal TcpShutdown state 2018-11-06 18:11:27 +01:00
Emiel Bruijntjes 6ea2d8dffd removed unneeded comment 2018-11-05 17:18:24 +01:00
Emiel Bruijntjes 9330231a69 fixed assigning the new state 2018-11-05 17:11:21 +01:00
Emiel Bruijntjes 54049f9e8e improved the tcp handler, added more methods to monitor whether a connection is connected, logged on and in an error state 2018-11-05 16:49:55 +01:00
Emiel Bruijntjes bb417e89c2 add support for ConnectionHandler::onAttached() and ConnectionHandler::onDetached() 2018-11-05 16:19:48 +01:00
Emiel Bruijntjes 359eec189f work in progress, simplified the tcp and ssl states 2018-11-05 16:18:20 +01:00
Michael van der Werve 328bd5397b
remove amqpipe references 2018-11-05 16:11:32 +01:00
Emiel Bruijntjes e617161c8c the state::abort() method is no longer needed 2018-11-05 15:49:22 +01:00
Emiel Bruijntjes b81bc340b5 work in progress on refactored tcp handling, to solve various issues, like the one that lost connections do not trigger operations to fail 2018-11-04 23:34:31 +01:00
Emiel Bruijntjes 3f32e8773d fixed typo and possible (but unlikely) crash in the tcp-resolver 2018-10-28 18:52:41 +01:00
Emiel Bruijntjes 62a4262a58 the TcpConnection::close() method now supports an "immediate" parameter to skip the official amqp handshake for closing down 2018-10-28 18:13:13 +01:00
Emiel Bruijntjes 8546f52cd0 added onAttached() and onDetached() to the TcpHandler interface 2018-10-28 10:22:01 +01:00
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