Commit Graph

448 Commits

Author SHA1 Message Date
Jean-Sébastien Pédron 4361cec35c Travis CI: Update config from rabbitmq-common 2020-03-03 14:53:43 +01:00
Gerhard Lazu 570afad40f Update rabbitmq-components.mk 2020-02-11 15:31:50 +00:00
Michael Klishin d736248cd3 (c) bump 2019-12-29 05:50:38 +03:00
Jean-Sébastien Pédron 3eaa6f13b3 Git: Ignore copied CLI 2019-12-12 15:14:22 +01:00
Jean-Sébastien Pédron 3371a2aa81 Update rabbitmq-components.mk 2019-12-12 13:14:59 +01:00
Michael Klishin b4f51bf2aa Refactor to use ranch:start_listener/5
and avoid a warning from Ranch.

Closes #59.

References rabbitmq/rabbitmq-server#2069.
2019-10-31 15:12:54 +03:00
Luke Bakken cbfd3db0f2 Add GitHub issue and PR templates
Update CONTRIBUTING

Inspired by this message: https://groups.google.com/d/msg/rabbitmq-users/uF05pvy8hk8/iUiVxHr6AQAJ
2019-10-30 08:40:18 -07:00
kjnilsson fa7c23911e Update rabbitmq-components.mk 2019-09-13 10:24:38 +01:00
kjnilsson a9d684288c Update rabbitmq-components.mk 2019-09-04 10:31:15 +01:00
Jean-Sébastien Pédron 02e9ace788 Update erlang.mk 2019-08-29 20:46:12 +02:00
Michael Klishin f1f75c1d55 Update rabbitmq-components.mk 2019-08-11 01:48:13 +10:00
Jean-Sébastien Pédron fe891b9546 Update erlang.mk 2019-08-02 09:55:03 +02:00
Michael Klishin e0a326af6c Update rabbitmq-components.mk 2019-08-01 17:13:34 +03:00
Michael Klishin e7b3b5618e RabbitMQ 3.6.x has long been out of support 2019-07-09 20:00:40 +03:00
Michael Klishin 0a1ed6842a README edits to match rabbitmq-web-stomp 2019-07-09 19:59:51 +03:00
Arnaud Cogoluègnes 3a7642509b Update rabbitmq-components.mk 2019-07-09 16:06:16 +02:00
Jean-Sébastien Pédron f2bf3aaa9d Update rabbitmq-components.mk 2019-06-28 16:05:45 +02:00
Jean-Sébastien Pédron 25d2464ada Update erlang.mk 2019-06-28 16:03:12 +02:00
Arnaud Cogoluègnes 6037931ac5 Add connection info module
To extract client ID at authentication time.

