Commit Graph

302 Commits

Author SHA1 Message Date
Gerhard Lazu 4fa44da6c4 Update rabbitmq-components.mk 2020-03-06 09:19:22 +00:00
Gerhard Lazu 835b859ae2 Update erlang.mk 2020-03-06 09:18:44 +00:00
Jean-Sébastien Pédron 003a5a00f0 Travis CI: Update config from rabbitmq-common 2020-03-04 14:24:33 +01:00
Jean-Sébastien Pédron 2cba7f316a Travis CI: Update config from rabbitmq-common 2020-03-04 11:17:20 +01:00
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