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
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