Commit Graph

2028 Commits

Author SHA1 Message Date
Michael Klishin 52479099ec
Bump (c) year 2021-01-22 09:00:14 +03:00
Michael Klishin a5c8de73ce
Use ?assertEquals here 2020-12-01 06:13:10 +03:00
Michael Klishin 4c02de62ec
Wording 2020-12-01 06:12:44 +03:00
Ayanda-D 4a6bd67bc9 Add failing direct connection safe call timeout test/mock 2020-11-27 10:28:44 +00:00
Ayanda-D 0059fd7249 Add erlang client safe_call_timeouts tests 2020-11-26 17:30:18 +00:00
Ayanda-D d817c531f2 Add timeouts to direct connection establishment
operations. At some point, these have to timeout to
avoid having lingering connection processes attempting
remote connections under unstable conditions.

Improve handling of potential call timeout exceptions
in amqp_gen_connection.
2020-11-26 17:07:44 +00:00
Ayanda-D 5c469ed519 Ensure safe amqp client call timeouts on connection
establishment. This guarantees that the effective
call timeouts are always safe, i.e. granting enough
time to the underlying network operations, which must
always timeout first in case of any unexpected
lingering operations leading to timeouts. This eliminates
the chance of leaking connection processes when call
timeouts elapse, while underlying remote cconnection
establishment call was still taking place.
2020-11-26 17:02:49 +00:00
Luke Bakken 482907e1fa No longer use amqp_util:call_timeout/0 for wait_for_confirms. Allow specifying integer dimension via a tuple 2020-11-03 09:25:29 -08:00
Luke Bakken 78b1f67e75 Document the Timeout parameter to wait_for_confirms
This parameter is in seconds. Also remove superfluous `CALL_TIMEOUT` macro.

cc @dumbbell

Also see rabbitmq/rabbitmq-server#2490
2020-11-03 09:25:29 -08:00
Arnaud Cogoluègnes 76cb60ff56 Update rabbitmq-components.mk 2020-11-03 14:27:31 +01:00
Philip Kuryloski fbf08b3669 Restore the default gen_server timeout around ssl:setopts/2
amqp_main_reader:post_init/1 is invoked within
amqp_gen_connection:connect/1  with a timeout of ?CALL_TIMEOUT, so the
same timeout interval cannot be reasonably for both
2020-10-22 14:43:27 +02:00
dcorbacho 68225c6ef9 Switch to Mozilla Public License 2.0 (MPL 2.0)
(cherry picked from commit a40b700bf8453aa74819b5c4cd17b242afdd8c16)
2020-10-22 03:01:42 +03:00
Philip Kuryloski c25acbb385 Additional error handling while a connection is opened
Treat the timeout of ssl:setopts/2 as a known error when opening a connection
2020-10-21 20:47:48 +02:00
Philip Kuryloski ffb01e60c5 Be more defensive with the SSL socket when opening connections
Specifically, handle and return the error resulting from
`ssl:controlling_process/2` when opening a connection

Also increase the timeout around `ssl:setopts/2` when opening a
connection to the global client timeout
2020-10-21 16:21:20 +02:00
Michael Klishin 820793537d Update rabbitmq-components.mk 2020-10-21 12:55:27 +03:00
Luke Bakken 6c8ac0afea Take connection / channel limits into account
Starting the supervisor children could trigger a `not_allowed` if
connection or channel limits are exceeded. This change avoids the
`badmatch` error.

See:
https://github.com/rabbitmq/rabbitmq-server/runs/1243633742?check_suite_focus=true
2020-10-13 09:09:36 -07:00
Jean-Sébastien Pédron ecfe81fa3a Travis CI: Update config from rabbitmq-common 2020-10-13 17:42:48 +02:00
Jean-Sébastien Pédron 8cb9f3b02b ci: Remove unused files 2020-08-13 15:27:32 +02:00
Luke Bakken 6e40b010d2 Update rabbitmq-components.mk 2020-08-04 08:41:45 -07:00
Jean-Sébastien Pédron b55d1b16c6 Update rabbitmq-components.mk 2020-07-30 12:06:49 +02:00
Luke Bakken 367ee85743 Update rabbitmq-components.mk 2020-07-29 10:02:00 -07:00
dcorbacho e7ae2d18d7 Update erlang.mk 2020-07-21 14:31:25 +01:00
Jean-Sébastien Pédron e4d952b500 Update rabbitmq-components.mk 2020-07-21 12:07:55 +02:00
Michael Klishin 41429c5a44 Update rabbitmq-components.mk 2020-07-21 03:42:17 +03:00
dcorbacho fd34cc9b93 Revert drop of Exhibit B on MPL 2.0 2020-07-20 16:50:19 +01:00
dcorbacho 52ae0cfdb1 Update LICENSE 2020-07-20 10:39:28 +01:00
Michael Klishin b0fc2f511f Update MPL2 license file, drop Exhibit B
and add a VMware copyright notice.

