Commit Graph

2085 Commits

Author SHA1 Message Date
Jean-Sébastien Pédron b0f24916f8 Merge branch 'stable' 2017-06-26 18:25:46 +02:00
Jean-Sébastien Pédron c655213f53 Merge branch 'resolve-deps-circles' into stable 2017-06-26 15:50:59 +02:00
Luke Bakken 19fbb09413 Small changes to Travis CI build
Use before_cache to make it clear why kiex_cleanup is called.
No sense in exporting PATH twice.
2017-06-23 13:13:23 -07:00
Michael Klishin fb7ce464d7 Merge pull request #88 from rabbitmq/fix-travis-ci-build
Fix Travis CI build
2017-06-23 04:13:29 +03:00
Luke Bakken 99d198b8ce Ensure ensure_kiex is called 2017-06-22 13:45:43 -07:00
Luke Bakken 32cab0509b rewrite shell script to RMQ team standard 2017-06-22 11:54:49 -07:00
Luke Bakken 7fc64ed3ad Try to fix enotsup error by using latest kiex
remove command that expects input

Add CircleCI configuration

Build and cache OTP 20 in Travis CI

increase WAIT for Travis

Build GNU make 4.2.1 too

Install kerl, change language to generic

Add build matrix

remove circleci, add two OTP versions
2017-06-22 08:07:22 -07:00
Michael Klishin f5d94224a7 Merge pull request #87 from rabbitmq/add-topic-unit-test
Add unit test for topic permissions map
2017-06-19 19:19:50 +03:00
Luke Bakken 945c098f49 fix Travis CI build 2017-06-19 09:12:14 -07:00
Luke Bakken 2bf3384d90 Add unit test for topic permissions map 2017-06-19 08:48:11 -07:00
Michael Klishin ab3f5cd752 Merge pull request #86 from rabbitmq/rabbitmq-erlang-client-85
Replace infinite timeouts with sensible defaults.
2017-06-15 21:48:31 +03:00
Michael Klishin 1905e30e67 Bump call timeout to 60s
To match default server heartbeat timeout.

While at it, increase initial connection timeout to 60s
to match (heartbeat timeout doesn't matter here specifically but
related in general).
2017-06-15 20:13:03 +03:00
kjnilsson c6e5a10035 Replace infinite timeouts with sensible defaults.
Change gen_server:call timeouts to use a configurable
default that is cached inside each process' process dictionary.
Also make supervisor shutdown timeouts use
the SUPERVISOR_WAIT value.

