Commit Graph

34 Commits

Author SHA1 Message Date
Rin Kuryloski 4ffabad4cb Add cowlib to PLT_APPS for some plugins 2024-04-29 16:15:39 +02:00
Loïc Hoguin dc70cbf281
Update Erlang.mk and switch to new xref code 2022-05-31 13:51:12 +02:00
Philip Kuryloski a63f169fcb Remove duplicate rabbitmq-components.mk and erlang.mk files
Also adjust the references in rabbitmq-components.mk to account for
post monorepo locations
2021-03-22 15:40:19 +01: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
Michael Klishin dc1214a507 Tests for #110 2019-04-22 18:11:06 +03: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 84ae992eae New style config: support proxy protocol 2018-12-10 21:51:48 +03: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
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
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
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 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 9de6705fbd Makefile: Remove Cowboy version pinning
There is a global pinning in rabbitmq-components.mk.
2017-01-25 17:03:59 +01:00
Jean-Sébastien Pédron 5b9d566207 Merge branch 'stable' 2016-12-07 16:08:15 +01:00
Jean-Sébastien Pédron 56e670b26b 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:09:26 +01:00
Jean-Sébastien Pédron 41b069c0b2 Merge branch 'stable' 2016-11-24 10:53:37 +01:00
Jean-Sébastien Pédron dd9b8c8012 Add rabbitmq_ct_client_helpers to TEST_DEPS 2016-11-24 10:53:30 +01:00
Jean-Sébastien Pédron c379c72bb7 Makefile: No need to patch SockJS anymore
We had to do that temporarily to pass `-Duse_old_builtin_types` to
SockJS' Makefile.

[#130659985]
2016-09-26 11:49:37 +02:00
Jean-Sébastien Pédron 7baa7af7bb Makefile: No need to depend on `ranch` now
The plugin depends on rabbitmq-server which pulls the correct version of
Ranch.

[#130659985]
2016-09-26 11:45:30 +02:00
Jean-Sébastien Pédron fb38fe4475 Makefile: Add missing rabbitmq_ct_helpers to TEST_DEPS
[#130086871]
2016-09-23 15:02:50 +02:00
Jean-Sébastien Pédron 80cfe0ebf8 Makefile: Explicitely list all DEPS
Sync rabbitmq-components.mk with rabbitmq-common to remove automatic
DEPS handling.

[#130086871]
2016-09-20 13:16:13 +02:00
Jean-Sébastien Pédron 5b091c91a7 Makefile: Add lager to BUILD_DEPS
It is indirectly needed by sockjs because we build it with ERLC_OPTS
which uses Lager's parse_transform.
2016-09-05 16:01:19 +02:00
Jean-Sébastien Pédron d182c90572 Makefile: No need to filter out rabbitmq_test from TEST_DEPS anymore
[#127356157]
2016-09-02 12:37:07 +02:00
Michael Klishin 6e93763d6b Filter out rabbitmq_test
like we do in other recently ported projects
2016-07-26 03:24:30 +03:00
Michael Klishin 55f5a48e45 Run tests with Common Test instead of EUnit 2016-07-26 02:55:22 +03:00
Jean-Sébastien Pédron ff8504296d Makefile: Re-use RMQ_ERLC_OPTS instead of checking Erlang version again 2016-07-20 12:01:44 +02:00
Loïc Hoguin 39ad167191 Reword a comment to avoid it becoming outdated 2015-12-18 17:20:38 +01:00
Jean-Sébastien Pédron 093536c30f Makefile: Add Ranch as a BUILD_DEPS to be sure Ranch 1.2.0 is pulled 2015-11-20 10:53:02 +01:00
Jean-Sébastien Pédron 3cbea01a8c Makefile: Make sure the default goal remains `all` 2015-10-27 11:52:19 +01:00
Jean-Sébastien Pédron 081f6386a8 Patch SockJS to build with Erlang R16B 2015-10-23 23:34:11 +02:00
Jean-Sébastien Pédron fcedc2acb4 Require cowboy 1.0.3 2015-10-23 20:17:40 +02:00
Jean-Sébastien Pédron 87a346d1d2 Initial move to erlang.mk 2015-10-19 16:44:46 +02:00
Marek Majkowski f2327ea68b initial import 2012-02-14 15:21:30 +00:00