Commit Graph

500 Commits

Author SHA1 Message Date
Michael Klishin 73b02e6845 Close Web STOMP client connections when the node enters maintenance mode
Part of rabbitmq/rabbitmq-server#2321
2020-07-09 16:32:19 +03:00
Michael Klishin 13eb64d80a Unify Ranch ref construction for all listeners
This makes the refs predictable and easy to compute
from a listener record. Then suspending all listeners
becomes a lot simpler.

While at it, make protocol applications clean up
their listeners when they stop. This way tests
and other callers that have to stop the app
would not need to know anything about
its listeners.

Part of rabbitmq/rabbitmq-server#2321
2020-06-24 04:27:34 +03:00
Jean-Sébastien Pédron 97eb451fa7 Update erlang.mk 2020-06-23 17:16:02 +02:00
Luke Bakken 48285b19ca Ensure that framing error is logged
Follow-up to #121 and #122
2020-06-17 06:29:35 -07:00
Luke Bakken 9cd55be9dd Use the new-style return value. 2020-06-12 08:43:53 -07:00
Luke Bakken 43c91d3c09 Use correct close code and provide error information 2020-06-12 08:11:41 -07:00
Michael Klishin 262698fa3a Squash a compiler warning 2020-06-12 07:59:27 +03:00
Luke Bakken 2c73b871ab Stop on errors
Rather than crashing with `case_clause`, errors returned in the data
handlers should result in the orderly shutdown of the STOMP connection.

Fixes #121
2020-06-11 14:17:31 -07:00
Michael Klishin 461299c113 Bump Recon to 2.5.1
for Erlang 23 compatibility of 'rabbitmq-diagnostics observer'

References zhongwencool/observer_cli#68.
2020-06-09 08:22:14 +03:00
Michael Klishin 35aeffb886 Expose use_http_auth in new style config schema
as web_stomp.use_http_auth.

Closes #119
2020-05-27 17:59:21 +03:00
Jean-Sébastien Pédron da1a774348 Update copyright (year 2020) 2020-03-10 17:02:18 +01:00
Gerhard Lazu 60ebb0a6b8 Update rabbitmq-components.mk 2020-03-06 09:19:22 +00:00
Gerhard Lazu 7911382560 Update erlang.mk 2020-03-06 09:18:48 +00:00
Jean-Sébastien Pédron e7e91527c9 Travis CI: Update config from rabbitmq-common 2020-03-04 14:24:33 +01:00
Jean-Sébastien Pédron 352f8f75b2 Travis CI: Update config from rabbitmq-common 2020-03-04 11:17:20 +01:00
Jean-Sébastien Pédron 91e5d2627c Travis CI: Update config from rabbitmq-common 2020-03-03 14:53:43 +01:00
Gerhard Lazu 91b7ad691c Update rabbitmq-components.mk 2020-02-11 15:31:51 +00:00
Michael Klishin 09acbb66d7 (c) bump 2019-12-29 05:50:38 +03:00
Jean-Sébastien Pédron 5a0b42c9fd Git: Ignore copied CLI 2019-12-12 15:14:47 +01:00
Jean-Sébastien Pédron 6d7564cfa2 Update rabbitmq-components.mk 2019-12-12 13:15:00 +01:00
Michael Klishin ab8eb667d1 Naming 2019-12-02 07:02:55 +03:00
Luke Bakken 6e90e5a042 Add support for client certificate authentication
Fixes #116

Ensure your config has `{ssl_cert_login, true}` in the `rabbitmq_web_stomp` section.
2019-11-27 12:19:50 -08:00
Michael Klishin 525dd258f1 Refactor to use ranch:start_listener/5
and avoid a warning from Ranch.

Closes #115.

