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