Commit Graph

712 Commits

Author SHA1 Message Date
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
Rafal Goslawski 10d7df6819
Bump version to 4.1.0 2019-01-08 16:49:09 +01:00
Michael van der Werve a774e6c10c on ssl error, make sure that it is found out 2019-01-08 13:14:42 +01:00
Michael van der Werve 63d4acdce3 should be in working order now 2019-01-08 12:58:38 +01:00
Emiel Bruijntjes 901298cd1c fixed libev handler: the heartbeat interval proposed by the server was not accepted 2018-12-17 16:19:40 +01:00
Emiel Bruijntjes 5d1d2c2852 fix timer that expired too early (fix #272) 2018-12-17 16:11:53 +01:00
Emiel Bruijntjes 1256c82d60 use std::list instead of std::vector 2018-12-14 00:07:19 +01:00
Emiel Bruijntjes 20d4104d18
Merge pull request #271 from CopernicaMarketingSoftware/heartbeats
Implemented custom heartbeats in Livev
2018-12-13 23:41:20 +01:00
Youri Moll a92dc27653 Implemented custom heartbeats in Livev 2018-12-13 13:01:38 +01:00
Rafal Goslawski edf06c0762
Merge pull request #270 from NozomiNetworks/compile-on-freebsd
This simple change allows the library to be compiled under FreeBSD.
2018-12-03 16:30:25 +01:00
Moreno Carullo 3d1605009b This simple change allows the library to be compiled under FreeBSD. 2018-12-03 13:00:00 +01:00
Emiel Bruijntjes 03ca83cb50 handle case when tcp connection is lost during reading, that should report an error back to user-space too (fixes #266) 2018-12-03 08:29:17 +01:00
Emiel Bruijntjes 6a02a62169 Merge branch 'master' of github.com:CopernicaMarketingSoftware/AMQP-CPP 2018-11-30 06:43:22 +01:00
Emiel Bruijntjes d2e3792abc fixed issue when end-of-file was encountered, this fixes #266 2018-11-30 06:42:54 +01:00
Emiel Bruijntjes 65e5a6d4d0
Merge pull request #269 from galeone/master
CMakeLists.txt: add_source_directory instead of add_subdirectory
2018-11-30 06:34:31 +01:00