References rabbitmq/rabbitmq-server#2069, rabbitmq/rabbitmq-web-mqtt#59.
2019-10-31 15:42:30 +03:00
kjnilsson 8578589247 Update rabbitmq-components.mk 2019-09-13 10:24:39 +01:00
kjnilsson 2938fbf314 Update rabbitmq-components.mk 2019-09-04 10:31:16 +01:00
Jean-Sébastien Pédron 78c207850c Update erlang.mk 2019-08-29 20:46:16 +02:00
Michael Klishin 6da11fffa2 Update rabbitmq-components.mk 2019-08-12 16:15:06 +10:00
Jean-Sébastien Pédron d9590636ed Update erlang.mk 2019-08-02 09:55:08 +02:00
Michael Klishin b50acc0841 Update rabbitmq-components.mk 2019-08-01 17:13:35 +03:00
Michael Klishin 8c78fcd189 RabbitMQ 3.6.x has long been out of support 2019-07-09 20:00:36 +03:00
Michael Klishin efaa42336c README edits 2019-07-09 19:59:40 +03:00
Michael Klishin d1fc4207d8 Update README.md 2019-07-09 17:21:45 +03:00
Michael Klishin 3bfc82662d Update README.md 2019-07-09 17:19:21 +03:00
Arnaud Cogoluègnes 12757d6a25 Update rabbitmq-components.mk 2019-07-09 16:06:17 +02:00
Jean-Sébastien Pédron d3b3fa93b2 Update rabbitmq-components.mk 2019-06-28 16:05:46 +02:00
Jean-Sébastien Pédron afc1ad789e Update erlang.mk 2019-06-28 16:03:16 +02:00
Michael Klishin 0c2c660f4f Configure Ranch to use max_connections value of 'infinity' by default
Also make the value configurable via web_stomp.max_connections.

While at it, reduce module naming delta with the Web MQTT plugin.
We mean to do this every time we have to touch this codebase, so
let's finally do the renaming.

Closes #113.
References rabbitmq/rabbitmq-web-mqtt#28, rabbitmq/rabbitmq-web-mqtt#55.
2019-06-07 13:10:03 +03:00
Gerhard Lazu b44429e06e Update rabbitmq-components.mk 2019-06-03 02:23:52 +01:00
Jean-Sébastien Pédron 40727f945d Update rabbitmq-components.mk 2019-05-17 15:22:19 +02:00
Michael Klishin 630c8c5030 Update rabbitmq-components.mk 2019-05-17 08:37:33 +03:00
Michael Klishin 1e07cd74e4 Update rabbitmq-components.mk 2019-05-14 11:51:15 +03:00
Michael Klishin 17d9d5bfbe Update rabbitmq-components.mk 2019-05-13 16:40:54 +03:00
Gerhard Lazu fd5a3793bb Update rabbitmq-components.mk 2019-05-01 13:18:31 +01:00
Luke Bakken 30372d93df Update rabbitmq-components.mk 2019-04-30 16:21:07 -07:00
Jean-Sébastien Pédron ea91f1476b Update rabbitmq-components.mk 2019-04-30 14:47:44 +02:00
Gerhard Lazu 1545a74858 Update rabbitmq-components.mk 2019-04-22 22:11:18 +01:00
Michael Klishin dc1214a507 Tests for #110 2019-04-22 18:11:06 +03:00
Nick Goossens f4edc66e62 Allow fallback to default_login when using a CONNECT frame 2019-03-28 09:00:41 +02:00
Spring Operator 0869d31e40 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://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://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.rabbitmq.com/community-plugins.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/community-plugins.html ([https](https://www.rabbitmq.com/community-plugins.html) result 200).
* http://www.rabbitmq.com/plugin-development.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/plugin-development.html ([https](https://www.rabbitmq.com/plugin-development.html) result 200).
* http://www.rabbitmq.com/plugins.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/plugins.html ([https](https://www.rabbitmq.com/plugins.html) result 200).
* http://www.rabbitmq.com/web-stomp.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/web-stomp.html ([https](https://www.rabbitmq.com/web-stomp.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://rabbitmq.com/stomp.html with 1 occurrences migrated to:
  https://rabbitmq.com/stomp.html ([https](https://rabbitmq.com/stomp.html) 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.mozilla.org/MPL/ with 16 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:25:46 -05:00
