Commit Graph

189 Commits

Author SHA1 Message Date
Jean-Sébastien Pédron ac5ebd7376 rabbitmq-dist.mk: Fix an infinite loop 2015-11-19 13:25:08 +01:00
Jean-Sébastien Pédron 92c86da13d Update erlang.mk 2015-11-18 19:14:18 +01:00
Jean-Sébastien Pédron ea1d6eb32d make test-dist: Use $(ERLANG_MK_RECURSIVE_TEST_DEPS_LIST)
... instead of $(ERLANG_MK_RECURSIVE_DEPS_LIST). This lists the test
dependencies in addition to normal dependencies.
2015-11-18 17:45:51 +01:00
Jean-Sébastien Pédron 0e5db66151 Update erlang.mk 2015-11-18 17:45:51 +01:00
Michael Klishin 24ffeb4da6 Merge pull request #14 from rabbitmq/rabbitmq-server-351
Implements Lazy Queues
2015-11-18 15:49:22 +03:00
Michael Klishin f5d18dccdf Merge branch 'master' into rabbitmq-server-351 2015-11-17 15:37:47 +03:00
Michael Klishin 80d890ea98 Merge pull request #15 from rabbitmq/rabbitmq-server-417
Reports CTL errors back to user
2015-11-16 18:33:29 +03:00
Alvaro Videla 02a8a14320 report error back to user 2015-11-16 12:59:06 +01:00
Alvaro Videla 3f83e04493 adds run-lazy-vq-tests make target 2015-11-12 16:32:35 +01:00
Alvaro Videla d668edaf0a brings changes from rabbitmq-server-351 2015-11-12 15:43:41 +01:00
Alvaro Videla 72213317ef Merge pull request #13 from rabbitmq/rabbitmq-server-419
More sensible error messages for connection-level exceptions on running connections
2015-11-11 19:30:34 +01:00
Michael Klishin 239634223f Move some functions back to reduce distance from master 2015-11-11 20:55:19 +03:00
Michael Klishin 7f603b1793 Reformat with Emacs 2015-11-11 20:43:12 +03:00
Michael Klishin 2ab2f90d67 More sensible logging of connection-level exceptions on running connections
E.g. when an unknown exchange type is used. Fixes #419.

Makes logging of errors a bit more consistent w.r.t.
case as a drive-by.
2015-11-11 20:03:16 +03:00
Michael Klishin 95c0190f9e More sensible logged messages for non-local connections and failing tuning
Fixes #418, covers failed connection.tune methods while we are at it.
2015-11-11 19:31:36 +03:00
Michael Klishin 0990bf159a More sensible formatting for channel-level ("soft") exceptions
Fixes rabbitmq/rabbitmq-server#416.
2015-11-11 17:59:08 +03:00
Michael Klishin ad7f642b00 Make log entries for "abruptly closed connections" make more sense 2015-11-11 12:09:25 +03:00
Michael Klishin a10c42f327 Rename fn, group logging functions 2015-11-11 03:16:20 +03:00
Michael Klishin d254c90366 Refactor 2015-11-11 02:52:22 +03:00
Michael Klishin 9fe359802e Special case access_refused errors
so that we can provide a more sensible error message.
2015-11-11 02:44:03 +03:00
Jean-Sébastien Pédron 2ac32d50e4 Update erlang.mk 2015-11-10 13:12:04 +01:00
Jean-Sébastien Pédron 63e440b0b7 rabbitmq-components.mk: Add rabbit to TEST_DEPS during `make check` 2015-11-10 13:09:15 +01:00
Michael Klishin ee704605ca Merge pull request #6 from rabbitmq/rabbitmq-server-62
RabbitMQ server 62
2015-11-10 01:23:58 +03:00
Michael Klishin 0a1c84348d Merge pull request #4 from binarin/rabbitmq-common-3
Initialize PRNG with unique data
2015-11-09 21:04:57 +03:00
Michael Klishin 2e5247e08b Merge pull request #5 from rabbitmq/rabbitmq-server-237
Adds handling of protocol errors on connection establishment.
2015-11-09 16:57:09 +03:00
Michael Klishin 333be4a9eb Merge pull request #7 from cl-rabbit/double-channel-open-error-fix
channel.open on opened channel should throw channel_error
2015-11-09 16:39:18 +03:00
Ilya Khaprov 94a8ce72cb channel.open on opened channel should throw channel_error 2015-11-09 11:28:19 +03:00
Alvaro Videla 55be209673 Merge branch 'master' into rabbitmq-server-62 2015-11-08 21:56:25 +01:00
Alvaro Videla 7823ccae0b uses new emitting_map helpers 2015-11-08 21:22:33 +01:00
Alvaro Videla 01da35dfde refactors emitting_map helper 2015-11-08 21:22:05 +01:00
Diana Corbacho c2826ce2d0 Adds handle_exception/3 clause to close connection and send response to client when AMQP error is experienced during handshake.
References #237
2015-11-06 14:14:55 +00:00
Alexey Lebedeff 401fc16d6b Initialize PRNG with unique data
Closes #3
2015-11-06 15:27:36 +03:00
Jean-Sébastien Pédron 4d922479cd rabbitmq-components.mk: Add rabbitmq-website to the components 2015-11-05 20:50:12 +00:00
Jean-Sébastien Pédron 316b7831ed Revert "Disable tests-with-broker and standalone-tests if there is nothing to do"
This breaks some testsuites because the WITH_* variables are defined
after rabbitmq-test.mk is loaded, so the ifneq() test always fails. We
need another solution.