We did not mean to make this code Incompatible with Secondary Licenses
as defined in [1].

1. https://www.mozilla.org/en-US/MPL/2.0/FAQ/
2020-07-17 14:53:10 +03:00
dcorbacho f2f2e0358b Switch to Mozilla Public License 2.0 (MPL 2.0) 2020-07-10 15:13:17 +01:00
Jean-Sébastien Pédron 0963744d8c Update erlang.mk 2020-06-23 17:12:45 +02:00
Michael Klishin 8171469eb1 Bump Recon to 2.5.1
for Erlang 23 compatibility of 'rabbitmq-diagnostics observer'

References zhongwencool/observer_cli#68.
2020-06-09 08:22:16 +03:00
Jean-Sébastien Pédron 9469ff21ed amqp_direct_connection: Use `selected_cipher_suite` instead of `cipher_suite`
... in the ssl:connection_information/1 returned proplist. `cipher_suite`
no longer exists in Erlang Git as of this commit (it is deprecated in
the documentation for quite some time). However, `selected_cipher_suite`
is supported in at least Erlang 21+, so let's use this one.
2020-05-14 11:34:46 +02:00
Gerhard Lazu 2087a45d81 Assert amqp_connection_close is OK
We want to see the value in CT logs if it's not ok.

This is in response to this test flake:
https://github.com/rabbitmq/rabbitmq-server/runs/551738403#step:5:4701

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2020-04-22 16:42:05 +01:00
Jean-Sébastien Pédron d72328ebdc Update erlang.mk 2020-04-21 16:18:12 +02:00
Michael Klishin ab1a5199dd Update unit test assertions 2020-04-01 14:06:44 +03:00
Carl Hörberg 1fc7a5e7da dont enable peer verification by default 2020-04-01 09:12:52 +02:00
Carl Hörberg dab035c6f8 enable SNI and TLS hostname verification by default 2020-03-31 23:54:28 +02:00
Jean-Sébastien Pédron d56461c038 Update copyright (year 2020) 2020-03-10 15:39:18 +01:00
Gerhard Lazu 06283c3ee4 Update rabbitmq-components.mk 2020-03-06 09:19:11 +00:00
Gerhard Lazu 02df60f532 Update erlang.mk 2020-03-06 09:16:59 +00:00
Jean-Sébastien Pédron 0e4c0ba835 Travis CI: Update config from rabbitmq-common 2020-03-04 14:24:22 +01:00
Jean-Sébastien Pédron 7013527564 Travis CI: Update config from rabbitmq-common 2020-03-04 11:17:08 +01:00
Gerhard Lazu 5d6fdab51b Update rabbitmq-components.mk 2020-02-11 15:31:40 +00:00
Michael Klishin a2589a512c (c) bump 2019-12-29 05:50:22 +03:00
Michael Klishin e8eda898fb Ignore ./sbin and ./escript 2019-12-25 00:19:32 +03:00
Michael Klishin 1595a86c34 amqp_client.gc_threshold => amqp_client.writer_gc_threshold
References #130.
2019-12-24 23:35:22 +03:00
Michael Klishin c310047f69 Introduce a fallback GC threshold value of 1GB
as used by the server.
2019-12-20 08:33:12 +03:00
Michael Klishin dfb4ff05de Bump default GC threshold to 1GB
In our testing we observe no meaningfully different peak
memory (carrier size) limit and 18 to 65% lower tail latencies
with small messages, and teen % lower with 50 MB messages.

Throughput is single digit % higher.

CPU usage was not meaningfully different on a four core host.