[#147178169]
2017-06-15 15:46:21 +01:00
Jean-Sébastien Pédron 85c8499a42 Use the new rabbit_*_common modules in rabbitmq-common
They were created in order to move their associated rabbit_* module to
rabbitmq-server to solve a dependency of rabbitmq-common on
rabbitmq-server

[#118490793]
2017-06-13 15:32:24 +02:00
Michael Klishin af13d840e8 Update rabbitmq-components.mk 2017-06-12 20:11:39 +03:00
Michael Klishin 3f000d5b07 Update rabbitmq-components.mk 2017-06-12 18:35:32 +03:00
D Corbacho 731c35946d Merge pull request #84 from rabbitmq/rabbitmq-erlang-client-83
Don't fail with a badrecord when adapter_info is undefined
2017-06-12 09:44:39 +01:00
Michael Klishin 2b492aba4c Match on function head per @Ayanda-D's advice 2017-06-12 01:11:43 +03:00
Michael Klishin c28c5ddbff Don't fail with badrecord when adapter_info is undefined
E.g. when connection failed because vhost access wasn't granted.

Fixes #83.
2017-06-11 01:47:51 +03:00
Michael Klishin ee01292540 Merge branch 'stable' 2017-06-02 18:14:58 +03:00
Michael Klishin 2c72623c7b Update rabbitmq-components.mk 2017-06-02 17:51:19 +03:00
Michael Klishin 07cbc2933b Merge branch 'stable'
Conflicts:
	rabbitmq-components.mk
2017-06-02 01:44:34 +03:00
Michael Klishin da61d21f3b Update rabbitmq-components.mk 2017-06-02 00:43:13 +03:00
Michael Klishin 2975297981 Update rabbitmq-components.mk 2017-06-01 18:01:25 +03:00
Jean-Sébastien Pédron a6c679271b Merge branch 'stable' 2017-05-16 17:54:19 +02:00
Jean-Sébastien Pédron cba8d60c26 Makefile: Load the new `rabbitmq-early-test.mk` early-stage plugin
See the corresponding commit in rabbitmq-common for an explanation.

[#144697185]
2017-05-16 17:01:51 +02:00
Jean-Sébastien Pédron 20fb0705b6 Update erlang.mk 2017-05-16 16:57:38 +02:00
Michael Klishin e19d6ed919 Merge branch 'stable' 2017-05-11 20:59:02 +03:00
lazedo 8f12de2cc7 supress warning for handlers when reason is shutdown 2017-05-11 20:58:38 +03:00
Michael Klishin 9fb06aba29 Merge pull request #80 from lazedo/patch-1
supress warning for handlers when reason is shutdown
2017-05-11 20:58:14 +03:00
lazedo b687dc85b0 supress warning for handlers when reason is shutdown 2017-05-11 18:33:50 +01:00
Michael Klishin 8332b46afc Merge branch 'stable' 2017-05-11 18:32:40 +03:00
Michael Klishin 0ed56a70b8 Delegate generic EXIT handling to implementation modules
The catch-all-and-ignore clause resulted in connections not actually
dying when they were expected to, wrecking havoc to some RabbitMQ server
test suites.

Per discussion with @dcorbacho.

This amends #79.
2017-05-11 18:24:19 +03:00
Michael Klishin 298e1c7d03 Delegate generic EXIT handling to implementation modules
The catch-all-and-ignore clause resulted in connections not actually
dying when they were expected to, wrecking havoc to some RabbitMQ server
test suites.

Per discussion with @dcorbacho.
2017-05-11 18:11:48 +03:00
Michael Klishin 476ff53b5b Merge branch 'stable' 2017-05-10 03:48:59 +03:00
Michael Klishin 69591877bd Improve logging 2017-05-10 03:48:40 +03:00
Michael Klishin a8b9fa9020 Merge branch 'stable' 2017-05-10 01:05:04 +03:00
Michael Klishin 60dd8f15b7 Merge pull request #79 from bitwalker/bitwalker/handle-trapped-exits
Properly handle trapped exits in amqp_gen_connection
2017-05-10 01:02:29 +03:00
Paul Schoenfelder 1feb5c857b Properly handle trapped exits in amqp_gen_connection
- Trapped exits were being forwarded to the connection module when it
  has no knowledge of what to do with them
- These unhandled exit messages were causing errors to occur
  unnecessarily
- This changeset ensures trapped exits are handled by the trapping
  process
2017-05-09 15:09:36 -05:00
Jean-Sébastien Pédron 692163ee1e amqp_channel: Use the new rabbit_amqqueue_common module
rabbit_amqqueue will shortly be moved to rabbitmq-server to fix a
dependency of this module on the broker.

[#118490793]
2017-05-04 19:29:31 +02:00
Jean-Sébastien Pédron 987c437106 amqp_network_connection: Use the new rabbit_ssl_options module
rabbit_networking will shortly be moved to rabbitmq-server to fix a
dependency of this module on the broker.

[#118490793]
2017-05-04 18:52:04 +02:00
Jean-Sébastien Pédron 21b3a3a292 amqp_direct_connection.erl: Use rabbit_cert_info
... to query certificate informations, instead of rabbit_ssl.

The former is provided by rabbitmq-common while the latter is in
rabbitmq-server. It allows to remove a dependency of the Erlang client
on the broker.

[#118490793]
2017-05-04 18:08:03 +02:00
Daniil Fedotov 85c1946b6a Replace dicts with maps 2017-04-27 10:10:49 +01:00
Jean-Sébastien Pédron d779ff4c79 Merge branch 'stable' 2017-04-19 12:34:38 +02:00
Jean-Sébastien Pédron a523296b6a Update erlang.mk 2017-04-19 11:59:17 +02:00
Michael Klishin 317e8f913c Merge branch 'stable' 2017-04-02 21:51:08 +03:00
Michael Klishin c9f57023f6 (c) year 2017-04-02 21:46:37 +03:00
Jean-Sébastien Pédron e030052d2e Merge branch 'stable' 2017-03-16 17:43:25 +01:00
Jean-Sébastien Pédron 65bb84d007 Makefile: Load rabbitmq-hexpm.mk Erlang.mk plugin 2017-03-16 16:32:26 +01:00
Arnaud Cogoluègnes ebd1655e5e Merge branch 'stable' 2017-03-08 16:25:33 +01:00