This reverts commit e375667267.
2015-11-04 13:03:38 +01:00
Jean-Sébastien Pédron 096e14308e Do not automatically add rabbitmq_tests to amqp_client's TEST_DEPS
rabbitmq_tests depends on amqp_client too, so this was a circular
dependency. amqp_client does not need rabbitmq_tests anyway.
2015-11-03 15:07:51 +01:00
Jean-Sébastien Pédron ed259d95d2 New virgin-test-tmpdir target
Use it in rabbitmq-tests.mk instead of duplicating recipe.
2015-11-03 13:53:30 +01:00
Jean-Sébastien Pédron 27f674c03a Do not remove $NODE_TMPDIR before starting a node
The user of these targets is responsible for clearing the test directory
if necessary. rabbitmq-tests.mk already clears it.
2015-11-03 13:53:24 +01:00
Jean-Sébastien Pédron e375667267 Disable tests-with-broker and standalone-tests if there is nothing to do 2015-11-03 12:55:06 +01:00
Jean-Sébastien Pédron 5768b92b74 rabbitmq-*.mk: Support V=2 2015-11-03 12:54:16 +01:00
Jean-Sébastien Pédron 1273954b72 make dist: Fix dependencies list for .ez archives
There was a typo in:
    $(call core_find <directory>,<pattern>)
                    ^-- missing ','

Now we also verify that the search directories (ebin, include, priv)
exist before running find(1) on them.
2015-11-03 10:45:51 +01:00
Jean-Sébastien Pédron 2615f7a376 Merge pull request #2 from binarin/rabbitmq-common-run-background-node-fix
Fix `run-background-brocker` makefile target
2015-11-02 16:45:27 +01:00
Alexey Lebedeff 1a399c0b00 Fix `run-background-brocker` makefile target
There was dependency on non-existient target `virgin-tmpdir`.
2015-11-02 18:14:50 +03:00
Michael Klishin 1478ec1649 Merge pull request #1 from rabbitmq/rabbitmq-server-379
rabbit_reader changes from #381, references #379, #395
2015-11-02 12:29:54 +03:00
Michael Klishin 5d96f1a0b2 Merge branch 'master' into rabbitmq-server-379
Conflicts:
	mk/rabbitmq-components.mk
	mk/rabbitmq-run.mk
2015-11-02 12:29:24 +03:00
Jean-Sébastien Pédron 488eba4707 Move script locations & ant variables to rabbitmq-run.mk again
This allows us to use $(PLATFORM) to determine if we should use the
Batch or Bourne shell scripts.
2015-11-02 10:16:27 +01:00
Jean-Sébastien Pédron 1d31854ce0 Move definitions of script variables to rabbitmq-components.mk
Furthermore, on Windows, use their Batch equivalent.
2015-11-02 10:48:02 +03:00
Jean-Sébastien Pédron fbf297a6bf rabbitmq-un.mk: Use %TEMP% on Windows for the run directory 2015-11-02 10:48:02 +03:00
Jean-Sébastien Pédron 0c1ae98cf6 Git: Ignore editors' backup files 2015-11-02 10:48:02 +03:00
Jean-Sébastien Pédron 44cc58a4d9 Update erlang.mk 2015-11-02 10:48:02 +03:00
Jean-Sébastien Pédron 0ed3e3aa1a rabbitmq-components.mk: Consider sockjs and toke as 3rd-party deps
They will still be pulled by other RabbitMQ components, but they will be
autopatched for instance.
2015-11-02 10:48:02 +03:00