References rabbitmq/rabbitmq-common#343.
2019-12-20 08:02:50 +03:00
Michael Klishin 472bde25c7 Merge branch 'configurable_gc_threshold' of https://github.com/nyczol/rabbitmq-erlang-client into nyczol-configurable_gc_threshold 2019-12-20 03:34:38 +03:00
Jean-Sébastien Pédron 330172ce60 Update rabbitmq-components.mk 2019-12-12 13:14:50 +01:00
ANycz 3d42da42c6 make garbage collector threshold configurable 2019-12-11 22:13:50 +01:00
Michael Klishin e1e049ccd0 Use assertMatch from EUnit here 2019-11-21 22:19:52 +03:00
Grigory Starinkin 3b476b0a48 pass amqp parameters for direct channel to avoid sync call
to the connection process

performance optimisation
2019-11-20 11:43:01 +00:00
larrywax 8a1d41e21d don't check timerRef when handling timeout
this avoids a `no function clause matching` error that prevents connection restart
2019-10-11 12:12:06 +02:00
kjnilsson cda57b5872 Update rabbitmq-components.mk 2019-09-13 10:24:09 +01:00
kjnilsson 34caaa4f6f Update rabbitmq-components.mk 2019-09-04 10:30:46 +01:00
Jean-Sébastien Pédron 53568f3b35 Update erlang.mk 2019-08-29 20:44:29 +02:00
Arnaud Cogoluègnes dec254d52e Use credentials_obfuscation module
[#167070941]

References #123
2019-08-13 09:47:45 +02:00
Arnaud Cogoluègnes 3522722c42 Merge branch 'master' into rabbitmq-erlang-client-123-crypted-password-in-state 2019-08-12 14:00:52 +02:00
Michael Klishin d8f215f596 Update rabbitmq-components.mk 2019-08-11 01:47:43 +10:00
Jean-Sébastien Pédron a790b4fec8 Update erlang.mk 2019-08-02 09:53:10 +02:00
Michael Klishin dc13715d8c Update rabbitmq-components.mk 2019-08-01 17:13:04 +03:00
Arnaud Cogoluègnes f7f0112e2b Encrypt password in state
And decrypt it only when needed, to avoid logging the password in clear.
This is currently based on a simple obfuscation module in
rabbitmq-common.

[#167070941]

References #123
2019-07-29 16:06:03 +02:00
Arnaud Cogoluègnes d7b1b1bb07 Update rabbitmq-components.mk 2019-07-09 16:05:44 +02:00
Michael Klishin 2d229165dc Merge branch 'master' into oauth2-credential-expiration-support 2019-07-01 16:48:03 +02:00
Michael Klishin cdd616ad0d Introduce amqp_connection:update_secret/3
Part of OAuth 2 support. Allows clients to provide a refreshed access
token without closing and re-opening the connection.
2019-06-28 18:37:54 +02:00
Jean-Sébastien Pédron 4807230d45 Update rabbitmq-components.mk 2019-06-28 16:05:21 +02:00
Jean-Sébastien Pédron 7ca1de55e1 Update erlang.mk 2019-06-28 16:01:22 +02:00
Gerhard Lazu c509681b6a Update rabbitmq-components.mk 2019-06-03 02:23:28 +01:00
Jean-Sébastien Pédron 1fcc47589f Update rabbitmq-components.mk 2019-05-17 15:17:10 +02:00
Michael Klishin a6f2967c90 Update rabbitmq-components.mk 2019-05-17 08:36:12 +03:00
Michael Klishin fa09103095 Update rabbitmq-components.mk 2019-05-16 23:22:38 +03:00
Michael Klishin 609b158a9b Update rabbitmq-components.mk 2019-05-14 11:50:29 +03:00
Michael Klishin f8f652bf12 Update rabbitmq-components.mk 2019-05-13 16:40:20 +03:00
Gerhard Lazu dd68da393a Update rabbitmq-components.mk 2019-05-01 13:18:03 +01:00
Luke Bakken 7249dd8a65 Update rabbitmq-components.mk 2019-04-30 16:20:50 -07:00
Jean-Sébastien Pédron 08f045477f Update rabbitmq-components.mk 2019-04-30 14:47:22 +02:00
Daniil Fedotov afbe1723af Move rabbit_queue_collector to rabbit_common repo.
Collector is used by a connection supervisor, which may be on
the client side for direct connections.

Addresses #91.
Depends on changes in rabbitmq-server and rabbitmq-common
2019-04-23 16:42:07 -04:00
Gerhard Lazu 77d6a3a995 Update rabbitmq-components.mk 2019-04-22 21:54:55 +01:00
Daniil Fedotov c962727554 Increase wait timeout in tests to avoid false positives. 2019-04-11 15:07:59 -04:00
Spring Operator 27888c7189 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* http://blog.listincomprehension.com/search/label/procket (200) with 1 occurrences could not be migrated:
   ([https](https://blog.listincomprehension.com/search/label/procket) result ClosedChannelException).
* http://dozzie.jarowit.net/trac/wiki/TOML (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/TOML) result SSLHandshakeException).
* http://dozzie.jarowit.net/trac/wiki/subproc (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/subproc) result SSLHandshakeException).
* http://e2project.org (200) with 1 occurrences could not be migrated:
   ([https](https://e2project.org) result AnnotatedConnectException).
* http://erlang.org/pipermail/erlang-bugs/2012-June/002933.html (200) with 1 occurrences could not be migrated:
   ([https](https://erlang.org/pipermail/erlang-bugs/2012-June/002933.html) result ConnectTimeoutException).
* http://nitrogenproject.com/ (200) with 2 occurrences could not be migrated:
   ([https](https://nitrogenproject.com/) result ConnectTimeoutException).
* http://proper.softlab.ntua.gr (200) with 1 occurrences could not be migrated:
   ([https](https://proper.softlab.ntua.gr) result SSLHandshakeException).
* http://yaws.hyber.org (200) with 1 occurrences could not be migrated:
   ([https](https://yaws.hyber.org) result AnnotatedConnectException).
* http://choven.ca (503) with 1 occurrences could not be migrated:
   ([https](https://choven.ca) result ConnectTimeoutException).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://fixprotocol.org/ (301) with 1 occurrences migrated to:
  https://fixtrading.org ([https](https://fixprotocol.org/) result SSLHandshakeException).
* http://erldb.org (UnknownHostException) with 1 occurrences migrated to:
  https://erldb.org ([https](https://erldb.org) result UnknownHostException).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://cloudi.org/ with 27 occurrences migrated to:
  https://cloudi.org/ ([https](https://cloudi.org/) result 200).
* http://erlware.org/ with 1 occurrences migrated to:
  https://erlware.org/ ([https](https://erlware.org/) result 200).
* http://inaka.github.io/cowboy-trails/ with 1 occurrences migrated to:
  https://inaka.github.io/cowboy-trails/ ([https](https://inaka.github.io/cowboy-trails/) result 200).
* http://ninenines.eu with 6 occurrences migrated to:
  https://ninenines.eu ([https](https://ninenines.eu) result 200).
* http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 1 occurrences migrated to:
  https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) result 200).
* http://tools.ietf.org/html/rfc3986 with 1 occurrences migrated to:
  https://tools.ietf.org/html/rfc3986 ([https](https://tools.ietf.org/html/rfc3986) result 200).
* http://www.actordb.com/ with 2 occurrences migrated to:
  https://www.actordb.com/ ([https](https://www.actordb.com/) result 200).
* http://www.cs.kent.ac.uk/projects/wrangler/Home.html with 1 occurrences migrated to:
  https://www.cs.kent.ac.uk/projects/wrangler/Home.html ([https](https://www.cs.kent.ac.uk/projects/wrangler/Home.html) result 200).
* http://www.erlang.org/ with 1 occurrences migrated to:
  https://www.erlang.org/ ([https](https://www.erlang.org/) result 200).
* http://www.rabbitmq.com with 1 occurrences migrated to:
  https://www.rabbitmq.com ([https](https://www.rabbitmq.com) result 200).
* http://www.rabbitmq.com/ with 2 occurrences migrated to:
  https://www.rabbitmq.com/ ([https](https://www.rabbitmq.com/) result 200).
* http://www.rabbitmq.com/build-erlang-client.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/build-erlang-client.html ([https](https://www.rabbitmq.com/build-erlang-client.html) result 200).
* http://www.rabbitmq.com/erlang-client-user-guide.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/erlang-client-user-guide.html ([https](https://www.rabbitmq.com/erlang-client-user-guide.html) result 200).
* http://www.rabbitmq.com/protocol.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/protocol.html ([https](https://www.rabbitmq.com/protocol.html) result 200).
* http://www.rebar3.org with 1 occurrences migrated to:
  https://www.rebar3.org ([https](https://www.rebar3.org) result 200).
* http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* http://inaka.github.com/apns4erl with 1 occurrences migrated to:
  https://inaka.github.com/apns4erl ([https](https://inaka.github.com/apns4erl) result 301).
* http://inaka.github.com/edis/ with 1 occurrences migrated to:
  https://inaka.github.com/edis/ ([https](https://inaka.github.com/edis/) result 301).
* http://lasp-lang.org/ with 1 occurrences migrated to:
  https://lasp-lang.org/ ([https](https://lasp-lang.org/) result 301).
* http://saleyn.github.com/erlexec with 1 occurrences migrated to:
  https://saleyn.github.com/erlexec ([https](https://saleyn.github.com/erlexec) result 301).
* http://www.erlang.org/doc/man/gen_tcp.html with 1 occurrences migrated to:
  https://www.erlang.org/doc/man/gen_tcp.html ([https](https://www.erlang.org/doc/man/gen_tcp.html) result 301).
* http://www.erlang.org/doc/man/inet.html with 1 occurrences migrated to:
  https://www.erlang.org/doc/man/inet.html ([https](https://www.erlang.org/doc/man/inet.html) result 301).
* http://www.mozilla.org/MPL/ with 27 occurrences migrated to:
  https://www.mozilla.org/MPL/ ([https](https://www.mozilla.org/MPL/) result 301).
* http://zhongwencool.github.io/observer_cli with 1 occurrences migrated to:
  https://zhongwencool.github.io/observer_cli ([https](https://zhongwencool.github.io/observer_cli) result 301).
2019-03-20 03:14:58 -05:00
Michael Klishin d11a1a11d5 Travis: use Erlang 21.3, Elixir 1.8.1 2019-03-20 10:33:10 +03:00
Michael Klishin e7127b5bea Update rabbitmq-components.mk 2019-03-15 05:32:40 +03:00
Michael Klishin f30d26317d Update rabbitmq-components.mk 2019-03-15 05:05:32 +03:00
Josh Soref 5cebc94e48 spelling: various 2019-02-12 15:25:31 -05:00
Josh Soref 8b98b171ee spelling: protocol 2019-02-12 15:20:05 -05:00
Josh Soref 742f733131 spelling: macro 2019-02-12 15:08:22 -05:00
Josh Soref 59919feb51 spelling: license 2019-02-12 15:08:05 -05:00
Josh Soref 753679589b spelling: javascript 2019-02-12 15:06:56 -05:00
Josh Soref 1b73606e80 spelling: immediately 2019-02-12 15:06:09 -05:00
Josh Soref c1c728d773 spelling: heartbeat 2019-02-12 15:05:12 -05:00
Josh Soref 5ff5a9fa0d spelling: existing 2019-02-12 15:00:36 -05:00
Josh Soref b33948c0e8 spelling: exercise 2019-02-12 15:00:28 -05:00
Josh Soref 579cd05b68 spelling: abstract 2019-02-12 14:53:33 -05:00
Michael Klishin 9db072a0a9 Ignore PLT files 2019-02-07 19:37:47 +03:00
Michael Klishin f0a3a86f7a Merge branch 'master' into fix-dialyzer 2019-02-07 19:14:09 +03:00
Jean-Sébastien Pédron 56c23dc28f system_SUITE: Compare both IPv4 and IPv6 in close_remote_socket()
The default network interface used and how IPv6 is managed is very
system and configuration dependent. So here, when we look up the socket,
we use both IPv4 and IPv6.
2019-02-04 12:05:15 +01:00
Loïc Hoguin c2c3a046f2 Fix Dialyzer warnings 2019-01-22 14:31:46 +01:00
Michael Klishin c2971eef32 An attempt to make request/reply tests more stable on Concourse 2019-01-20 07:51:25 +03:00
Michael Klishin ad1b3921ac Merge pull request #114 from rabbitmq/no-async-recv
Use {active,once} instead of async_recv
2019-01-16 05:16:45 +03:00
Michael Klishin 80d94832e9 Travis: use Erlang 21.2 since 21.2.2 is not available 2019-01-16 04:41:27 +03:00
Loïc Hoguin d76750437b Use {active,once} instead of async_recv
A test had to be changed because closing the socket locally
does not trigger the condition we expect. It happened to work
before because async_recv is using a low level interface but
it wasn't really testing the right thing.
2019-01-15 14:37:03 +01:00
Michael Klishin b72cb3ca30 .travis.yml: sync Erlang and Elixir versions, require Erlang/OTP 21.2 2019-01-13 05:49:54 +03:00
Luke Bakken 3392a497a1 Update rabbitmq-components.mk 2019-01-09 12:54:48 -08:00
Luke Bakken 0c2ea091a2 Update rabbitmq-components.mk 2019-01-08 11:58:21 -08:00
Jean-Sébastien Pédron 638a8bc7f3 Travis CI: Update config from rabbitmq-common 2019-01-08 12:47:51 +01:00
Jean-Sébastien Pédron 6a6983bbc3 Travis CI: Update config from rabbitmq-common 2019-01-08 09:07:43 +01:00
Jean-Sébastien Pédron 6e5519559c Makefile: Remove the Hex.pm `maintainers` field from .app
It is now deprecated by Hex.pm.
2019-01-08 09:07:06 +01:00
Michael Klishin 26d4bf3d27 Update rabbitmq-components.mk 2018-12-06 18:28:33 +03:00
Michael Klishin d9f1c99a23 Update rabbitmq-components.mk 2018-12-06 00:21:06 +03:00
Jean-Sébastien Pédron 761a7e62d5 Update rabbitmq-components.mk 2018-11-30 14:56:41 +01:00
Jean-Sébastien Pédron fdf0985f50 Update rabbitmq-components.mk 2018-11-22 09:19:26 +01:00
kjnilsson bd074d7ef3 Update rabbitmq-components.mk 2018-10-29 12:43:10 +00:00
kjnilsson 0818e022d7 Handle basic.credit_drained frame
This frame is very specific to what the AMQP 1.0 plugin requires to work
and was emitted but not handled correctly. This implementation simply
handles the frame and forwards it on to the consuming process.

[#161256187]
2018-10-25 09:06:27 +01:00
Jean-Sébastien Pédron 7c5dadc93c Update rabbitmq-components.mk 2018-09-19 10:38:07 +02:00
Jean-Sébastien Pédron 37f3ead86a Update rabbitmq-components.mk 2018-09-11 14:22:20 +02:00
Michael Klishin 054b811252 Merge pull request #108 from rabbitmq/rabbitmq-erlang-client-107
AMQP(S) URI that specifies port without host should be an error
2018-08-09 18:00:18 +02:00
Jean-Sébastien Pédron 77a4e9e6a4 Update rabbitmq-components.mk 2018-08-09 17:44:06 +02:00
Luke Bakken dcf5637615 AMQP(S) URI that specifies port without host is an error
Fixes #107
2018-08-09 08:29:35 -07:00
Jean-Sébastien Pédron 10841b5954 Update rabbitmq-components.mk 2018-08-09 12:16:53 +02:00
Jean-Sébastien Pédron 67e22ebdc4 system_SUITE: Remove unused variable in init_per_testcase() 2018-06-07 12:13:14 +02:00
Jean-Sébastien Pédron 32451438d6 system_SUITE: Accept Erlang 21 stacktrace in channel_death()
[#157964874]
2018-06-07 12:13:10 +02:00
Jean-Sébastien Pédron 5e26aafeab Update rabbitmq-components.mk 2018-06-07 11:31:28 +02:00
Michael Klishin 3e36da8e6a Use 2047 instead of 2048
Since channel 0 exists on every connection for negotiation and
error communication.
2018-05-09 12:40:17 -05:00
Michael Klishin d06c845f49 Change channel_max default to 2048
Part of rabbitmq/rabbitmq-server#1593.
2018-05-09 10:05:46 -05:00
Jean-Sébastien Pédron 02d948d237 Update erlang.mk 2018-04-11 10:52:10 +02:00
Jean-Sébastien Pédron a1f222e8c9 Update rabbitmq-components.mk 2018-04-11 10:51:13 +02:00
Jean-Sébastien Pédron 38cefc3a38 Update rabbitmq-components.mk 2018-04-11 10:09:56 +02:00
Jean-Sébastien Pédron 7b7a217126 Travis CI: Update config from rabbitmq-common 2018-04-10 12:50:13 +02:00
Jean-Sébastien Pédron 113715b21c Update erlang.mk 2018-03-02 19:02:23 +01:00
Jean-Sébastien Pédron 3f44a92da9 Update rabbitmq-components.mk 2018-01-30 15:23:22 +01:00
Luke Bakken 5e0f07ba25 Update rabbitmq-components.mk 2018-01-29 16:22:06 -08:00
Jean-Sébastien Pédron c3b33bfeb3 Merge branch 'take-hostname-from-server-test-certificate' 2018-01-24 17:42:32 +01:00
Jean-Sébastien Pédron 5c984147bf system_SUITE: Take SNI hostname from server's certificate
The goal is to be consistent between the `Makefile` used to generate the
certificates and the Erlang code.

For instance, on some systems, the certificates were generated with a
short hostname while `inet:gethostname()`  could return an FQDN.
2018-01-24 17:39:11 +01:00
Jean-Sébastien Pédron 94b450d7d7 Update rabbitmq-components.mk 2018-01-23 17:21:15 +01:00
Jean-Sébastien Pédron 250d6da88c Update rabbitmq-components.mk 2018-01-23 15:31:05 +01:00
Jean-Sébastien Pédron ab0340d88a Update rabbitmq-components.mk 2018-01-23 12:50:19 +01:00
Diana Corbacho 9581c252cc Update rabbitmq-components.mk 2018-01-22 22:13:15 +00:00
Diana Corbacho f2738dac6a Update rabbitmq-components.mk 2018-01-22 21:53:59 +00:00
Luke Bakken 832c0e6195 Port fb82f5b8 to v3.6.x
Erlang 20.2 checks CN value in a server certificate by default, so provide the hostname in the TLS connection options

Ports parts of fb82f5b8f4a3ef56e5672592893199f00afb5741 from the v3.7.x branch

[152879230]
2018-01-03 08:02:22 -08:00
Luke Bakken b845a1e054 Merge branch 'rabbitmq-erlang-client-153560538' into rabbitmq-erlang-client-153560538-master 2017-12-15 11:14:52 -08:00
Luke Bakken 66bda6647f Only log a warning if the user has not set verify 2017-12-15 11:13:14 -08:00
Jean-Sébastien Pédron bc5cec15cb Travis CI: Update config from rabbitmq-common 2017-12-15 15:08:26 +01:00
Jean-Sébastien Pédron e3d588ec7f Travis CI: Update config from rabbitmq-common 2017-12-15 14:45:28 +01:00
Jean-Sébastien Pédron b16eeb91c2 Travis CI: Update config from rabbitmq-common 2017-12-15 08:44:26 +01:00
Jean-Sébastien Pédron d8fea197c6 Update rabbitmq-components.mk 2017-12-14 14:38:42 +01:00
Luke Bakken 3fea5a86b7 Ensure that verify_fun and server_name_indication are added to .config params, too
Fix issue with module for verify_fun

Fix bug in function clause

Fix test errors in OTP 20 due to empty tuple in list

Do not enable server_name_indication by default, nor verify_peer
2017-12-11 09:36:26 -08:00
Luke Bakken ab642a390f [152879230]
Add failing tests
Tests pass
Enable SNI in SSL test
Add server_name_indication when host is a hostname
Make verify_peer the default for amqps connections, requiring the user to opt-out
2017-12-05 11:09:03 -08:00
Jean-Sébastien Pédron 447dfb96f1 Update rabbitmq-components.mk 2017-12-01 17:11:22 +01:00
Jean-Sébastien Pédron 009c243286 Update rabbitmq-components.mk 2017-12-01 15:16:03 +01:00
Jean-Sébastien Pédron 95d996880d Update rabbitmq-components.mk 2017-11-28 14:00:28 +01:00