Michael Klishin 38886d6adf Travis: use Erlang 21.3, Elixir 1.8.1 2019-03-20 10:33:23 +03:00
Michael Klishin 275e93bd8d Update rabbitmq-components.mk 2019-03-15 09:34:57 +03:00
Michael Klishin 8c4678303b Update rabbitmq-components.mk 2019-03-15 05:06:06 +03:00
Michael Klishin e610898b6b Update rabbitmq-components.mk 2019-02-12 23:24:16 +03:00
Michael Klishin 7c1c1ecab0 .travis.yml: use 21.2 as 21.2.2 builds are no available 2019-01-14 01:20:29 +03:00
Michael Klishin 6be69a00c6 .travis.yml: sync Erlang and Elixir versions, require Erlang/OTP 21.2 2019-01-13 05:50:08 +03:00
Luke Bakken 923ebab8b7 Update rabbitmq-components.mk 2019-01-09 12:55:30 -08:00
Luke Bakken 58ef7fc7ad Update rabbitmq-components.mk 2019-01-08 11:58:38 -08:00
Luke Bakken 0e10d5e74d Reverse order of ciphers in generated file to ensure they match rabbitmq.conf. The ct helpers will not verify this as the snippets and results are deep sorted 2018-12-31 12:02:25 -08:00
Luke Bakken df507e5695 Modify test so generated ciphers are in the expected order 2018-12-31 12:02:00 -08:00
Michael Klishin b0dcd50d53 Make sure a TCP listener is started by default
References #105.

Per discussion with @acogoluegnes.
2018-12-12 14:10:47 +03:00
Michael Klishin d4114d6d57 Support web_stomp.ssl.listener combined with other web_stomp.ssl.* settings
Closes #104, references rabbitmq/rabbitmq-web-mqtt#48.
2018-12-11 23:48:46 +03:00
Michael Klishin ffca5eff2f Merge pull request #101 from rabbitmq/ciphers-in-new-style-config
Support more web_stomp.ssl.* options, including cipher suites
2018-12-11 23:08:24 +03:00
Luke Bakken f065643504 Add settings to disable TCP and TLS listeners explicitly
Fixes #100
2018-12-11 08:15:25 -08:00
Arnaud Cogoluègnes 1df1209a25 Close STOMP connection on termination
Fixes #102
2018-12-11 13:58:24 +01:00
Michael Klishin 818bfd73c7 Support more web_stomp.ssl.* options, including cipher suites
References rabbitmq/rabbitmq-server#1712, rabbitmq/rabbitmq-server#1745.
2018-12-11 03:27:52 +03:00
Michael Klishin 84ae992eae New style config: support proxy protocol 2018-12-10 21:51:48 +03:00
Michael Klishin 078172af40 Update rabbitmq-components.mk 2018-12-06 18:29:12 +03:00
Michael Klishin 05f70821c8 Update rabbitmq-components.mk 2018-12-06 03:15:33 +03:00
Michael Klishin 89ab232908 Merge branch 'master' into rabbitmq-web-stomp-40 2018-12-05 21:04:23 +03:00
Loïc Hoguin 248280c61e Add PROXY protocol support 2018-12-04 13:23:14 +01:00
Jean-Sébastien Pédron baccff9ba8 Update rabbitmq-components.mk 2018-11-30 14:57:02 +01:00
Jean-Sébastien Pédron 447618a8a3 Update rabbitmq-components.mk 2018-11-22 09:19:46 +01:00
Loïc Hoguin fbcf52b691 Implement credits flow 2018-11-20 11:08:36 +01:00
Michael Klishin 2780475000 Travis: use Elixir 1.6.6, test on Erlang 21.1 2018-11-15 12:03:37 +00:00
Michael Klishin 217290d553 Drive by cosmetic changes 2018-11-15 10:11:53 +00:00
Loïc Hoguin 5f8a0fd46a Refactor Web-STOMP to be closer to Web-MQTT
This also discards a fair bit of unnecessary code that comes
from the old SockJS implementation, and reduces the number of
processes per connection by one.
2018-11-13 14:37:06 +01:00
kjnilsson 231225ae55 Update rabbitmq-components.mk 2018-10-29 12:43:36 +00:00
Michael Klishin 7af141e546 Use 10 TLS connection acceptors by default
Part of rabbitmq/rabbitmq-server#1729.