[#166271318]

References #1767
2019-06-14 14:26:23 +02:00
Michael Klishin 38160e0c76 Don't include max_connections into socket options
It is rejected as an unsupported value.
Use Ranch transport options directly instead.

References #28.
Closes #55.
2019-06-07 12:22:08 +03:00
Michael Klishin f5b9436a5d Make sure web_mqtt.tcp.max_connections accepts 'infinity' as value 2019-06-07 09:43:57 +03:00
Michael Klishin 90c72a7bec Default max_connections to infinity
References #28.
Closes #55.
2019-06-07 09:39:30 +03:00
Michael Klishin 84430e557b Make web_mqtt.tcp.max_connections configurable via ini-style config file
References #28, #55.
2019-06-07 09:38:13 +03:00
Gerhard Lazu f22caf237a Update rabbitmq-components.mk 2019-06-03 02:23:51 +01:00
Jean-Sébastien Pédron f1f7a5fb27 Update rabbitmq-components.mk 2019-05-17 15:21:52 +02:00
Michael Klishin f8e48fc648 Update rabbitmq-components.mk 2019-05-17 08:37:29 +03:00
Michael Klishin 085f6616e6 Update rabbitmq-components.mk 2019-05-14 11:51:13 +03:00
Michael Klishin 368dca1609 Update rabbitmq-components.mk 2019-05-13 16:40:52 +03:00
Gerhard Lazu 8de958de94 Update rabbitmq-components.mk 2019-05-01 13:18:30 +01:00
Luke Bakken 2d60e1b035 Update rabbitmq-components.mk 2019-04-30 16:21:07 -07:00
Jean-Sébastien Pédron c1c8eb1d7d Update rabbitmq-components.mk 2019-04-30 14:47:43 +02:00
Gerhard Lazu bf9bbf0d77 Update rabbitmq-components.mk 2019-04-22 21:55:20 +01:00
Spring Operator b443fa10a6 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.2086793.n4.nabble.com/initializing-library-applications-without-processes-td2094473.html (200) with 1 occurrences could not be migrated:
   ([https](https://erlang.2086793.n4.nabble.com/initializing-library-applications-without-processes-td2094473.html) result SSLHandshakeException).
* 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-mqtt.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/web-mqtt.html ([https](https://www.rabbitmq.com/web-mqtt.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.mozilla.org/MPL/ with 10 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:32 -05:00
Michael Klishin 20718881d1 Travis: use Erlang 21.3, Elixir 1.8.1 2019-03-20 10:33:22 +03:00
Michael Klishin e0582a5a05 Update rabbitmq-components.mk 2019-03-15 09:34:56 +03:00
Michael Klishin c72f4bbd3f Update rabbitmq-components.mk 2019-03-15 05:06:04 +03:00
Michael Klishin 528c1f87c8 Update rabbitmq-components.mk 2019-02-12 23:24:15 +03:00
Michael Klishin 21817b733d .travis.yml: use 21.2 as 21.2.2 builds are no available 2019-01-14 01:20:29 +03:00
Michael Klishin 3431ddded5 .travis.yml: sync Erlang and Elixir versions, require Erlang/OTP 21.2 2019-01-13 05:50:08 +03:00
Luke Bakken d903da9dac Update rabbitmq-components.mk 2019-01-09 12:55:28 -08:00
Luke Bakken 3d6bb5d4b4 Update rabbitmq-components.mk 2019-01-08 11:58:38 -08:00
Luke Bakken 5ac293267b 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 11:59:36 -08:00
Luke Bakken f17eff13f7 Modify test so generated ciphers are in the expected order 2018-12-31 11:59:06 -08:00
Michael Klishin ac867ef45d Remove debug tracing 2018-12-18 05:02:01 +03:00
Michael Klishin ec5e78563b Lower the timeout since it's expected here 2018-12-18 04:30:25 +03:00
Michael Klishin ac4ffa5f4c Squash a warning 2018-12-18 04:23:27 +03:00
Michael Klishin 4cbeaf0e73 Integration tests for #52
[#162720877]
2018-12-18 04:03:07 +03:00
Michael Klishin dc81d674f7 Last Will is now sent in terminate/2 2018-12-18 04:00:05 +03:00
Karen Mae Bajador c6c8b83594 Send will on client's ungraceful disconnect 2018-12-17 14:31:26 +11:00
Luke Bakken 9c37888edd Fix port in schema
Follow-up to #50
2018-12-12 07:14:24 -08:00
Michael Klishin 8a03489505 Make sure a TCP listener is started by default
References #44, #49.

Per discussion with @acogoluegnes.
2018-12-12 15:38:56 +03:00
Luke Bakken 4c09348aa0 Merge pull request #49 from rabbitmq/rabbitmq-web-mqtt-48
Support web_mqtt.ssl.listener combined with other web_mqtt.ssl.* settings
2018-12-11 11:35:40 -08:00
Michael Klishin a45a7633b1 Support web_mqtt.ssl.listener combined with other web_mqtt.ssl.* settings
Closes #48.
2018-12-11 21:58:00 +03:00
Michael Klishin b10407ed81 Merge branch 'master' into ciphers-in-new-style-config
Conflicts:
	test/config_schema_SUITE_data/rabbitmq_web_mqtt.snippets
2018-12-11 18:00:59 +03:00
Michael Klishin 6bfc6a4664 Merge pull request #44 from rabbitmq/rabbitmq-web-mqtt-31
Add settings to disable TCP and TLS listeners explicitly
2018-12-11 17:11:23 +03:00
Arnaud Cogoluègnes 81725f34df Add proxy_protocol flag to new configuration format
Fixes #46
2018-12-11 11:02:05 +01:00
Michael Klishin 6774806048 Bring web_mqtt.ssl.ip back in this test 2018-12-11 03:59:36 +03:00
Michael Klishin 03709f9f93 Support more web_mqtt.ssl.* options, including cipher suites
References rabbitmq/rabbitmq-server#1712, rabbitmq/rabbitmq-server#1745.
2018-12-11 03:40:03 +03:00
Luke Bakken 4c5c72dc5f Add settings to disable TCP and TLS listeners explicitly
Fixes #31
2018-12-10 16:20:57 -08:00
Michael Klishin 086dd6ed3b Re-merge: oass on unwrapped socket here
References #40, #43.
2018-12-06 19:21:22 +03:00
Michael Klishin da9fb4858a Compile 2018-12-06 19:10:02 +03:00
Michael Klishin 74247e8c1c Correct a merge
This plugin now does support flow control, so don't hardcode
the state field.
2018-12-06 18:54:15 +03:00
Michael Klishin d1ad8c8b7d Update rabbitmq-components.mk 2018-12-06 18:29:10 +03:00
Michael Klishin 59824d5296 Update rabbitmq-components.mk 2018-12-06 03:15:32 +03:00
Michael Klishin 690f870b47 Merge branch 'master' into rabbitmq-web-stomp-40
Conflicts:
	src/rabbit_web_mqtt_handler.erl
2018-12-05 21:28:44 +03:00
Michael Klishin ae348bf8de Default to port 15675 for TLS, too
This change from db9b7f1bd2 doesn't seem to be
intentional.
2018-12-05 20:07:39 +03:00
Loïc Hoguin d44bae553f Add PROXY protocol support 2018-12-04 14:52:16 +01:00
Jean-Sébastien Pédron 2356d84922 Update rabbitmq-components.mk 2018-11-30 14:57:01 +01:00
Jean-Sébastien Pédron f6c575de84 Update rabbitmq-components.mk 2018-11-22 09:19:46 +01:00
Loïc Hoguin ec44d02020 Implement credits flow 2018-11-20 13:58:25 +01:00
Michael Klishin ac0214b26f Travis: use Elixir 1.6.6, test on Erlang 21.1 2018-11-15 12:04:19 +00:00
Michael Klishin b1b180d0f8 Drive by cosmetic changes 2018-11-15 09:48:56 +00:00
Loïc Hoguin 3dde1511e6 Add two missing hibernate in returned tuples 2018-11-13 14:42:46 +01:00
kjnilsson a61e000ed6 Update rabbitmq-components.mk 2018-10-29 12:43:35 +00:00
Michael Klishin daf9853044 Use 10 TLS connection acceptors by default
Part of rabbitmq/rabbitmq-server#1729.

[#161136615]
2018-10-11 03:13:18 +03:00
Luke Bakken 55b949f214 formatting 2018-10-09 12:20:23 -07:00
Michael Klishin 69f37bf3fa Propagate WebSocket options; enable compression by default
References #34.

[#161053821]
2018-10-08 23:24:57 +03:00
Michael Klishin 97a08e78a5 Make it possible to configure WebSocket options such as compression
While at it, correctly configure connection inactivity
timeout with modern Cowboy versions.

Closes #34.
References rabbitmq/rabbitmq-web-stomp#89.

[#161053821]
2018-10-08 21:19:12 +03:00
Loïc Hoguin 2ee2ee85e8 Ignore ping/pong Websocket frames 2018-09-27 16:56:30 +02:00
Jean-Sébastien Pédron 5da746b357 Update rabbitmq-components.mk 2018-09-19 10:38:27 +02:00
Jean-Sébastien Pédron a67ef5ebcb Update rabbitmq-components.mk 2018-09-11 14:22:44 +02:00
Michael Klishin 1bd714f705 One more config schema test case 2018-09-03 21:03:14 +02:00
Thomas Sauzeau aa9d197411 Retrieve ws path from config 2018-09-01 11:53:17 +02:00
Jean-Sébastien Pédron 26cf8eddbe Update rabbitmq-components.mk 2018-08-09 17:44:25 +02:00
Jean-Sébastien Pédron 0a5aacd635 Update rabbitmq-components.mk 2018-08-09 12:17:12 +02:00
Jean-Sébastien Pédron 1d66dfbe6b Update rabbitmq-components.mk 2018-06-07 11:31:47 +02:00
Jean-Sébastien Pédron 2d4143f93c Update erlang.mk 2018-04-11 10:54:41 +02:00
Jean-Sébastien Pédron 7f90e8e66c Update rabbitmq-components.mk 2018-04-11 10:51:33 +02:00
Jean-Sébastien Pédron f0e5689116 Update rabbitmq-components.mk 2018-04-11 10:10:15 +02:00
Jean-Sébastien Pédron 1f1244fdc6 Travis CI: Update config from rabbitmq-common 2018-04-10 13:09:59 +02:00
Luke Bakken db9b7f1bd2 Add support for a listener configuration parameter that uses the cuttlefish ip datatype, and associated tests
Ensure ip address is in format expected by ranch:start_listener
2018-03-23 16:02:30 -07:00
Jean-Sébastien Pédron 5ab2048740 Update erlang.mk 2018-03-02 19:10:59 +01:00
Jean-Sébastien Pédron d181e7ed1c Update rabbitmq-components.mk 2018-01-30 15:24:02 +01:00
Luke Bakken 90dc465599 Update rabbitmq-components.mk 2018-01-29 16:22:28 -08:00
Jean-Sébastien Pédron e7d8fcfbb9 Update rabbitmq-components.mk 2018-01-23 17:21:51 +01:00
Jean-Sébastien Pédron f2ae29e0fe Update rabbitmq-components.mk 2018-01-23 15:31:38 +01:00
Diana Corbacho b0046ce39b Update rabbitmq-components.mk 2018-01-22 22:13:34 +00:00
Jean-Sébastien Pédron c7c71fee50 Travis CI: Update config from rabbitmq-common 2017-12-15 15:18:26 +01:00
Jean-Sébastien Pédron 5130431190 Update rabbitmq-components.mk 2017-12-01 11:07:13 +01:00
Jean-Sébastien Pédron 2b2a06d0f2 Update rabbitmq-components.mk 2017-11-28 14:01:24 +01:00
Jean-Sébastien Pédron 2c29bf3c21 Update rabbitmq-components.mk 2017-11-28 13:33:50 +01:00
Michael Klishin 04ebdd64a2 Merge branch 'stable' 2017-11-13 11:19:01 +00:00
Michael Klishin 559ac88b03 Store correct TLS listener info
Otherwise management UI will display an incorrect value
(the regular TCP port).

Closes #25.

Pushing directly as a very small change reviewed by @hairyhum.

[#152797163]
2017-11-13 11:16:59 +00:00
Michael Klishin 58817c2e9c Use naming closer to web-stomp 2017-11-13 11:10:31 +00:00
Jean-Sébastien Pédron 860d4d33db Travis CI: Update config from rabbitmq-common 2017-11-08 12:29:50 +01:00
Jean-Sébastien Pédron 265155144a Travis CI: Update config from rabbitmq-common 2017-11-08 12:29:15 +01:00
Daniil Fedotov 029c447685 Support cowboy2 2017-10-20 16:49:25 +01:00
Jean-Sébastien Pédron 9d348dafcc Merge branch 'stable' 2017-10-13 15:14:28 +02:00
Jean-Sébastien Pédron a1e9a6d081 Update rabbitmq-components.mk 2017-10-13 14:33:19 +02:00
Jean-Sébastien Pédron 1f2c54da61 Update rabbitmq-components.mk 2017-10-13 14:13:40 +02:00
Jean-Sébastien Pédron 088125883f Update rabbitmq-components.mk 2017-10-13 12:15:55 +02:00
Michael Klishin d6086440ed Update rabbitmq-components.mk 2017-09-13 17:54:54 -04:00
Michael Klishin 992bd113b3 Update rabbitmq-components.mk 2017-09-13 17:45:50 -04:00
Michael Klishin 9617ad4158 Update rabbitmq-components.mk 2017-09-12 19:53:44 -04:00
Michael Klishin 8c3f6cb977 Update rabbitmq-components.mk 2017-09-12 12:42:10 -04:00
Daniil Fedotov c6f8afbe21 Merge branch 'stable' 2017-08-30 19:20:54 +01:00
Daniil Fedotov 864383620a Update erlang.mk 2017-08-30 18:46:45 +01:00
Daniil Fedotov 2e0412e3f5 Use lager sinks for logging.
Making logging sink API consistent across RabbitMQ projects.
[#149634975]
2017-08-07 14:37:11 +01:00
Michael Klishin 74abe514ee Erlang/OTP 19.2 is now the minimum supported version.
Part of rabbitmq/rabbitmq-server#1305.

[#149563549]
2017-07-26 19:03:37 +03:00
Michael Klishin 3a85e208f1 Update rabbitmq-components.mk 2017-07-26 03:48:45 +03:00
Michael Klishin fa214e5268 Update rabbitmq-components.mk 2017-07-26 02:27:20 +03:00
Michael Klishin 332c9b4d82 Update rabbitmq-components.mk 2017-06-12 20:18:59 +03:00
Michael Klishin 68202bd148 Update rabbitmq-components.mk 2017-06-12 18:35:52 +03:00
Michael Klishin 6bbf808773 Merge branch 'stable' 2017-06-02 18:12:19 +03:00
Michael Klishin ae94d1231f Update rabbitmq-components.mk 2017-06-02 17:51:39 +03:00
Michael Klishin cd23a3219f Update rabbitmq-components.mk 2017-06-02 00:43:36 +03:00
Michael Klishin 8745481830 Update rabbitmq-components.mk 2017-06-01 18:01:55 +03:00
Jean-Sébastien Pédron a5fdd5bc68 Merge branch 'stable' 2017-05-31 11:06:14 +02:00
Jean-Sébastien Pédron 08d77e9c6e rfc6455_client: 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 11:03:10 +02:00
Jean-Sébastien Pédron cd3c6f9e08 Merge branch 'stable' 2017-05-16 18:13:50 +02:00
Jean-Sébastien Pédron 03b02a97fe 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:39:43 +02:00
Jean-Sébastien Pédron 1f941bb1eb Update erlang.mk 2017-05-16 17:39:43 +02:00
Jean-Sébastien Pédron 5c3572bb8e Merge branch 'stable' 2017-04-19 16:24:20 +02:00
Jean-Sébastien Pédron d86cbef112 Update erlang.mk 2017-04-19 12:06:17 +02:00
Michael Klishin b3c3b41c53 Merge branch 'stable' 2017-04-06 21:42:28 +02:00
Diana Corbacho f124727c3b Do not emit stats if connection has not been stablished
Ensures stats are not emitted until the connection is stablished.
A non-pid value crashes the stats gc.

rabbitmq-management-agent#42
2017-04-06 12:10:48 +01:00
Michael Klishin f9688950de Merge branch 'stable' 2017-04-02 22:04:40 +03:00
Michael Klishin 2da7008647 (c) year 2017-04-02 21:50:02 +03:00
Michael Klishin ca342d92d2 Port config schema tests from Web STOMP 2017-03-20 21:41:59 +03:00
Michael Klishin fa65231ac0 Sync README with master 2017-03-20 16:21:02 +03:00
Michael Klishin 8abc1f8ca2 Update README.md 2017-03-20 16:20:32 +03:00
Michael Klishin f3bea78ba4 Update README.md 2017-03-20 16:16:32 +03:00
Michael Klishin 4774a01374 3.6.1 is certainly no longer pending 2017-03-20 16:09:33 +03:00
Michael Klishin c24239888f Update rabbitmq-components.mk 2017-02-11 23:29:45 +03:00
Michael Klishin 5651e26c1e Update rabbitmq-components.mk 2017-02-10 11:16:47 +03:00
Michael Klishin 653bcdec0a Update rabbitmq-components.mk 2017-02-10 03:06:41 +03:00
Michael Klishin 3dcc54d073 merge branch 'stable' 2017-02-08 16:58:54 +03:00
Michael Klishin 702fa1830d Update rabbitmq-components.mk 2017-02-08 16:38:27 +03:00
Michael Klishin 4e9dea7035 merge branch 'stable' 2017-02-06 19:52:35 +03:00
Michael Klishin b76e787b9c Update rabbitmq-components.mk 2017-02-06 19:24:05 +03:00
Jean-Sébastien Pédron 5786a2f558 Update rabbitmq-components.mk 2017-02-02 17:17:26 +01:00
Michael Klishin 6a0e1af8fa merge branch 'stable' 2017-01-31 18:20:34 +03:00
Michael Klishin 1842d91baf Update rabbitmq-components.mk 2017-01-31 18:06:40 +03:00
Jean-Sébastien Pédron bc41db0a06 Makefile: Remove Cowboy version pinning
There is a global pinning in rabbitmq-components.mk.
2017-01-25 17:04:24 +01:00
Michael Klishin 24991a1ab9 Merge branch 'stable'
Conflicts:
	.travis.yml
2016-12-17 03:00:10 +03:00
Michael Klishin a374e2419d Test against 18.3, 19.1, 19.2 on Travis 2016-12-17 02:49:46 +03:00
Jean-Sébastien Pédron e264a0cb81 Travis CI: Import changes from rabbitmq-auth-backend-amqp 2016-12-12 15:21:57 +01:00
Jean-Sébastien Pédron d352df602b Merge branch 'stable' 2016-12-09 19:28:10 +01:00
Jean-Sébastien Pédron ab6a763761 Update rabbitmq-components.mk 2016-12-08 19:14:54 +01:00
Jean-Sébastien Pédron 06a95f54ef Travis CI: Use Ubuntu Trusty image to have access to Elixir
Also, required `sudo` so a VM is used instead of a container. This makes
the test much longer, but allows us to install non-whitelisted packages
such as xsltproc.
2016-12-08 17:54:46 +01:00
Jean-Sébastien Pédron a1de804a27 Merge branch 'stable' 2016-12-08 12:54:39 +01:00
Jean-Sébastien Pédron 5e43ab25a8 rabbit_web_mqtt_app: Fix listeners registration
... when a listener is bound to multiple IP addresses.

This is the case when a listener is configured to listen on all
interfaces, and IPv4's `0.0.0.0` and IPv6's `::` are reported
separately. It happens on *BSD and Linux with `net.ipv6.bindv6only=1` at
least.

[#135770181]
2016-12-08 12:52:05 +01:00
Jean-Sébastien Pédron f6c53a4052 Merge branch 'stable' 2016-12-07 16:07:40 +01:00
Jean-Sébastien Pédron 0a9a4b5431 Move from .app.src to Makefile variables
This is the recommended way with Erlang.mk.

By default, the version is inherited from rabbitmq-server-release when
the source archive is created, or computed from git-describe(1) (see
`rabbitmq-components.mk`). One can override the version from the command
line by setting the `PROJECT_VERSION` variable.

[#130992027]
2016-12-06 17:05:29 +01:00
Michael Klishin 571675b285 Merge branch 'stable' 2016-12-06 17:48:12 +03:00
Loïc Hoguin 292c8adf78 Register listeners to management UI 2016-12-06 15:17:54 +01:00
Michael Klishin c506006c20 Merge branch 'stable' 2016-12-01 14:19:34 +03:00
Michael Klishin a4cbefc46a Merge branch 'stable' 2016-11-30 18:58:29 +03:00
Michael Klishin 2bc67fe49a Merge branch 'stable' 2016-11-29 21:21:59 +03:00
Michael Klishin a2dd19add7 Update rabbitmq-components.mk 2016-11-29 20:59:44 +03:00
Jean-Sébastien Pédron fabfd1928f Merge branch 'stable' 2016-11-25 11:51:02 +01:00
Jean-Sébastien Pédron 52829dc7ba Update rabbitmq-components.mk 2016-11-25 10:51:04 +01:00
Jean-Sébastien Pédron 25b0465fe5 Merge branch 'stable' 2016-11-25 10:39:54 +01:00
Jean-Sébastien Pédron 97fcb972bf Update rabbitmq-components.mk 2016-11-25 10:08:25 +01:00
Jean-Sébastien Pédron 8d00a5b666 Merge branch 'stable' into rabbitmq-management-236 2016-11-24 12:13:28 +01:00
Jean-Sébastien Pédron c9beca6ef5 Merge branch 'stable' 2016-11-24 10:52:32 +01:00
Jean-Sébastien Pédron 1164d005cf Add rabbitmq_ct_client_helpers to TEST_DEPS 2016-11-24 10:52:21 +01:00
Jean-Sébastien Pédron 51c9c6295f Update rabbitmq-components.mk 2016-11-23 18:06:09 +01:00
Gerhard Lazu a7932d19e2 Merge branch 'stable' 2016-11-22 17:04:56 +00:00
Gerhard Lazu 46ebc63531 Update erlang.mk 2016-11-22 16:20:50 +00:00
Gerhard Lazu 46ac6d81bc Update rabbitmq-components.mk 2016-11-22 16:16:46 +00:00
Jean-Sébastien Pédron beb2ee2f12 Update erlang.mk 2016-11-14 11:59:37 +01:00
Jean-Sébastien Pédron d544af9274 Update rabbitmq-components.mk 2016-11-10 16:56:58 +01:00
Jean-Sébastien Pédron 6e960c0706 Merge branch 'stable' into rabbitmq-management-236 2016-09-27 12:48:43 +02:00
Jean-Sébastien Pédron 1693122277 Merge branch 'stable' 2016-09-23 16:33:02 +02:00
Jean-Sébastien Pédron 6ea56959a0 Update rabbitmq-components.mk 2016-09-23 11:23:11 +02:00
Jean-Sébastien Pédron 7e2c83c263 Update erlang.mk 2016-09-22 17:57:22 +02:00
Jean-Sébastien Pédron 779f2b3a30 rabbitmq_web_mqtt.app: Depend on rabbit_common 2016-09-20 13:05:58 +02:00
Jean-Sébastien Pédron 3c45762d43 Makefile: Explicitely list all DEPS
Sync rabbitmq-components.mk with rabbitmq-common to remove automatic
DEPS handling.

[#130086871]
2016-09-20 13:05:43 +02:00
Jean-Sébastien Pédron 40d6f899c8 Update erlang.mk 2016-09-20 13:05:10 +02:00
Jean-Sébastien Pédron a5d5ab653a Merge branch 'stable' 2016-09-15 16:44:30 +02:00
Jean-Sébastien Pédron 1ddcfea704 Update rabbitmq-components.mk 2016-09-15 15:47:35 +02:00
Jean-Sébastien Pédron 2660cd745b Merge branch 'stable' 2016-09-02 16:11:23 +02:00
Jean-Sébastien Pédron cf17eeabfb Travis CI: Import various fixes from rabbitmq-web-stomp 2016-09-02 15:16:32 +02:00
Jean-Sébastien Pédron 968b4e3106 Update rabbitmq-components.mk 2016-09-02 13:22:28 +02:00
Jean-Sébastien Pédron a298e63295 Makefile: No need to filter out rabbitmq_test from TEST_DEPS anymore
[#127356157]
2016-09-02 12:36:23 +02:00
Jean-Sébastien Pédron bb697e065f Update rabbitmq-components.mk 2016-09-02 12:03:33 +02:00
kjnilsson ce64f69b83 write connection_stats metrics 2016-09-01 13:44:23 +01:00
Michael Klishin ad2954d1a2 Update rabbitmq-components.mk 2016-07-14 15:44:15 +03:00
Michael Klishin bd500490a4 Update rabbitmq-components.mk 2016-07-14 15:37:38 +03:00
Michael Klishin 46c993c8a8 Update rabbitmq-components.mk 2016-07-14 13:48:09 +03:00
Michael Klishin ca44ca864b Update rabbitmq-components.mk 2016-07-14 13:20:05 +03:00
Michael Klishin 7c398974b6 Merge branch 'stable' 2016-06-24 23:16:41 +03:00
Michael Klishin a099fb0879 gitignore logs/ 2016-06-24 23:15:52 +03:00
Daniil Fedotov 1d4cb0103b Naming and dependencies 2016-06-24 14:05:54 +01:00
Daniil Fedotov a56bc5ed29 Move to common_tests 2016-06-24 13:15:16 +01:00
Daniil Fedotov 6aa12b3cd5 Merge branch 'stable' 2016-06-17 14:18:35 +01:00
Daniil Fedotov f6f4c7350c Set bounded timeout for OTP workers 2016-06-16 13:12:03 +01:00
Michael Klishin 19eb79a4fb Merge branch 'stable' 2016-05-29 23:37:13 +03:00
Michael Klishin b5f8db33d5 Update rabbitmq-components.mk 2016-05-29 23:21:57 +03:00
Michael Klishin 94af784197 Update CONTRIBUTING.md, add CODE_OF_CONDUCT.md 2016-05-28 09:57:21 -07:00
Michael Klishin 6dcbe4c488 Update CONTRIBUTING.md, add CODE_OF_CONDUCT.md 2016-05-28 14:22:51 +03:00
Michael Klishin 6f6be55bb1 Update README.md 2016-05-26 16:58:34 +03:00
kjnilsson 16fbd23db5 Merge branch 'stable' 2016-05-18 13:22:07 +01:00
Karl Nilsson 1ae32a80d3 Update rabbitmq-components.mk 2016-05-18 12:48:02 +01:00
Michael Klishin 818181e472 Merge pull request #10 from rabbitmq/rabbitmq-server-546
Use erlang 18.3 only in travis
2016-05-17 12:06:02 +03:00
Michael Klishin a2541835cf Update rabbitmq-components.mk 2016-05-17 11:17:55 +03:00
Michael Klishin ecf07f7308 Update rabbitmq-components.mk 2016-05-17 10:16:11 +03:00
Daniil Fedotov a1898452a8 Use erlang 18.3 only in travis 2016-05-12 10:58:25 +01:00
Jean-Sébastien Pédron bbfed32279 Merge branch 'stable' 2016-05-09 10:01:24 +02:00
Daniil Fedotov e0a4c7d4e3 move ranch listener cleanup to prep_stop 2016-05-06 16:47:34 +01:00
Daniil Fedotov 30d8bee100 Cleanup ranch listener on application stop 2016-05-06 16:44:32 +01:00
Michael Klishin 2b399afa6d Merge pull request #5 from rabbitmq/rabbitmq-server-550
Cuttlefish schema
2016-03-24 00:29:37 +03:00
Michael Klishin 555d92218d Merge branch 'stable' 2016-03-23 17:21:06 +03:00
Daniil Fedotov 085af213e5 removed _config suffix 2016-03-23 14:20:47 +00:00
Michael Klishin ee4ef7a7a5 Update rabbitmq-components.mk 2016-03-23 17:13:43 +03:00
Daniil Fedotov 3190702571 Cuttlefish schema 2016-03-23 11:17:45 +00:00
Michael Klishin 723e7500d5 Merge branch 'stable' 2016-03-05 02:06:49 +03:00
Loïc Hoguin fc20aeb136 Emit stats for management UI 2016-03-03 16:29:14 +01:00
Loïc Hoguin 9a723103ad Hardcode running state and channels count/max
These do not vary because of implementation.
2016-02-02 16:02:59 +01:00
Loïc Hoguin b0ded0dbb4 Fix wrong protocol name in management UI
This commit also enables sending extra info for Web-MQTT connections.
2016-02-02 15:30:13 +01:00
Michael Klishin f6a576e695 Update README.md 2016-01-28 16:42:18 +03:00
Loïc Hoguin 817bcfb31a Example moved to rabbitmq-web-mqtt-examples repo 2016-01-20 10:39:42 +01:00
Michael Klishin 7e44a4b475 Mention supported versions 2016-01-18 00:21:06 +03:00
Michael Klishin f5cb538abe Rework README.md 2016-01-18 00:20:25 +03:00
Michael Klishin 267127647c Copy, (c) info updates 2016-01-16 16:22:06 +03:00
Michael Klishin ba69cdf713 Wording 2016-01-16 16:15:45 +03:00
Michael Klishin 26b56ea705 Update LICENSE-MPL-RabbitMQ 2016-01-16 16:03:00 +03:00
Loïc Hoguin 7d065daddc Fix crash on SSL connections
Also fixes the example for SSL.
2016-01-12 17:40:00 +01:00
Loïc Hoguin 61658ed491 Rename nb_acceptors into num_{tcp,ssl}_acceptors
Also fix an undef call to cowboy:start_https/6 instead of
ranch:start_listener/6.
2016-01-12 17:39:11 +01:00
Loïc Hoguin f8e7f86eed Add a small test suite
Fix an issue where connection would fail if sec-websocket-protocol
header wasn't set (which is perfectly normal).
2016-01-07 15:39:03 +01:00
Loïc Hoguin dd4b788ef7 Remove the credit/conserve resources for now
I can't throttle the Websocket connection with the current
Cowboy interface.
2016-01-07 12:12:58 +01:00
Loïc Hoguin 9c153b2d40 Add support for hearbeats
This involves creating the keepalive supervisor when the connection
starts, and passing its pid onward to the handler. To achieve this
we put ourselves in just before starting cowboy_protocol, create
the supervisor and put its pid in the Cowboy environment. Later we
have a middleware that takes this pid and pass it to the MQTT handler
where it can then be used.

A few minor changes and fixes are also included in this commit,
including compacting the Req object and using hibernate.
2016-01-06 17:54:11 +01:00
Loïc Hoguin 4f083e1e82 Handle more needed messages 2015-12-29 15:43:17 +01:00
Loïc Hoguin 68cb56a7b4 Add README 2015-12-28 16:55:42 +01:00
Loïc Hoguin 5159d1d180 Make the example like Web STOMP's echo example
Everything works as intended so far.
2015-12-28 16:51:49 +01:00
Loïc Hoguin a1a1a7b092 Initial project
The included hello world example works
2015-12-28 13:48:40 +01:00
Loïc Hoguin 0ea31998a4 Initial commit 2015-12-28 13:45:51 +01:00