Emiel Bruijntjes
e7f76bc75d
the TcpConnection class no longer calls back to userspace / to the user-supplied handler if user-space explicitly destructs the object
2020-04-30 21:41:41 +02:00
Emiel Bruijntjes
a75b3d5d18
fix compiling on freebsd ( fixes #300 )
2020-04-20 17:34:41 +02:00
Emiel Bruijntjes
31e4a8596c
The onFinalize() callback could be called more than once, which is not ok
2020-04-18 16:50:14 +02:00
Emiel Bruijntjes
79fe85cc0b
added Channel::ready() method
2020-04-18 08:30:44 +02:00
Emiel Bruijntjes
da26b1112e
prevent crash when channelimpl unregistered from the connectionimpl, (hopefully) fixes #299 and fixes #326
2020-03-13 09:44:29 +01:00
Emiel Bruijntjes
7124975d4f
Merge branch 'master' of github.com:CopernicaMarketingSoftware/AMQP-CPP
2020-03-13 09:21:43 +01:00
Emiel Bruijntjes
599764ebb8
fix bug in Channel destructor for objects that were already moved
2020-03-13 09:21:26 +01:00
Emiel Bruijntjes
7a841e6be4
Merge pull request #322 from pingvincible/patch-1
...
Update README.md
2020-03-13 09:16:55 +01:00
Emiel Bruijntjes
f3ba779e67
deferred-chain was in kept in scope by a consumer-operation, this fixes #323
2020-02-28 12:45:45 +01:00
Rafal Goslawski
a2e4beb2a9
bump version to 4.1.6
2020-02-26 12:08:48 +01:00
Rafal Goslawski
cfa84d1654
bump version to 4.1.6
2020-02-26 12:08:34 +01:00
Rafal Goslawski
5ca2d77ae3
Merge pull request #320 from CopernicaMarketingSoftware/timoutFix
...
Fixed issue where timeout triggered an invalid error
2020-02-26 12:06:27 +01:00
pingvincible
ce05804cbf
Update README.md
...
incorrect cmake --build command
2020-02-22 01:38:49 +06:00
aljar
1e44e6b68b
Fixed issue where the negotiate was overwritten by the handler and the connection was closed but still a timeout was triggered
2020-02-19 11:19:12 +01:00
Emiel Bruijntjes
949dc933eb
fixed obvious typo in comment
2020-02-12 07:43:08 +01:00
Emiel Bruijntjes
46361c68bc
Merge pull request #306 from whoan/patch-1
...
Fix typo
2019-11-06 08:39:10 +01:00
Emiel Bruijntjes
77a0c99d00
Merge pull request #309 from LadMartin/bugfix/Channel-Unchecked-Callbacks
...
Adds channel callbacks checking
2019-11-06 08:38:42 +01:00
LAD Martin
022bd87ac1
Adds channel callbacks checking
2019-11-05 13:39:45 +00:00
Juan Eugenio Abadie
1de50752f2
Fix typo
2019-09-17 18:52:39 -03:00
Emiel Bruijntjes
5a648fe2d8
Merge pull request #298 from CopernicaMarketingSoftware/synchronous-fix
...
fix for incorrect handling of synchronous flag
2019-06-19 10:56:52 +02:00
Michael van der Werve
7b79b7c6e2
now we always flush when a success is reported, and the funcction is renamed to flush
2019-06-19 10:54:50 +02:00
Emiel Bruijntjes
f107b4aa3e
Merge pull request #288 from metricq/master
...
fix access to free'd memory in case of errors
2019-06-19 10:49:43 +02:00
Emiel Bruijntjes
c328b93f9a
Merge pull request #295 from pabigot/pr/20190530b
...
linux_tcp/poll: fix undefined behavior in select
2019-06-19 10:42:39 +02:00
Emiel Bruijntjes
d08db14310
Merge pull request #291 from cscovino/patch-1
...
Update README.md
2019-06-19 10:40:55 +02:00
Michael van der Werve
c82fce8ec9
fix for incorrect handling of synchronous flag
2019-06-19 09:38:56 +02:00
Peter A. Bigot
a6930f5c36
linux_tcp/poll: fix undefined behavior in select
...
The select(2) system call on Linux now includes the restrict qualifier
on the fd_set pointers passed in, causing a diagnostic in gcc9 for the
call blocking for both read and write. Pass a pointer to a temporary
copy of the set when two references are required.
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2019-05-30 10:53:09 -05:00
Michael van der Werve
19d82ed1f2
fixed issue where timer could set negative value in repeat if heavily delayed
2019-05-02 12:08:14 +02:00
Carlos Scovino
1cd2e6b542
Update README.md
2019-04-25 14:52:24 -03:00
Rafal Goslawski
f7317ab4f1
Bump version to 4.1.4
2019-03-07 17:19:48 +01:00
Rafal Goslawski
d851cbd122
Bump version to 4.1.4
2019-03-07 17:19:30 +01:00
Emiel Bruijntjes
b4a67ac618
fixed dealing with timers in libev handler
2019-03-06 12:53:35 +01:00
tilsche
d3f35fb524
fix duplicate _connection->remove call on ConnectionImpl objects that were already destroyed, but didn't detach in case of errors
2019-03-04 16:53:31 +01:00
Emiel Bruijntjes
180eae10b6
Merge pull request #283 from weili-jiang/fix-wunused-result
...
Check pipe writes in linux_tcp to suppress Wunused-result in GCC
2019-02-05 00:03:18 +01:00
weili-jiang
fc22637578
Check pipe writes in linux_tcp to suppress Wunused-result in GCC
2019-02-05 08:33:28 +13:00
Rafal Goslawski
e9acf15685
Update .travis.yml
2019-01-22 11:09:08 +01:00
Rafal Goslawski
13d96108f5
Update .travis.yml
2019-01-22 11:08:37 +01:00
Rafal Goslawski
a0a6afe93b
Update .travis.yml
2019-01-22 11:05:58 +01:00
Rafal Goslawski
7797dd2c2e
Fix cmake call in travis
2019-01-22 11:00:08 +01:00
thijs-blom
a18e518ac8
when heartbeats were disabled, the event loop refcount would not be restored correctly after the timer expired. This has been fixed ( #281 )
2019-01-17 16:16:38 +01:00
Rafal Goslawski
532cc731fb
Bump version to 4.1.2
2019-01-15 13:42:58 +01:00
Rafal Goslawski
2f71c6d3f3
Bump version to 4.1.2
2019-01-15 13:42:32 +01:00
Emiel Bruijntjes
375733ac09
Merge pull request #279 from CopernicaMarketingSoftware/heartbeat_fix
...
Give the server more time to send a heartbeat
2019-01-15 13:33:35 +01:00
Thijs Blom
a3c68009e7
Give the server more time to send a heartbeat to make sure one missed heartbeat does not close the connection
2019-01-15 13:12:57 +01:00
Rafal Goslawski
3e5cbd0c5d
Bump version to 4.1.1
2019-01-10 17:38:12 +01:00
Rafal Goslawski
14fc4c91ad
Bump version to 4.1.1
2019-01-10 17:37:53 +01:00
Emiel Bruijntjes
22076c34ad
Merge pull request #277 from CopernicaMarketingSoftware/heartbeat-timer
...
ev_timer_again should be called after next has been set to a new value
2019-01-10 16:59:13 +01:00
Michael van der Werve
0857022bc4
ev_timer_again should be called after next has been reset
2019-01-10 15:59:57 +01:00
Emiel Bruijntjes
e10fd61ac8
slightly prettified the code
2019-01-10 08:25:31 +01:00
Emiel Bruijntjes
964398292a
Merge pull request #275 from CopernicaMarketingSoftware/ssl-eliminate-copy
...
Don't buffer SSL unless necessary
2019-01-10 08:23:59 +01:00
Rafal Goslawski
c49dca3890
Bump version to 4.1.0
2019-01-08 16:49:24 +01:00