[#161136615]
2018-10-11 03:11:43 +03:00
Luke Bakken 05022a01b1 formatting 2018-10-08 13:40:00 -07:00
Michael Klishin 4194e10d5c Enable compression by default
References #89, #90.

[#161053760]
2018-10-08 21:44:19 +03:00
Michael Klishin 3a5d5b53c2 Handle unspecified ws_opts, references #89 2018-10-08 21:16:55 +03:00
Michael Klishin 3244059ffe Supprot more web_stomp.ws_opts.* options
[#161053760]
2018-10-08 19:13:46 +03:00
Michael Klishin b8b01e6fec Basic tests for WebSocket options in config schema
References #89, #90.
2018-10-08 15:46:09 +03:00
Michael Klishin 1f3694b236 Keep Cowboy WebSocket options under web_stomp.ws_opts.*
Much like @yjh0502 originally suggested.

This way we can support other options that potentially overlap
with regular Cowboy options, e.g. idle_timeout.

References #89, #90, rabbitmq/rabbitmq-web-mqtt#34.
2018-10-08 15:40:27 +03:00
Jihyun Yu 540ae1c054 allow websocket compression extension 2018-10-08 18:21:40 +09:00
Jean-Sébastien Pédron 642bcdac06 Makefile: Add ranch to the `BUILD_DEPS`
This is to enforce the version of Ranch which is picked, because Cowboy
also depends on Ranch and might pull another version.

[#160270896]
2018-09-19 15:11:47 +02:00
Jean-Sébastien Pédron a513f7bf8a Update rabbitmq-components.mk 2018-09-19 10:38:28 +02:00
Jean-Sébastien Pédron dbbb9fac5e Update rabbitmq-components.mk 2018-09-11 14:22:45 +02:00
Michael Klishin 04cd1d363f Make WebSocket endpoint configurable
Closes #86, inspired by rabbitmq/rabbitmq-web-mqtt#30.
2018-09-04 15:43:07 +02:00
Jean-Sébastien Pédron 9aee60f9de Update rabbitmq-components.mk 2018-08-09 17:44:26 +02:00
Jean-Sébastien Pédron bd86af9db9 Update rabbitmq-components.mk 2018-08-09 12:17:12 +02:00
Jean-Sébastien Pédron 30e9e063b6 Use rabbit_ws_handler as a regular module, not a parameterized one
Parameterized modules are removed in Erlang 21. There is a new compiler
option to emulate parameterized modules, but it's easy enough to change
the plugin to use regular module calling convention.

[#157964874]
2018-06-08 10:57:35 +02:00
Jean-Sébastien Pédron 7b1552d39a Update rabbitmq-components.mk 2018-06-07 11:31:48 +02:00
Jean-Sébastien Pédron db9ae80553 Update erlang.mk 2018-04-11 10:54:46 +02:00
Jean-Sébastien Pédron e7eff82e11 Update rabbitmq-components.mk 2018-04-11 10:51:33 +02:00
Jean-Sébastien Pédron e0ccaa36bb Update rabbitmq-components.mk 2018-04-11 10:10:15 +02:00
Jean-Sébastien Pédron 3f9212e62d Travis CI: Update config from rabbitmq-common 2018-04-10 13:10:12 +02:00
Michael Klishin 3c0c32cb2c Remove an unused default key
The port key is not used as listener configuration goes
into tcp_config. Web MQTT doesn't have this key, for example.
2018-03-27 02:06:14 +03:00
Luke Bakken 54d937354a Begin updating schema tests 2018-03-26 10:38:55 -07:00
Jean-Sébastien Pédron 8daa118f86 Update erlang.mk 2018-03-02 19:11:19 +01:00
Jean-Sébastien Pédron d89518e22c Update rabbitmq-components.mk 2018-01-30 15:24:04 +01:00
Luke Bakken 404bdc6a02 Update rabbitmq-components.mk 2018-01-29 16:22:29 -08:00
Jean-Sébastien Pédron c86de50a81 Update rabbitmq-components.mk 2018-01-23 17:21:53 +01:00
Jean-Sébastien Pédron 063993b8e7 Update rabbitmq-components.mk 2018-01-23 15:31:40 +01:00
Diana Corbacho 829a2d5960 Update rabbitmq-components.mk 2018-01-22 22:13:35 +00:00
Jean-Sébastien Pédron 0ee2674e24 Travis CI: Update config from rabbitmq-common 2017-12-15 15:18:38 +01:00
Jean-Sébastien Pédron 3ffee20107 Update rabbitmq-components.mk 2017-12-01 11:07:16 +01:00
Jean-Sébastien Pédron de5beb3deb Update rabbitmq-components.mk 2017-11-28 14:01:26 +01:00
Jean-Sébastien Pédron 334b26a73b Update rabbitmq-components.mk 2017-11-28 13:33:32 +01:00
Jean-Sébastien Pédron ba20be5307 Travis CI: Update config from rabbitmq-common 2017-11-08 12:30:35 +01:00
Daniil Fedotov da1c0b247e Support cowboy2. Drop support for SockJS.
STOMP processor uses socket, which is not retrievable from request
object.
We use custom protocol and middleware to transfer it to the
web stomp  handler
Add tests for https connection.
2017-10-23 10:24:00 +01:00
Jean-Sébastien Pédron 84c4a09aff Merge branch 'stable' 2017-10-13 15:14:54 +02:00
Jean-Sébastien Pédron 840cbda2d3 Update rabbitmq-components.mk 2017-10-13 14:33:20 +02:00
Jean-Sébastien Pédron 6b785cefff Update rabbitmq-components.mk 2017-10-13 14:13:42 +02:00
Jean-Sébastien Pédron 8b5cdae53f Update rabbitmq-components.mk 2017-10-13 12:15:56 +02:00
Michael Klishin 10ed01efbd Update rabbitmq-components.mk 2017-09-13 17:54:56 -04:00
Michael Klishin f7bc44864e Update rabbitmq-components.mk 2017-09-13 17:45:52 -04:00
Michael Klishin 4920a5bf2d Update rabbitmq-components.mk 2017-09-12 19:53:47 -04:00
Michael Klishin 7ac654a753 Update rabbitmq-components.mk 2017-09-12 12:42:11 -04:00
Daniil Fedotov 186b608951 Merge branch 'stable' 2017-08-30 19:20:55 +01:00
Daniil Fedotov 7db37e319a Update erlang.mk 2017-08-30 18:46:45 +01:00
Daniil Fedotov c91cbc52d1 Use connection sink for logs.
SockJS logs should go to `connection` sink.

[#149634975]
2017-08-07 14:48:55 +01:00
Michael Klishin 82ba9038d8 Erlang/OTP 19.2 is now the minimum supported version.
Part of rabbitmq/rabbitmq-server#1305.

[#149563549]
2017-07-26 19:03:39 +03:00
Michael Klishin 11d680a46a Update rabbitmq-components.mk 2017-07-26 03:48:46 +03:00
Michael Klishin ae91e1aa17 Update rabbitmq-components.mk 2017-07-26 02:27:21 +03:00
Michael Klishin 1e9dbfbe89 Update rabbitmq-components.mk 2017-06-12 20:19:16 +03:00
Michael Klishin 252594042b Update rabbitmq-components.mk 2017-06-12 18:35:53 +03:00
Michael Klishin f4f67171cd Merge branch 'stable' 2017-06-10 09:29:15 +03:00
Luke Bakken 06fff7c4f8 Add passing tests for stomp->stomp messaging with headers, AMQP test not running correctly yet
fix up test that does an AMQP -> web stomp publish. No headers received

Build AMQP header tuples correctly
2017-06-09 11:09:30 -07:00
Michael Klishin 3a0cc6efc8 Merge branch 'stable' 2017-06-02 18:12:27 +03:00
Michael Klishin a6f11fb458 Update rabbitmq-components.mk 2017-06-02 17:51:40 +03:00
Michael Klishin da34b49667 Update rabbitmq-components.mk 2017-06-02 00:43:37 +03:00
Michael Klishin a660b95f64 Update rabbitmq-components.mk 2017-06-01 18:01:57 +03:00
Jean-Sébastien Pédron 760b204738 Merge branch 'stable' 2017-05-31 11:05:38 +02:00
Jean-Sébastien Pédron 4715c4dd6e *_SUITE: Replace crypto:rand_bytes/1 by crypto:strong_rand_bytes/1
The former is deprecated for some time and is entirely removed in Erlang
20.0. This obviously causes the testsuite to fail with this version of
Erlang (or more exactly, it hangs because the `undef` exception is
missed).

crypto:strong_rand_bytes/1 is already available in Erlang R16B03 so we
can use it directly. No need for a compat module.

[#145213041]
2017-05-31 10:59:13 +02:00
Jean-Sébastien Pédron b9b1a8408d Merge branch 'stable' 2017-05-16 18:14:14 +02:00
Jean-Sébastien Pédron 795e756e11 Makefile: Load the new `rabbitmq-early-plugin.mk` early-stage plugin
See the corresponding commit in rabbitmq-common for an explanation.

[#144697185]
2017-05-16 17:40:11 +02:00
Jean-Sébastien Pédron 118e15fd34 Update erlang.mk 2017-05-16 17:40:11 +02:00
Michael Klishin 86c99ff16a Merge branch 'stable' 2017-05-03 12:37:09 +02:00
Michael Klishin 731e15938e rabbit_stomp_processor:cancel_consumer/3 returns a triplet
Part of #75.

[#144738809]
2017-05-03 00:00:19 +02:00
Jean-Sébastien Pédron 8a41841fe2 Merge branch 'stable' 2017-04-19 16:24:34 +02:00
Jean-Sébastien Pédron 2f7b0f6220 Update erlang.mk 2017-04-19 12:06:37 +02:00
Michael Klishin b8fea9e614 Merge branch 'stable' 2017-04-06 21:41:26 +02:00
Diana Corbacho 0a5e084fff Do not emit stats if connection has not been stablished
Stats should not be emitted until the connection is stablished - that is,
the initial value 'none' is overridden. A non-pid value crashes the stats gc.

rabbitmq-management-agent#42
2017-04-06 12:11:07 +01:00
Michael Klishin 9d0d2b4904 Merge branch 'stable' 2017-04-03 16:40:13 +03:00
Michael Klishin 0f2f544d3e Use correct order of arguments here 2017-04-03 16:33:29 +03:00
Michael Klishin 455e6b9613 Merge branch 'stable' 2017-04-03 16:32:04 +03:00
Michael Klishin 574f760917 Handle the case where Cowboy HTTP listener is already started.
Fixes #72 (or at least works around it).
2017-04-03 14:56:20 +03:00
Michael Klishin af6a29d465 Merge branch 'stable' 2017-04-02 22:04:58 +03:00
Michael Klishin 458007ec03 (c) year 2017-04-02 21:50:11 +03:00