Commit Graph

500 Commits

Author SHA1 Message Date
Michael Klishin 2f91461fa6 Merge pull request #61 from rabbitmq/rabbitmq-server-546
Use erlang 18.3 only in travis
2016-05-17 12:06:14 +03:00
Michael Klishin 37f7960873 Update rabbitmq-components.mk 2016-05-17 11:17:55 +03:00
Michael Klishin 351fead874 Update rabbitmq-components.mk 2016-05-17 10:16:11 +03:00
Daniil Fedotov 842665c3d9 Use erlang 18.3 only in travis 2016-05-12 10:58:25 +01:00
Daniil Fedotov e2e937941c Stub for broker_version_requirements 2016-04-22 14:42:18 +01:00
Michael Klishin ac633b0de0 Merge branch 'stable' 2016-03-31 12:07:56 +03:00
Loïc Hoguin 2e02098576 Properly handle the Websocket protocol header
We support v10.stomp, v11.stomp and v12.stomp at the moment.
The better one will be selected if a client advertises two
or more.
2016-03-30 18:57:26 +02:00
Michael Klishin 9b41ef8996 Merge branch 'stable' 2016-03-30 01:49:52 +03:00
Michael Klishin 6bbafbd581 Merge branch 'stable' into rabbitmq-web-stomp-43 2016-03-30 01:36:35 +03:00
Loïc Hoguin a9f3620769 Add use_http_auth option to enable HTTP Basic Auth
The intended behavior is to use the login/passcode found
in the Authorization header, if any, and otherwise fall
back to the usual authentication methods.
2016-03-25 13:11:46 +01:00
Michael Klishin f570a52b75 Merge pull request #52 from rabbitmq/rabbitmq-server-550
Cuttlefish schema
2016-03-24 00:29:33 +03:00
Michael Klishin 816a62864e Merge branch 'stable' 2016-03-23 17:21:07 +03:00
Daniil Fedotov 3d91492605 removed _config suffix 2016-03-23 14:20:22 +00:00
Michael Klishin 6ce4ce3746 Update rabbitmq-components.mk 2016-03-23 17:13:43 +03:00
Daniil Fedotov 04cb903785 Cuttlefish schema 2016-03-23 11:17:20 +00:00
Michael Klishin 274428ff8a Merge branch 'stable' 2016-03-10 04:19:24 +03:00
Daniil Fedotov 854ea04da6 changes in heartbeat management 2016-03-08 18:37:37 +00:00
Michael Klishin 1d35d53dbf Merge branch 'stable' 2016-03-05 01:59:05 +03:00
Loïc Hoguin 83d8b043a2 Emit stats for management UI 2016-03-03 14:48:57 +01:00
Loïc Hoguin cfcb008c7e Hardcode running state and channels count/max
These do not vary because of implementation.
2016-02-02 16:03:11 +01:00
Loïc Hoguin 75f97d2c8f Properly fill in SSL information in adapter info 2016-02-02 14:39:08 +01:00
Michael Klishin dd89357802 Update LICENSE-MPL-RabbitMQ 2016-01-16 16:03:21 +03:00
Michael Klishin 0c888877fd Merge branch 'stable' 2016-01-12 16:25:29 +03:00
Loïc Hoguin ecd18a9e16 Make number of Ranch acceptors configurable 2016-01-12 11:33:52 +01:00
Michael Klishin cd6eb95ddb Merge branch 'stable' 2016-01-01 13:10:59 +03:00
Michael Klishin a08424e45e Update (c) info 2016-01-01 12:59:19 +03:00
Pierre Fenoll 41726179f9 .gitignore: make absolute paths relative 2015-12-28 11:06:14 +01:00
Loïc Hoguin b6977989ad Honor cowboy_opts with SSL connections too 2015-12-23 13:42:38 +01:00
Jean-Sébastien Pédron 9dea42e44d Update erlang.mk 2015-12-18 20:34:39 +01:00
Jean-Sébastien Pédron 0f9e1f4514 Sync with upstream build.config 2015-12-18 20:33:04 +01:00
Jean-Sébastien Pédron 0e815d95fb Update rabbitmq-components.mk 2015-12-18 19:08:10 +01:00
Michael Klishin 2c13b373ff Update rabbitmq-components.mk 2015-12-18 19:32:25 +03:00
Loïc Hoguin 39ad167191 Reword a comment to avoid it becoming outdated 2015-12-18 17:20:38 +01:00
Loïc Hoguin fbaf9f6203 Change the default number of acceptors to 1
We have long running connections, this is a sane default.
2015-12-18 17:17:03 +01:00
Loïc Hoguin 91ebff23a1 Properly report SSL connections 2015-12-17 11:53:44 +01:00
Michael Klishin 317af5d15f Compile standalone 2015-12-11 21:36:26 +03:00
Daniil Fedotov 7007e5ff3d Regactoring: AMQP messages, processor state, stop signals 2015-12-11 17:13:18 +00:00
Daniil Fedotov 1c847a754a Refactored stomp processor from process to state 2015-12-11 16:44:00 +00:00
Jean-Sébastien Pédron 11a4da726d Update rabbitmq-components.mk 2015-12-03 15:38:51 +01:00
Jean-Sébastien Pédron fb2aa0715e Update rabbitmq-components.mk 2015-12-01 18:36:23 +01:00
Jean-Sébastien Pédron 67a6043094 Update rabbitmq-components.mk 2015-12-01 16:17:20 +01:00
Jean-Sébastien Pédron 94b71c961d Update rabbitmq-components.mk 2015-11-30 09:12:43 +01:00
Loïc Hoguin 48e054e751 Completely disable heartbeats for SockJS
Before the heartbeats start fun would do nothing but the server
would still tell the client heartbeats were enabled, leading to
issues with default client options. Now, we provide 'undefined'
instead of a start fun and the processor sends 0,0 back to the
client instead of an incorrect value.
2015-11-26 11:21:48 +01:00
Jean-Sébastien Pédron 89c1fb6ddb Update rabbitmq-components.mk 2015-11-26 08:54:12 +01:00
Jean-Sébastien Pédron dacd8150bb Update rabbitmq-components.mk 2015-11-26 08:41:24 +01:00
Jean-Sébastien Pédron c99814da56 Update erlang.mk 2015-11-25 10:36:26 +01:00
Jean-Sébastien Pédron c3007d08aa Update rabbitmq-components.mk 2015-11-25 10:35:24 +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 ff65daef1e Update rabbitmq-components.mk 2015-11-20 10:52:06 +01:00
Jean-Sébastien Pédron 496579b671 Update erlang.mk 2015-11-19 14:32:14 +01:00
Jean-Sébastien Pédron f89836ec71 Update erlang.mk 2015-11-18 19:14:58 +01:00
Jean-Sébastien Pédron 5ea43172f7 Update erlang.mk 2015-11-18 17:40:25 +01:00
Jean-Sébastien Pédron f3322b4b18 Update erlang.mk 2015-11-10 13:12:42 +01:00
Jean-Sébastien Pédron c7db2e8187 Update rabbitmq-components.mk 2015-11-10 13:11:18 +01:00
Jean-Sébastien Pédron 7216f590eb Update rabbitmq-components.mk 2015-11-05 20:51:35 +00:00
Jean-Sébastien Pédron 255b459544 Update rabbitmq-components.mk 2015-11-03 15:12:31 +01:00
Jean-Sébastien Pédron 948e7554fa Update rabbitmq-components.mk 2015-11-02 10:20:52 +01:00
Jean-Sébastien Pédron 7b493940dd Update rabbitmq-components.mk 2015-10-30 17:32:58 +01:00
Jean-Sébastien Pédron 59fd38b8db Update erlang.mk 2015-10-28 11:16:26 +01:00
Jean-Sébastien Pédron fe347ccc56 Update rabbitmq-components.mk 2015-10-28 11:10:38 +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 88b459f91e Update erlang.mk 2015-10-26 15:33:52 +01:00
Jean-Sébastien Pédron 65724a8013 Update rabbitmq-components.mk 2015-10-26 11:15:37 +01:00
Jean-Sébastien Pédron c75c3ec2a5 Update rabbitmq-components.mk 2015-10-26 10:21:26 +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 ee64055319 Adapt .travis.yml to erlang.mk 2015-10-23 20:17:59 +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 f9847a9868 Update erlang.mk's build.config 2015-10-23 20:00:08 +02:00
Jean-Sébastien Pédron d3fb1fee84 Update erlang.mk 2015-10-23 18:33:19 +02:00
Jean-Sébastien Pédron 1b89cd4d56 Update rabbitmq-components.mk 2015-10-23 16:05:52 +02:00
Jean-Sébastien Pédron adf686fb85 Update erlang.mk 2015-10-22 18:35:01 +02:00
Jean-Sébastien Pédron 604cbd515a Update rabbitmq-components.mk 2015-10-19 17:35:46 +02:00
Jean-Sébastien Pédron d00eb25ec1 Update erlang.mk 2015-10-19 17:12:59 +02:00
Jean-Sébastien Pédron 1c9cfc50d9 Update rabbitmq-components.mk 2015-10-19 17:11:42 +02:00
Jean-Sébastien Pédron 87a346d1d2 Initial move to erlang.mk 2015-10-19 16:44:46 +02:00
Michael Klishin b039b7766f Update README.md 2015-09-11 16:11:54 +03:00
Loïc Hoguin fbc09b803b Add support for STOMP heartbeats to raw Websocket endpoint 2015-09-09 10:52:11 +02:00
Loïc Hoguin eb28fc068a Add new option 'ws_frame' to allow using binary frames 2015-09-08 19:50:13 +02:00
Loïc Hoguin 67defca8de Add missing raw Websocket tests to 'make test' 2015-09-08 18:40:52 +02:00
Loïc Hoguin ce3639eed6 Add cowboy_opts option
This option will allow setting Cowboy-specific options like
'max_keepalive' or 'timeout'.
2015-09-07 15:46:58 +02:00
Loïc Hoguin b7fe4ba42c Add tcp_config option 2015-09-07 15:34:05 +02:00
Loïc Hoguin 1aff6f004a Add missing options to the .app env key 2015-09-07 14:52:30 +02:00
Loïc Hoguin 6f12b979df Fix default port when option is missing 2015-09-07 14:46:34 +02:00
Gavin M. Roy 71f5de0bca Add travis-ci configuration 2015-08-21 20:04:21 -04:00
Loïc Hoguin d58e1fcc1d Add /ws route for STOMP over plain Cowboy Websocket 2015-08-10 16:49:09 +02:00
Loïc Hoguin a7214c06e4 Update Cowboy to 1.0.3
One test had to be modified because Cowboy properly sends
a close frame when closing the Websocket now, when it didn't
before. 1005 means "no status code", 1000 means "OK".
2015-08-10 11:39:41 +02:00
Jean-Sébastien Pédron 782e1cead5 rabbitmq-stomp now ends frame with LF: update the test suite
References rabbitmq/rabbitmq-stomp#17.
2015-06-16 14:11:51 +02:00
Michael Klishin 89f1427326 Sync CONTRIBUTING.md with the template one 2015-02-20 17:09:52 +03:00
Jean-Sébastien Pédron 1ab7b35ef4 Merge branch 'stable' 2015-02-19 18:13:20 +01:00
Jean-Sébastien Pédron 8fdbc85991 Convert .hgignore to .gitignore 2015-02-19 17:26:01 +01:00
Michael Klishin 8fce81e54a Sync CONTRIBUTING.md with the template one 2015-02-18 00:21:24 +03:00
Michael Klishin e4aac86b58 Sync CONTRIBUTING.md with the template one 2015-02-18 00:09:54 +03:00
Jean-Sébastien Pédron 634ce74d88 Merge branch 'stable' 2015-02-17 21:20:09 +01:00
Jean-Sébastien Pédron e0d4d3d01d Remove the "moved to GitHub" warning. 2015-02-17 21:20:03 +01:00
Jean-Sebastien Pedron 51d60ab59d stable to default 2015-02-17 18:21:26 +01:00
Jean-Sebastien Pedron 716fe27f30 README.md: Warn about the move to GitHub 2015-02-17 18:21:12 +01:00
Vladimir Protasov e5fea2a4dc Add configuration parameter for cowboy connection pool size. 2014-12-17 19:19:44 +04:00
Simon MacMullen 40d6afe783 Remove use of SockJS CDN 2014-09-26 12:11:26 +01:00
Michael Klishin a239d67e50 Make sure asn1 and other SSL support dependencies are started before starting HTTPS listener
Work around an issue with R16B01+ where asn1 is no longer started automatically.
2014-06-18 18:15:42 +04:00
Matthias Radestock 1c10d012c5 whitespace 2014-04-01 12:25:24 +01:00
Michael Klishin f90cfbbd53 merge bug25913 into default 2014-03-27 17:14:23 +04:00
Michael Klishin 247d00b359 Wording 2014-03-27 16:25:49 +04:00
Michael Klishin 47b35162e9 Log listeners for both HTTP and HTTPS 2014-03-27 16:24:38 +04:00
Simon MacMullen 28891f9bf4 Update copyright for 2014 2014-03-17 17:25:26 +00:00
Simon MacMullen e900a4f1d4 Check source of user is acceptable. 2014-02-24 13:46:02 +00:00
Emile Joubert 44dc8fc75f Support cowboy SSL connections 2013-12-09 17:43:55 +00:00
Simon MacMullen d454ebcc57 Oops, forgot to propagate API change to web-stomp. 2013-09-04 14:01:39 +01:00
Emile Joubert 94875fed2b Merged stable into default 2013-07-31 13:57:31 +01:00
Simon MacMullen fc1c69ad37 s/VMware/GoPivotal/g 2013-07-01 10:49:15 +01:00
Matthias Radestock 1693e7f460 merge bug23958 into default 2013-05-01 11:39:23 +01:00
Emile Joubert 1c656e44b8 Update copyright 2013 2013-01-23 13:17:08 +00:00
Tim Watson ab0c5f3459 simple_one_for_one now does the right thing (TM) 2013-01-04 16:07:39 +00:00
Simon MacMullen bc3b7d30b1 Return the supervisor pid correctly, and the client pid as "extra" data, and thus prevent supervisor tree corruption and rabbit_vm:memory/0 from treating workers as supervisors. 2012-12-18 12:08:56 +00:00
Simon MacMullen eff723f139 address -> host, and get the name approximately right too. No rDNS, but that would have to go via SockJS... 2012-11-19 16:36:34 +00:00
Simon MacMullen e0dae2b1ff Establish stable branch 2012-11-19 16:35:43 +00:00
Simon MacMullen a84588367a Unbreak web stomp tests 2012-11-12 13:55:35 +00:00
Simon MacMullen 3ac422f30f Change port out of ephemeral range. 2012-11-09 11:48:53 +00:00
Matthias Radestock 9f87c0f18a propagate API change 2012-08-14 16:20:27 +01:00
Marek Majkowski c59a887686 New stomp.js supports vhosts - API changes needed to be documented. 2012-08-14 10:27:21 +01:00
Marek Majkowski f540c3b1b0 Imported pull request #1 by @jmesnil
Source: https://github.com/rabbitmq/rabbitmq-web-stomp/pull/1
2012-08-14 10:12:08 +01:00
Marek Majkowski ab60906687 bug24894 - tests for web-stomp 2012-06-25 10:06:11 +01:00
Marek Majkowski 2c8f26a581 bug24973 changed the signature of frame:parse and thus caused badmatch 2012-06-13 12:19:20 +01:00
Marek Majkowski 19b79eda0e updated readme 2012-05-11 16:57:08 +01:00
Simon MacMullen e3491a4a8c More aesthetics... 2012-05-02 16:13:14 +01:00
Marek Majkowski 91e9ca99a5 Sort out gen_server:casts 2012-04-18 16:16:30 +01:00
Marek Majkowski 3e4772bfcb According to my interpretation of RFC6455 this should be error code 1000 2012-04-18 16:04:17 +01:00
Simon MacMullen 0b46a715a6 It helps if you actually test this. I don't know if those are good parameters, but at least this does not massively blow up when I force close a connection via mgmt. 2012-04-03 18:09:06 +01:00
Simon MacMullen db088eaee7 Explain 2012-04-03 18:01:38 +01:00
Simon MacMullen 9915e845f8 Simplify supervision: remove a redundant supervisor. 2012-04-03 17:57:57 +01:00
Simon MacMullen 70d5636579 Simplify supervision: get the client_sup to start both the client and the processor. 2012-04-03 17:40:10 +01:00
Marek Majkowski 5c307ff6bd README 2012-04-03 15:34:41 +01:00
Marek Majkowski 86802e57fa Swallow bump_credit messages 2012-04-03 15:10:54 +01:00
Marek Majkowski c3b668f678 Move cleanup to one place - terminate 2012-04-03 15:10:34 +01:00
Marek Majkowski dc1173793d Add a man in the middle between sockjs and stomp to catch the flow messages. 2012-04-02 18:29:55 +01:00
Marek Majkowski f177f36e7f license 2012-03-02 14:04:28 +00:00
Marek Majkowski 053c7effce License boilerplate 2012-02-28 11:30:14 +00:00
Marek Majkowski 103ab27046 cosmetic 2012-02-27 16:20:36 +00:00
Marek Majkowski cb6715f1be Simplify supervision tree 2012-02-27 16:20:28 +00:00
Marek Majkowski 37113015c7 SockJS allows to extract some connection details - present that to mgmt plugin 2012-02-27 15:01:04 +00:00
Marek Majkowski fca3203f42 Default port is now 55674 2012-02-27 15:00:27 +00:00
Marek Majkowski f05238fbbc Apparently file desc must be obtained and released by the same process 2012-02-27 12:30:57 +00:00
Marek Majkowski 54045cc1be Release was way triggered too early 2012-02-27 12:11:18 +00:00
Marek Majkowski 4f86ac020b Update rabbit_stomp_processor to recent API changes 2012-02-27 12:10:51 +00:00
Marek Majkowski 7eadb60ec4 Handle protocol death nicely - close sockjs connection 2012-02-20 17:12:23 +00:00
Marek Majkowski da889bd5e0 Customize protocol name - WEB-STOMP 2012-02-20 17:11:50 +00:00
Marek Majkowski 584f58aa9b Whoops 2012-02-20 16:24:25 +00:00
Marek Majkowski 8f1935b3a1 Play nicely with RMQ descriptor limits - but with SockJS we can only approximate 2012-02-20 16:23:55 +00:00
Marek Majkowski 229018fec8 Update to recent changes in bug24744 2012-02-20 15:35:17 +00:00
Marek Majkowski ba3603571d Connect using internal API's rather than via Tcp 2012-02-17 17:50:50 +00:00
Marek Majkowski f2327ea68b initial import 2012-02-14 15:21:30 +00:00