Michael Klishin
effdf3cdf9
Introduces a configuration setting, rabbitmq_stomp.hide_server_info
...
to prevent CONNECT from sending the server header.
References #57 , a few low level parser tests still need updating.
2016-03-30 20:42:25 +03:00
Michael Klishin
bbe819a2fc
Wording
2016-03-30 20:08:56 +03:00
Michael Klishin
931982091d
Merge branch 'stable'
2016-03-30 01:49:46 +03:00
Michael Klishin
7f3b6ad218
Merge branch 'stable' into rabbitmq-web-stomp-43
2016-03-30 01:36:29 +03:00
Hiroyasu OHYAMA
1fddb51378
added a processing to close connection at the end
2016-03-28 03:38:34 +00:00
Hiroyasu OHYAMA
fba554d5bc
added examples which describe how to use 'temp-queue' destination (for #78 )
2016-03-27 16:21:35 +00:00
Hiroyasu OHYAMA
c1e139c452
added examples which use '/exchange' destination (for #78 )
2016-03-27 15:55:24 +00:00
Hiroyasu OHYAMA
1d6373a0fc
added an example of publisher which specifies '/amq/queue' destination (for #78 )
2016-03-27 15:34:44 +00:00
Michael Klishin
a6c726f195
Connect using an IPv4 address
...
Makes the test suite more reliable in environments with
weird/broken hosts files.
2016-03-23 21:31:16 +03:00
Michael Klishin
a8c94322c2
Merge branch 'master' into rabbitmq-server-550
2016-03-23 20:01:16 +03:00
Michael Klishin
add3958893
Merge branch 'stable'
2016-03-23 17:21:02 +03:00
Michael Klishin
0e8d7d642e
Update rabbitmq-components.mk
2016-03-23 17:13:42 +03:00
Michael Klishin
d04ea3136b
Trailing ws
2016-03-23 12:24:43 +00:00
Daniil Fedotov
3beec310ab
schema testing fixes
2016-03-23 12:24:43 +00:00
Daniil Fedotov
4988f8a87a
listeners schema fixes
2016-03-23 12:24:43 +00:00
Daniil Fedotov
f77c6b50f0
Revert "Revert "cuttlefish schema""
...
This reverts commit 4e87acffff
.
2016-03-23 12:24:43 +00:00
Michael Klishin
055ac573a6
Merge branch 'stable'
2016-03-18 14:13:36 +00:00
Daniil Fedotov
d7368006cd
no more foo
2016-03-18 12:35:17 +00:00
Daniil Fedotov
81b4fcfb18
tests sanity
2016-03-18 10:03:23 +00:00
Daniil Fedotov
9f5f238ca4
Stomp errors tests
2016-03-17 19:15:39 +00:00
Daniil Fedotov
7e98ee7fe6
Handle channel errors in stomp
2016-03-17 15:49:33 +00:00
Hiroyasu OHYAMA
0f865d893f
Using '/temp-queue' destination instead of '/queue' for temporary-queues
2016-03-14 05:54:15 +00:00
Loïc Hoguin
212f530641
Add a force_default_creds option
...
This option forces the use of the default_login and
default_passcode when authenticating the user. It is
necessary for RabbitMQ-Web-STOMP's use_http_auth option.
2016-03-09 16:33:52 +01:00
Daniil Fedotov
21ae703e99
Heartbeat like in MQTT plugin
2016-03-09 12:22:07 +00:00
Daniil Fedotov
9c468bddf1
Store heartbeat monitor
2016-03-09 12:22:00 +00:00
Michael Klishin
f4e18c9feb
Emit stats unconditionally
...
of connection (flow control) state.
This makes it much easier to reason about flow control
state when looking at the management UI or monitoring tools
that poll HTTP API.
Now that rabbitmq/rabbitmq-management#41 is merged, there are
few arguments against always emitting stats.
Fixes #70 .
2016-03-08 15:34:35 +03:00
Daniil Fedotov
0485aa80b1
Handling of resource alarm message
2016-03-07 17:22:42 +00:00
Michael Klishin
9354eca032
Use 0 for frame_max
...
Atom values break HTTP API clients in statically
typed languages, e.g. Go and Java.
2016-03-04 13:55:08 +03:00
Michael Klishin
1781970f9f
Cosmetics
2016-03-04 13:44:30 +03:00
Michael Klishin
2136c82d28
Cosmetics
2016-03-04 13:40:52 +03:00
Michael Klishin
ad7ec51ef7
Use STOMP client for product name
2016-03-04 13:39:19 +03:00
Michael Klishin
13e6c3f920
Sync with upstream
2016-03-04 04:55:40 +03:00
Michael Klishin
36445e49a4
Oops
2016-03-04 04:17:46 +03:00
Michael Klishin
0a97bb448c
Merge branch 'stable' into rabbitmq-stomp-55
2016-03-04 04:17:07 +03:00
Loïc Hoguin
cf47023862
Handle socket errors when sending stats
2016-03-03 14:32:45 +01:00
Loïc Hoguin
1e3094bf05
Simplify emit_stats/1
2016-03-03 13:28:28 +01:00
Loïc Hoguin
599f0e8f55
Emit stats for management UI
2016-03-03 13:28:28 +01:00
Loïc Hoguin
b3d6c0a01e
STOMP connections use exactly one channel
2016-03-03 13:26:28 +01:00
Daniil Fedotov
7d88ca9e35
handle client_timeout in handle_cast
2016-03-01 12:37:18 +00:00
Jean-Sébastien Pédron
079779d733
rabbit_stomp_reader: Handle parsing errors gracefully
...
For a long time, process_received_bytes() didn't expect parsing
error, triggering a case_clause exception. That was ok before the merge
of #6 because go() caught the exception, logged an error and the process
terminated gracefully.
After #6 , the exception was not caught anymore, causing a crash of the
process. Furthermore, terminate() was called with the case_clause
exception as the exit reason. It called log_network_error() which didn't
expect it either, causing an additional function_clause exception.
This double fault was noticed thanks to the
test_direct_client_connections_are_not_leaked() test which tries to open
100 faulty connections very quickly.
The broker couldn't handle such a rate in our CI, because of the
supervisor trying to cope with all those crashes, and the test failed
with a timeout.
So first, the parsing error is now handled in process_received_bytes()
case block. It triggers a normal termination of the process.
Then, the error is logged right there and the process stops with the
reason 'normal', because a non-'normal' error would still cause the
supervisor to log a message and handle recovery, which would still be
too slow.
2016-02-24 11:14:40 +01:00
Jean-Sébastien Pédron
eb37165d66
Style fixes
2016-02-24 11:03:31 +01:00
Jean-Sébastien Pédron
e646725785
Remove trailing whitespaces
2016-02-24 10:54:35 +01:00
Loïc Hoguin
4a452bc027
Emit stats for management UI
2016-02-18 17:14:04 +01:00
Loïc Hoguin
732dff26ed
STOMP connections use exactly one channel
2016-02-18 17:14:04 +01:00
Michael Klishin
861057e092
Use 'durable' and 'persistent' interchangeably in more places
...
Fixes #58 .
2016-02-15 12:49:51 +03:00
Loïc Hoguin
93df9518b9
Make number of Ranch acceptors configurable
2016-01-12 11:30:53 +01:00
Michael Klishin
c9d19e1ab0
Update (c) info
2016-01-01 12:59:19 +03:00
Pierre Fenoll
442360be3d
.gitignore: make absolute paths relative
2015-12-30 07:10:26 +03:00
Jean-Sébastien Pédron
fc364d0437
Update erlang.mk
2015-12-18 20:34:27 +01:00
Jean-Sébastien Pédron
0175ffffee
Update rabbitmq-components.mk
2015-12-18 19:08:10 +01:00
Michael Klishin
cef4baadf0
Update rabbitmq-components.mk
2015-12-18 19:49:17 +03:00
Jean-Sébastien Pédron
7840ffebf1
Pika is an AMQP client, not a STOMP one, don't override the TCP port...
2015-12-16 14:52:52 +01:00
Jean-Sébastien Pédron
1f679b39b1
Use TCP ports 5673/5674 in the testsuite
...
The default STOMP port is 61613 but it's in the middle of the ephemeral
ports range on many operating systems. Therefore, there is a chance this
port is already in use which causes the testsuite to fail. Let's use a
port close to the AMQP default port.
2015-12-16 10:42:53 +01:00
Jean-Sébastien Pédron
0ea852b36f
rabbit_stomp_test: Fix how connections are accounted
...
We need to count IPv4 and IPv6 separately and explicitely. Counting IPv4
connections may fail on platforms where the IPv6 listener implicitely
handles IPv4. Counting IPv6 connections may fail if the host is not
configured for IPv6.
2015-12-16 09:40:04 +01:00
Jean-Sébastien Pédron
1c3bbc1820
erlang.mk: Disable eunit
...
Even though the eunit test succeeds here, it's executed twice because we
also run it from `STANDALONE_TEST_COMMANDS`.
2015-12-16 09:23:38 +01:00
Michael Klishin
8e81cef4cf
Merge branch 'master' into rabbitmq-stomp-6
2015-12-09 16:33:43 +03:00
Jean-Sébastien Pédron
e9b9e26234
Update rabbitmq-components.mk
2015-12-03 15:38:50 +01:00
Michael Klishin
65aad56554
Merge branch 'master' into rabbitmq-stomp-6
2015-12-03 02:08:22 +03:00
Daniil Fedotov
8740133ad8
specs for api functions in processor
2015-12-01 17:47:36 +00:00
Jean-Sébastien Pédron
a3c8e174d6
Update rabbitmq-components.mk
2015-12-01 18:36:23 +01:00
Daniil Fedotov
f1c6dc9507
moved ReceiveFun definition for heartbeats to reader
2015-12-01 16:38:47 +00:00
Daniil Fedotov
cb4af5ab27
removed temp reader
2015-12-01 16:38:47 +00:00
Daniil Fedotov
2e85963221
processor is just module now, all gen_server and amqp consumer logic is in reader now
2015-12-01 16:38:47 +00:00
Daniil Fedotov
09130272f5
New stomp reader working
2015-12-01 16:38:47 +00:00
Daniil Fedotov
47b7139d84
rabbit_stomp_reader as gen_server2
2015-12-01 16:38:47 +00:00
Jean-Sébastien Pédron
e2aa8c7e41
Update rabbitmq-components.mk
2015-12-01 16:17:19 +01:00
Jean-Sébastien Pédron
961d52bf2c
Update rabbitmq-components.mk
2015-11-30 09:13:24 +01:00
Michael Klishin
7e26041949
Merge pull request #49 from rabbitmq/rabbitmq-web-stomp-28
...
Disable heartbeats when start fun is undefined
2015-11-26 16:34:47 +03:00
Loïc Hoguin
e135e19829
Remove unneeded TCP options from config in .app.src file
2015-11-26 14:02:00 +01:00
Loïc Hoguin
a03f7c07b8
Disable heartbeats when start fun is undefined
...
Allow passing 'undefined' instead of a fun for the start function.
When the processor receives this value, it simply uses 0,0 as the
heartbeat values which disables heartbeats completely and is
reported back to the client properly.
2015-11-26 11:20:19 +01:00
Jean-Sébastien Pédron
706b5d8778
Update rabbitmq-components.mk
2015-11-26 08:54:11 +01:00
Jean-Sébastien Pédron
7706655c13
Update rabbitmq-components.mk
2015-11-26 08:41:23 +01:00
Jean-Sébastien Pédron
3abd17dd44
Update erlang.mk
2015-11-25 10:36:16 +01:00
Jean-Sébastien Pédron
f37e5fd0cd
Update rabbitmq-components.mk
2015-11-25 10:35:24 +01:00
Loïc Hoguin
bfe2faa64d
Use rabbit_net:accept_ack instead of ranch:accept_ack
...
This function includes operations that must be performed by
processes owning sockets.
2015-11-24 20:16:30 +01:00
Michael Klishin
0ce10f6766
Ignore ./debug
2015-11-23 04:25:45 +03:00
Michael Klishin
11e215ff8c
Remove a comment that is fairly obvious
2015-11-23 04:25:22 +03:00
Jean-Sébastien Pédron
ec2febbcb0
Update rabbitmq-components.mk
2015-11-20 10:52:05 +01:00
Michael Klishin
70c6885305
Merge branch 'master' into rabbitmq-server-260
2015-11-19 16:42:41 +03:00
Jean-Sébastien Pédron
fef6930aa2
Update erlang.mk
2015-11-19 14:32:04 +01:00
Michael Klishin
30bd4a3730
Merge branch 'master' into rabbitmq-server-260
2015-11-19 14:11:18 +03:00
Jean-Sébastien Pédron
55cc89f322
Update erlang.mk
2015-11-18 19:14:47 +01:00
Jean-Sébastien Pédron
eab60e6efc
Update erlang.mk
2015-11-18 17:39:48 +01:00
Loïc Hoguin
f180b1783f
Switch to Ranch for connection handling
2015-11-17 15:41:34 +01:00
Michael Klishin
9042401c1b
Handle not_allowed results when trying to log in
2015-11-13 18:20:12 +03:00
Michael Klishin
1490a6f27a
Oops
2015-11-13 18:18:00 +03:00
Michael Klishin
ef675f3664
Group related headers
2015-11-13 16:51:54 +03:00
Jean-Sébastien Pédron
3b9403798a
Update erlang.mk
2015-11-10 13:12:32 +01:00
Jean-Sébastien Pédron
ae4aba3195
Update rabbitmq-components.mk
2015-11-10 13:11:17 +01:00
Jean-Sébastien Pédron
2133cdca5b
Update rabbitmq-components.mk
2015-11-05 20:51:34 +00:00
Jean-Sébastien Pédron
6d7912cb02
Update rabbitmq-components.mk
2015-11-03 15:12:30 +01:00
Jean-Sébastien Pédron
af2752779f
Update rabbitmq-components.mk
2015-11-02 10:20:51 +01:00
Jean-Sébastien Pédron
aa25187487
Update rabbitmq-components.mk
2015-10-30 17:32:57 +01:00
Jean-Sébastien Pédron
0e03624c1f
Update erlang.mk
2015-10-28 11:16:15 +01:00
Jean-Sébastien Pédron
87c360c2c3
Update rabbitmq-components.mk
2015-10-28 11:10:38 +01:00
Jean-Sébastien Pédron
8c3e2ff3f6
DEPS: Remove rabbit
2015-10-26 18:12:30 +01:00
Jean-Sébastien Pédron
7c46ce1975
Remove stale package.mk
2015-10-26 17:23:00 +01:00
Jean-Sébastien Pédron
b864c4f3cc
Update erlang.mk
2015-10-26 15:33:41 +01:00
Jean-Sébastien Pédron
102f9ba5f3
Update rabbitmq-components.mk
2015-10-26 11:15:33 +01:00
Jean-Sébastien Pédron
5c97496fda
Update rabbitmq-components.mk
2015-10-26 10:21:23 +01:00
Jean-Sébastien Pédron
273cc136e1
Update erlang.mk
2015-10-23 18:33:05 +02:00
Jean-Sébastien Pédron
350e124138
Update rabbitmq-components.mk
2015-10-23 16:05:48 +02:00
Jean-Sébastien Pédron
ea4df67415
Update erlang.mk
2015-10-22 18:34:46 +02:00
Jean-Sébastien Pédron
777caae44d
.travis.yml: Use double-quoted flow scalar for all Erlang versions
2015-10-21 15:36:16 +02:00
Jean-Sébastien Pédron
cf7d726426
.travis.yml: Cache apt packages
2015-10-21 15:35:15 +02:00
Jean-Sébastien Pédron
dfa373ea65
.travis.yml: Explain why we re-checkout
2015-10-21 15:33:41 +02:00
Jean-Sébastien Pédron
c3de29eac8
Re-checkout the tag or branch so git_rmq fetch method works
2015-10-21 15:14:20 +02:00
Jean-Sébastien Pédron
7a391631f1
Adapt .travis.yml to erlang.mk
2015-10-21 14:56:07 +02:00
Jean-Sébastien Pédron
e9be3ba658
pre-standalone-tests depends on test-build
...
This is required to have $(DEPS_DIR)/rabbitmq_test.
2015-10-21 14:53:33 +02:00
Jean-Sébastien Pédron
ac185334c6
Fix RabbitMQ configuration file path
2015-10-21 14:14:57 +02:00
Jean-Sébastien Pédron
e91f6902e8
ssl_lifecycle: Get SSL certs location from environment
2015-10-21 14:14:40 +02:00
Jean-Sébastien Pédron
fc95916ab8
test_util: Take rabbitmqctl location from environment
2015-10-21 13:13:48 +02:00
Jean-Sébastien Pédron
d1e9665dd4
Git: Ignore Python testsuite artifacts
2015-10-21 12:57:11 +02:00
Jean-Sébastien Pédron
e7d43a95af
test_runner: Let the Makefile setup PYTHONPATH for us
2015-10-21 12:55:30 +02:00
Jean-Sébastien Pédron
8990dbdf45
Update rabbitmq-components.mk
2015-10-19 17:35:45 +02:00
Jean-Sébastien Pédron
615a03509d
Update erlang.mk
2015-10-19 17:30:58 +02:00
Jean-Sébastien Pédron
f426c04799
Update rabbitmq-components.mk
2015-10-19 17:30:58 +02:00
Jean-Sébastien Pédron
69bc6cfd66
Initial move to erlang.mk
2015-10-19 17:30:58 +02:00
Giuseppe Privitera
968a10cff3
Merge branch 'stable'
2015-10-09 11:24:21 +01:00
Giuseppe Privitera
88a70ce00f
refactored ensure_endpoint/5 for readability
2015-10-07 17:37:58 +01:00
Giuseppe Privitera
54036de283
implemented user generated queue names for /exchange & /topic
...
destinations
2015-10-07 13:50:04 +01:00
Michael Klishin
b5673745ab
Merge branch 'stable'
2015-09-30 04:13:37 +08:00
Michael Klishin
f6ee772c6f
Make trailing LF character optional
...
Fixes #39 .
2015-09-30 04:02:11 +08:00
Michael Klishin
e1565a19ff
Merge branch 'stable'
2015-09-17 01:46:39 +03:00
Michael Klishin
75d18d2eab
Simplify
2015-09-17 01:25:36 +03:00
Giuseppe Privitera
d3e97cdff0
fix formatting
2015-09-16 21:39:38 +01:00
Giuseppe Privitera
194daff2df
added redelivered flag in MESSAGE frame headers
2015-09-16 18:31:51 +01:00
Michael Klishin
e04f811092
Merge branch 'stable'
2015-09-16 19:00:57 +03:00
Michael Klishin
a3f3317c10
Give a client some time to notice that connection was closed
2015-09-16 16:24:56 +03:00
Michael Klishin
6854d078f5
Split this test into two cases
2015-09-16 15:58:37 +03:00
Michael Klishin
802919a65e
We can use transient destinations here
2015-09-16 15:35:29 +03:00
Michael Klishin
32c4f201c2
Reformat with Emacs
2015-09-16 14:56:43 +03:00
Giuseppe Privitera
ceecc2474d
calling error/4 instead of error/3 to correctly format the log message
2015-09-15 14:43:04 +01:00
Giuseppe Privitera
5cca036fcc
fix indentation
2015-09-15 14:31:40 +01:00
Giuseppe Privitera
fb2c525b3f
close connection and terminate without crashing the reader process
2015-09-15 12:17:16 +01:00
Giuseppe Privitera
64e37eec75
fix formatting
2015-09-15 11:23:37 +01:00
Giuseppe Privitera
4263f7d48c
tidy terminate the processor
2015-09-15 10:05:10 +01:00
Giuseppe Privitera
632b7744d1
fix indentation
2015-09-14 17:48:02 +01:00
Giuseppe Privitera
d3824cfc33
changed error message to be STOMP specific
2015-09-14 17:41:09 +01:00
Giuseppe Privitera
6afdecedd3
added tests for duplicate consumer tag
2015-09-14 16:46:12 +01:00
Giuseppe Privitera
512bac7be5
log ERROR frame
2015-09-14 16:02:00 +01:00
Giuseppe Privitera
e075945d52
send an ERROR frame and disconnect when duplicate consumer tag
2015-09-14 15:40:27 +01:00
Michael Klishin
59051b38cd
Merge branch 'stable'
2015-09-10 02:07:01 +03:00
Michael Klishin
65ed305890
Port .travis.yml from master
2015-09-07 21:57:26 +03:00
Giuseppe Privitera
b4971bebb2
decreased number of concurrent STOMP connections
...
on OSX default max number of open file is 256 (ulimit -n)
2015-09-07 17:38:25 +02:00
Giuseppe Privitera
2089c8ce6d
added exclusive to STOMP headers parsing
2015-09-03 11:51:55 +01:00
Giuseppe Privitera
b367aa739f
removed PRINT macro
2015-09-03 10:49:58 +01:00
Giuseppe Privitera
856b012144
refactoring
2015-09-03 10:49:58 +01:00
Giuseppe Privitera
dad20cc49c
fixed failing tests because of changed defaults (/topic is now auto_delete=true)
2015-09-03 10:49:58 +01:00
Giuseppe Privitera
026f4bc7a3
better formatting
2015-09-03 10:49:58 +01:00
Giuseppe Privitera
f4b7d3da4c
set /exchange and /topic defaults: exclusive=false auto_delete=true
2015-09-03 10:49:58 +01:00
Giuseppe Privitera
5ec54a50b5
added auto-delete and durable to STOMP headers parsing
2015-09-03 10:49:57 +01:00
Michael Klishin
dbf366f3ce
Update README.md
2015-08-22 02:36:35 +03:00
Michael Klishin
f45f81edc2
Trigger a travis build, take 3
2015-08-22 02:07:28 +03:00
Gavin M. Roy
ae072041fe
Add travis-ci configuration
2015-08-21 18:45:13 -04:00
Michael Klishin
5b8ba91bbb
Merge branch 'stable'
2015-08-20 17:56:35 +03:00
Alvaro Videla
6b12a76c08
cosmetics
2015-08-20 16:09:53 +02:00
Giuseppe Privitera
a50bebc3ab
destructuring in function head
2015-08-20 14:08:24 +01:00
Giuseppe Privitera
19220fe721
added pika to test dependencies
2015-08-20 13:39:15 +01:00
Giuseppe Privitera
96eb5e4dd2
added python tests for queue properties (i.e. x-message-ttl, etc.)
2015-08-20 13:17:02 +01:00
Giuseppe Privitera
c533fd16d6
added x-message-ttl, x-expires, x-max-length, x-max-length-bytes,
...
x-dead-letter-exchange, x-dead-letter-routing-key and x-max-priority
parsing in SEND and SUBSCRIBE
2015-08-20 13:17:02 +01:00
Michael Klishin
85037eb355
Relax this assertion a bit, wait less
2015-08-20 15:05:54 +03:00
Michael Klishin
2064d9e63d
Handle blank line responses, references #20
2015-08-20 14:57:28 +03:00
Michael Klishin
f9554d46a6
Adapt Erlang framing tests for #20
...
Due to the tests being accidentally commented out,
this came unnoticed.
We already have Python tests that test parsing of bodies
and headers with null characters.
One test needed adapting for #20 .
2015-08-20 14:06:19 +03:00
Michael Klishin
dc73e1720c
Make sure we run the Erlang test suite
...
They were commented out in d98eb00a
.
2015-08-20 13:29:13 +03:00
Jean-Sébastien Pédron
686c90ddd5
Use monotonic_time() to compute elapsed time
...
... not `erlang:now()` (deprecated) or `os:timestamp()` (which could go
backward).
References rabbitmq/rabbitmq-server#233 .
2015-08-05 15:29:00 +02:00
Giuseppe Privitera
abb6d67c24
run ACK/NACK tests for all STOMP versions (1.0, 1.1, 1.2)
2015-07-24 21:42:18 +03:00
Dmitrijus Glezeris
38c1645776
Only process the content-length header on the SEND command
2015-06-16 02:09:41 +03:00
Michael Klishin
b48eff9f23
This test can be much higher level
...
It trips on the recent LF patch for no good reason.
2015-06-16 01:58:50 +03:00
Michael Klishin
158116be97
Unbreak highlighting in python-mode
2015-06-16 01:58:50 +03:00
Dmitrijus Glezeris
a1b6e7883d
Added a newline character at the end of the frame
2015-06-16 01:58:50 +03:00
Michael Klishin
61af9cf856
Update README.md
2015-06-16 01:58:50 +03:00
Jean-Sébastien Pédron
d98eb00a18
Testsuite: Update to stomp.py 4.0.16
...
To help with the support of tests targetting a specific version of
STOMP, several helpers were added to base.py. The default STOMP version
is 1.0, the same as rabbitmq-stomp.
Fixes #12 .
2015-05-29 18:39:37 +02:00
Michael Klishin
d77af4af39
(c) year
2015-05-24 04:27:54 +03:00
Michael Klishin
050288c3cc
Don't use deprecated erlang:now/1
2015-04-30 20:06:07 +03:00
Jean-Sébastien Pédron
afe33f57f3
package.mk: Use $(MAKE) instead of hard-coding "make"
...
Fixes #9 .
2015-04-08 13:10:46 +02:00
Michael Klishin
056d5d443a
Ignore stomp.py checkout
2015-04-08 12:16:39 +02:00
Michael Klishin
44667ea7d6
Notify stomp_processor when reader fails with an exception
...
Why not just link the two?
Then any network-related issue would
produce a scary crash report in the SASL log and
we won't give the processor some time to finish
what it may still be doing.
Fixes #7 .
2015-04-08 12:16:39 +02:00
Michael Klishin
c3999a6c89
Sync CONTRIBUTING.md with the template one
2015-02-20 17:09:37 +03:00
Jean-Sébastien Pédron
cc10d36506
Merge branch 'stable'
2015-02-19 18:13:12 +01:00
Jean-Sébastien Pédron
3bb7f7ca9b
Convert .hgignore to .gitignore
2015-02-19 17:26:01 +01:00
Michael Klishin
291da45346
Sync CONTRIBUTING.md with the template one
2015-02-18 00:25:52 +03:00
Jean-Sébastien Pédron
631858b9ba
Merge branch 'stable'
2015-02-17 21:18:47 +01:00
Jean-Sébastien Pédron
f1bb8346ab
Remove the "moved to GitHub" warning.
2015-02-17 21:18:42 +01:00
Jean-Sebastien Pedron
89c2b2d92e
stable to default
2015-02-17 18:17:05 +01:00
Jean-Sebastien Pedron
37c0c75e2a
README.md: Warn about the move to GitHub
2015-02-17 18:16:44 +01:00
Michael Klishin
f4add3a82a
merge stable into default
2015-02-07 06:04:57 +03:00
Simon MacMullen
cd141310c6
stable to default
2015-01-29 13:23:21 +00:00
Michael Klishin
1e9b82641e
Link channel process, handle more exit cases
2015-01-29 08:46:14 +03:00
Michael Klishin
657cdac271
Handle system messages in the reader
2015-01-28 11:58:20 +03:00
Simon MacMullen
a02c37cbcd
Oops, that might not exist
2014-11-28 15:13:55 +00:00
Simon MacMullen
d7bf7b8dcb
Simplify. Enforce always running SSL tests. Don't create global variables in the Makefile namespace. Make the SSL test script work properly when run from the umbrella.
2014-11-28 14:40:13 +00:00
Simon MacMullen
5fb1698ef3
Oops
2014-11-28 11:30:48 +00:00
Simon MacMullen
337b151275
Rename this to avoid conflict with MQTT. Something of a hack, but it seems to work.
2014-11-28 09:46:40 +00:00
Simon MacMullen
1717b5d6ad
Updating to latest stomppy seems to be a huge task, so just patch the old stomppy to use TLSv1 for the time being.
2014-10-20 19:39:18 +01:00
Simon MacMullen
5acaa94ad9
poodle_check/1 has to come after ensure_ssl/0.
2014-10-20 15:54:11 +01:00
Simon MacMullen
bed0c7f0a5
Oops
2014-10-20 14:06:44 +01:00
Simon MacMullen
af835740f8
Test for old Erlang, and shout if we are vulnerable.
2014-10-20 14:04:18 +01:00
Michael Klishin
e2839a41a4
Extras => DeliveryCtx
2014-08-11 12:17:38 +04:00
Michael Klishin
73d50a4c95
amqp_channel:set_manual_flow_control/2 => amqp_channel:enable_delivery_flow_control/1
2014-08-09 16:05:40 +04:00
Michael Klishin
b862301a87
amqp_channel:notify_sent/1 => amqp_channel:notify_received/1
2014-08-09 15:40:33 +04:00
Michael Klishin
cc948203fb
amqp_channel:notify_sent/3 => amqp_channel:notify_sent/1
2014-08-09 15:39:16 +04:00
Michael Klishin
fc9e7b331c
Use amqp_channel:notify_sent/3 after the processor has handled basic.deliver
2014-08-06 21:49:20 +04:00
Michael Klishin
52694b227a
Towards using manual queue-to-consumer flow control in STOMP processor
2014-08-06 19:43:44 +04:00
Michael Klishin
9d6bc79031
Support the requeue header for NACK frames
...
GitHub: references #2 .
2014-07-07 19:33:42 +04:00
Michael Klishin
3b3b5e9697
merge stable into default
2014-07-04 16:39:56 +04:00
Michael Klishin
53cd6b0bcf
Handle processor exits in the reader
...
N.B. there can be legitimate reasons for processor to exit:
e.g. when it detects missed client heartbeats and must terminate
the connection.
2014-07-04 16:25:32 +04:00
Michael Klishin
7b7dc98b73
Better error message
2014-07-04 16:24:41 +04:00
Michael Klishin
287b8e4d2d
Handle TLS upgrade errors and log them
...
Previously the process would just crash and be restarted by its supervisor
silently.
2014-07-04 16:24:17 +04:00
Michael Klishin
943208fc31
Gracefully handle {inet_reply, _, {error, closed}}
...
This usually indicates a write to a closed socket. In our case
this is effectively harmless but leaves ugly error messages
in the log.
2014-06-26 11:35:21 +04:00
Michael Klishin
330f70ec2d
Squash more warnings
2014-06-26 11:08:36 +04:00
Michael Klishin
4f1e7f0c41
Squash more warnings
2014-06-26 11:08:36 +04:00
Michael Klishin
3cf01f64f2
Squash some warnings
2014-06-26 09:33:01 +04:00
Michael Klishin
9bf1add493
Squash some warnings
2014-06-26 09:33:01 +04:00
Michael Klishin
a1a24a51bb
Rename function
2014-06-24 12:23:24 +04:00
Michael Klishin
e471c461fb
Prefix queues with generative names with stomp-subscription
2014-06-24 12:19:01 +04:00
Michael Klishin
3e69e69c83
Bump timeout in this test
2014-06-24 11:59:07 +04:00
Michael Klishin
159bb7895d
Ignore debug/*
2014-06-24 09:43:32 +04:00
Michael Klishin
b18e57044e
Shut down the processor cleanly when a STOMP client misses heartbeats
...
Abnormal termination causes it to be restarted when it's no longer
necessary, plus produces gen_server termination traces in the SASL
log.
2014-06-18 16:10:48 +04:00
Michael Klishin
0dbb125d9a
In case of SUBSCRIBE failure, clean up queues for topic destinations, too
2014-06-16 10:44:34 +04:00
Michael Klishin
3a2f143da7
catch all case
2014-06-16 09:48:01 +04:00
Michael Klishin
2a44a8860c
Only delete declared queue if destination is /exchange/*
...
This way we can be sure the queue was declared by us.
2014-06-16 09:42:42 +04:00
Michael Klishin
89e572a087
Clean up declared queue when SUBSCRIBE handler fails
2014-06-16 09:04:37 +04:00
Michael Klishin
d7254cd002
Refactor
2014-04-07 14:17:06 +04:00
Michael Klishin
1a19b3f2a5
Correctly report blank destination errors, add a test
2014-04-07 13:49:23 +04:00
Michael Klishin
49609933f6
Reject publishes to destination named ""
2014-04-04 19:38:00 +04:00
Simon MacMullen
514f0ce5fa
Update copyright for 2014
2014-03-17 17:25:25 +00:00
Simon MacMullen
bf6852cdf4
Merge bug25957
2014-03-06 17:20:24 +00:00
Simon MacMullen
a2aef0667e
Merge bug25603
2014-03-05 14:07:33 +00:00
Simon MacMullen
820025a5f8
Use the new-old basic.qos, rather than x-prefetch
2014-03-04 14:41:58 +00:00
Simon MacMullen
3d198fcc44
Merge in default
2014-03-04 14:38:17 +00:00
Michael Klishin
4bbf75e9de
merge stable into default
2014-03-03 14:13:25 +04:00
Tim Watson
449565c497
Introduce another supervisor and avoid deadlocks on shutdown
...
Since the stomp processor needs to start a heartbeater and we know that
calling start_child on your own supervisor is a recipe for deadlock,
introduce another supervisor as a sibling of the processor.
2014-02-26 16:04:24 +00:00
Simon MacMullen
9a85853a7b
Check source of user is acceptable.
2014-02-24 13:45:55 +00:00
Simon MacMullen
818c383dab
Remove examples that no longer work since bug 23122(!).
2014-02-12 16:06:08 +00:00
Simon MacMullen
8a58268318
Use per-consumer prefetch, and thus abandon all those per-subscription channels.
2014-01-14 11:02:42 +00:00
Tim Watson
2851ee3dd2
Move the reader over to the new rabbit_heartbeat:start/6 API
2013-10-10 15:30:18 +01:00
Simon MacMullen
c1d0f71075
Merge bug 24094
2013-10-03 11:34:47 +01:00
Emile Joubert
204b8e0b4e
Make sure processor dies, also when connections are short-lived
2013-10-01 13:46:06 +01:00
Emile Joubert
12db723a28
Propagate Erlang client API change
2013-09-24 11:59:17 +01:00
Simon MacMullen
25e574018a
reduce distance to default
2013-08-30 14:09:59 +01:00
Emile Joubert
389e3b19b4
Changes and renaming
2013-08-30 11:16:36 +01:00
Emile Joubert
2bab10ff4b
Spacing
2013-08-27 09:48:14 +01:00
Emile Joubert
84cd329ab0
Prevent possible deadlock because children call parents
2013-08-23 17:58:54 +01:00
Simon MacMullen
4a7ce2247e
stable to default (someone forgot)
2013-08-02 14:58:21 +01:00
Emile Joubert
e5cf4eca75
Merged bug25691 into stable
2013-08-01 14:30:11 +01:00
Simon MacMullen
d1728e6f90
Minimise distance from stable
2013-07-31 14:56:02 +01:00
Simon MacMullen
103aae55a0
Do not corrupt state on server-sent basic.cancel.
2013-07-31 14:47:34 +01:00
Emile Joubert
618a52aa40
Merged stable into default
2013-07-31 13:57:29 +01:00
Simon MacMullen
dde1f102e1
s/VMware/GoPivotal/g
2013-07-01 10:49:15 +01:00
Simon MacMullen
416781919c
Unbreak SSL tests, broken in bug 25002.
2013-06-21 11:35:29 +01:00
Emile Joubert
61922e0217
Merged stable into default
2013-06-06 16:10:53 +01:00
Simon MacMullen
368f5a0950
Merge bug25566
2013-06-05 15:02:46 +01:00
Emile Joubert
cee42f6abd
Allow unescaped colons in header values
2013-05-29 09:51:26 +01:00
Simon MacMullen
f3099f106f
Fix non-temp reply queues, and add a test.
2013-05-21 17:18:55 +01:00
Simon MacMullen
113f75bac0
rabbit_stomp_processor is used from web-stomp too, don't assume which application we are.
2013-05-20 17:48:23 +01:00
Emile Joubert
d3211f85b5
Alternative implementation for vhost
2013-05-15 13:07:30 +01:00
Simon MacMullen
412e594fa0
Merge bug25466
2013-03-07 15:04:19 +00:00
Simon MacMullen
aeecb419f2
Remove
...
a
number
of
blank
lines.
2013-03-07 15:04:00 +00:00
Emile Joubert
59f94c0b58
Propagate API change
2013-03-07 12:12:28 +00:00
Emile Joubert
84269c0b27
Propagate API change
2013-03-07 11:18:47 +00:00
Emile Joubert
a8499a9cf3
Handle connection abort while opening more gracefully
2013-03-01 12:36:31 +00:00
Matthias Radestock
e6fec78f8e
refactor: move reader throttle control to one place
2013-02-28 12:08:19 +00:00
Emile Joubert
31730f4f69
Prevent sending to /temp-queue destinations
2013-02-26 17:51:00 +00:00
Matthias Radestock
1b2e644ce3
socket buffer size tuning has moved into the tcp_acceptor
2013-02-26 15:35:06 +00:00
Simon MacMullen
e672366564
Merge bug25382
2013-02-26 15:19:18 +00:00
Emile Joubert
b36857eadd
Rename
2013-02-25 16:35:26 +00:00
Emile Joubert
89e6201ec7
Rename
2013-02-25 14:22:31 +00:00
Emile Joubert
d9ea791141
More wrapping
2013-02-22 14:48:10 +00:00
Emile Joubert
ae5bf097a4
Wrapping
2013-02-22 14:40:03 +00:00
Emile Joubert
3c4cc8d053
Transparent temp queues
2013-02-22 14:16:02 +00:00
Emile Joubert
b4c7d30330
Transparent subscriptions to durable topic destinations
2013-02-22 13:59:35 +00:00
Emile Joubert
c1699b0cc9
Rename
2013-02-22 12:14:36 +00:00
Emile Joubert
db043eae8b
Punctuation
2013-02-20 15:13:14 +00:00
Emile Joubert
3fbb532a59
Naming of topic exchange destinations
2013-02-19 18:23:13 +00:00
Emile Joubert
da447d4267
Merge destination semantics with AMQP 1.0
2013-02-15 16:11:17 +00:00
Simon MacMullen
d9231b729b
stable to default
2013-01-24 13:15:54 +00:00
Emile Joubert
e71cfda67b
Update copyright 2013
2013-01-23 12:25:55 +00:00
Simon MacMullen
d6e0f9af93
API change
2013-01-09 12:05:45 +00:00
Simon MacMullen
3186d8d8b1
API change
2013-01-09 11:18:51 +00:00
Simon MacMullen
454f283718
Use amqp_direct_connection:socket_adapter_info/1
2013-01-08 16:23:59 +00:00
Emile Joubert
5b6ff927fc
More accurate reply-to handling
2013-01-03 13:02:01 +00:00
Matthias Radestock
89e399b110
refactor: ditch mutual tail recursion in favour of one stack frame
...
it's clearer that way
2012-12-06 16:38:16 +00:00
Simon MacMullen
72ab903305
address -> host.
2012-11-19 16:35:09 +00:00
Simon MacMullen
0b4d15b36f
Establish stable branch
2012-11-19 16:34:51 +00:00
Emile Joubert
71fc94d73c
Merged default into bug24623
2012-11-14 12:00:27 +00:00
Simon MacMullen
f07d2948c7
Move this closer to where it's used.
2012-11-12 17:38:43 +00:00
Emile Joubert
b55b9164cf
More refactoring
2012-11-12 15:50:52 +00:00
Emile Joubert
6f79195eda
Variable rename to prevent accidental match
2012-11-08 17:16:34 +00:00
Emile Joubert
912a5def8e
Detect missing subsriptions
2012-11-08 14:37:25 +00:00
Emile Joubert
6056742ecc
Refactor header generation
2012-11-07 19:51:25 +00:00
Emile Joubert
c8b54ccdef
Refactoring for 1.2 support
2012-11-07 15:33:05 +00:00
Emile Joubert
a14345ece0
Tests for 1.2
2012-11-07 14:05:54 +00:00
Emile Joubert
848d344d15
First draft of support for 1.2
2012-11-06 17:30:31 +00:00
Emile Joubert
e64d983ae2
QA feedback
2012-10-17 09:42:17 +01:00
Emile Joubert
8a98a7ffcd
Temp destination queues interoperate with non-STOMP clients
2012-10-03 11:11:51 +01:00
Emile Joubert
e11ca5fe94
Merged bug25140 into default
2012-09-27 15:09:16 +01:00
Emile Joubert
c7ae5c705d
Authenticate via the erlang direct client
2012-09-19 14:37:05 +01:00
Matthias Radestock
bccc7edb6d
eliminate unused var warning
2012-09-17 10:55:12 +01:00
Matthias Radestock
00ae0088f7
fix bug
2012-09-17 10:54:07 +01:00
Simon MacMullen
d5a09d5d93
Add support for the five missing message properties: expiration, type, timestamp, app-id and user-id.
2012-09-12 16:04:30 +01:00
Steve Powell
6ac68896d8
Adjust test for no 0x10's in error frames.
2012-08-16 11:42:00 +01:00
Steve Powell
769254ae61
Merge default and resolve clashes.
2012-08-15 17:22:15 +01:00
Steve Powell
fa13f92976
Rationalise use of ~n in messages
2012-08-15 17:03:53 +01:00
Francesco Mazzoli
2952f8cc58
merge bug25034
2012-08-14 17:44:48 +01:00
Emile Joubert
ce85481bd8
Merged bug25067 into default
2012-08-13 10:44:47 +01:00
Emile Joubert
cd210c7be1
Merged bug24973 into default
2012-08-13 10:05:05 +01:00
Emile Joubert
79cd589d87
Trailing whitespace
2012-08-13 10:02:39 +01:00
Steve Powell
eef574f71c
Merge 24973
2012-08-10 15:38:51 +01:00
Steve Powell
22c13bf19d
Unpick 25067 changes.
2012-08-10 15:34:34 +01:00
Steve Powell
efc3515d9f
Grammar tidy-up.
2012-08-10 15:25:18 +01:00
Steve Powell
c9ba8bf8e5
Remove both trailing spaces.
2012-08-10 14:31:14 +01:00
Emile Joubert
1f23514f6c
Indentation, whitespace, column-width
2012-08-07 11:02:27 +01:00
Emile Joubert
fb87d20937
Merged bug25036 into default
2012-08-06 12:26:13 +01:00
Steve Powell
1df32db65a
Hmm, tweak some more. Is this a real problem?
2012-08-03 11:59:31 +01:00
Steve Powell
6436af1552
Differentiate Authentication failures.
...
Adjust tests to check these.
2012-08-01 16:16:45 +01:00
Steve Powell
83c758e4c1
Merge in default
2012-08-01 14:12:54 +01:00
Steve Powell
ad4b9dee11
Reduce expectation in test.
2012-08-01 11:25:41 +01:00
Steve Powell
ff17e624fe
Attempt to test server cancel subscription
2012-08-01 10:46:24 +01:00
Steve Powell
cf95e6f5a3
Tweak delay to accomodate ci tests.
2012-07-26 10:06:49 +01:00
Steve Powell
99ab3f6bc9
Merge in default
2012-07-25 17:58:34 +01:00
Steve Powell
f890a9bef3
cosmetic
2012-07-25 17:50:08 +01:00
Steve Powell
c1f25152ef
Merge cosmetic changes from bug25045
2012-07-25 17:08:59 +01:00
Steve Powell
458633f870
Merge in bug24973.
2012-07-25 16:51:00 +01:00
Steve Powell
2b2e4d756c
Check for invalid colon in header value
2012-07-25 16:47:54 +01:00
Steve Powell
9a579cbc70
Make incomplete header a fatal error
2012-07-25 16:28:43 +01:00
Steve Powell
2cec0d0c09
Forgot to initialize hdrs.
2012-07-25 15:57:37 +01:00
Steve Powell
f87babeb55
Complete parser rewrite and added some new tests.
2012-07-24 14:01:41 +01:00
Steve Powell
60032e3ba3
Removed CR as valid char in headers and command;
...
update tests to reject such frames
augment escapes to include \r as escape for CR
simplify grammar
2012-07-20 14:47:36 +01:00
Steve Powell
3a9444cf0d
Added code to generate CRLF eol for trailing CR.
...
Augmented tests.
2012-07-20 11:11:37 +01:00
Steve Powell
f72d6606fa
Add tests for trailing \r in COMMAND and header-value;
...
o serialize-header augmented to add extra \r to trailing \r
2012-07-19 16:50:46 +01:00
Steve Powell
ccaac6104b
Factored out the BSL escape codes to a single function.
2012-07-18 18:06:18 +01:00
Steve Powell
db8ccc279f
Introduced parse_header_name with BACKSLASH escapes;
...
-- augmented unit test
-- modified serialise_header/1 to escape key as well as value
2012-07-18 17:18:56 +01:00
Steve Powell
52d86e1f1e
Refactored parse to eliminate _cr functions without extra parameters;
...
also collapsed _escape function for backslashes.
2012-07-18 15:49:00 +01:00
Steve Powell
6306bdb89a
Make existing main parser code more comprehensible, ready for refactoring.
2012-07-18 14:21:48 +01:00
Steve Powell
d90db2ba9c
Use content-length header MACRO in tests.
2012-07-18 12:20:25 +01:00
Steve Powell
53533c4c27
Macroise content-length header.
2012-07-18 12:16:55 +01:00
Steve Powell
fdcb086727
Add STOMP frame syntax description to rabbit_stomp_frame.erl
2012-07-18 09:57:41 +01:00
Steve Powell
ece5363bb0
Tweak wait time in lifecycle tests for CI.
2012-07-17 11:55:29 +01:00
Steve Powell
bb3370087e
Improve diagnostics on destinations test failures.
2012-07-16 10:51:36 +01:00
Steve Powell
1d9bcf350b
Simplify frame unit tests.
2012-07-11 11:55:29 +01:00
Steve Powell
e33b0df580
React to basic.cancel from server by UNSUBSCRIB(E)ing
2012-07-11 11:44:12 +01:00
Steve Powell
9abd4ebb42
Refactor test function
2012-07-10 16:12:48 +01:00
Steve Powell
44053f3418
Merge in default
2012-07-10 12:15:34 +01:00
Steve Powell
2ef71b4e10
Accept CRLF as inter-frame NL; command terminator and header terminator.
2012-07-10 12:14:26 +01:00
Emile Joubert
af35cacd2f
Merged bug24602 into default
2012-07-10 10:58:52 +01:00
Steve Powell
47024a5ed3
Made test in test more explicit.
2012-07-09 15:22:12 +01:00
Steve Powell
aa30d35048
Erroneous catch clause (thanks Emile)
2012-07-06 15:09:03 +01:00
Steve Powell
01e73d952c
Increment default wait time for assertListenerAfter() used in lifecycle tests.
2012-07-06 14:55:38 +01:00
Steve Powell
2f2b39126c
Reworked base.py listener to record message arrival number
...
and change test in destinations.py to expect two responses and check the order of arrival.
Rename test to test_durable_subscription.
2012-07-06 14:53:45 +01:00
Matthias Radestock
df7c121ae4
remove ugliness
2012-07-02 19:32:06 +01:00
Matthias Radestock
1a9b987eeb
adapter_info got renamed
2012-07-02 19:12:42 +01:00
Matthias Radestock
e37f0ed7d0
eliminate dependency on erlang client internals
2012-07-02 18:57:32 +01:00
Steve Powell
23d1f80dbb
Instrumented base.py to get more info from errors on CI
2012-06-28 17:09:49 +01:00
Steve Powell
ab2d44b2da
Modified tests for interframe heartbeat, null bytes and carriage returns (sic) with test for intra-command carriage return.
2012-06-01 15:19:25 +01:00
Steve Powell
f60ef40e47
Added tests for interframe heartbeat, null bytes and carriage returns (sic) with test for intra-command carriage return.
2012-06-01 15:13:21 +01:00
Steve Powell
ec59b4b844
Repair refactor breakage.
2012-05-30 15:42:44 +01:00
Steve Powell
b19ba8ad30
Merge in default
2012-05-30 15:24:45 +01:00
Steve Powell
38aecf4823
Stop ignoring carriage returns in headers
2012-05-30 15:24:00 +01:00
Steve Powell
b32fc0fb40
Refactor parsing to make it more obvious
2012-05-30 15:22:18 +01:00
Steve Powell
3b134dec7f
Stop ignoring carriage returns in the middle of command strings
2012-05-30 14:31:08 +01:00
Matthias Radestock
0149f6fb9e
simplifying refactor
2012-05-30 11:37:59 +01:00
Matthias Radestock
63318eab1f
consistency
2012-05-30 10:46:02 +01:00
Matthias Radestock
568724161f
cosmetic
2012-05-30 10:04:53 +01:00
Simon MacMullen
000d40a31b
Merge bug24968
2012-05-29 14:37:59 +01:00
Simon MacMullen
f2cb32c7bf
Merge heads
2012-05-29 14:31:28 +01:00
Simon MacMullen
2301d4fd17
Unbreak the tests. Ahem.
2012-05-29 14:31:00 +01:00
Simon MacMullen
0d53ee9ab8
Merge bug24872.
2012-05-29 12:16:13 +01:00
Matthias Radestock
e73938fbf0
refactor: eliminate code duplication
...
This isn't shorter, but imo clearer
2012-05-28 18:53:29 +01:00
Matthias Radestock
4878fcf885
merge default into bug24968
2012-05-28 17:36:29 +01:00
Matthias Radestock
362e23d76c
refactor: simplify closures and do work earlier
2012-05-28 17:19:41 +01:00
Matthias Radestock
254abae002
always read everything from socket
...
...rather than a specific number of bytes when the content-length is
submitted.
This simplifies the code and, in the presence of appropriately sized
buffers, is no less efficient.
2012-05-28 17:11:03 +01:00
Matthias Radestock
ac7811f6a0
cosmetic
2012-05-28 16:15:14 +01:00
Matthias Radestock
75eb2be9a9
tune buffer sizes in order to improve performance for non-tiny messages
2012-05-28 15:55:54 +01:00
Matthias Radestock
1ad18d588d
cosmetic
2012-05-28 15:21:26 +01:00
Simon MacMullen
f4df1f62ab
Cosmetic
2012-05-23 13:13:11 +01:00
Steve Powell
fba4e7f1d3
Tidy up run_socket.
2012-05-22 17:19:41 +01:00
Steve Powell
84a0f848f2
Merge in default
2012-05-22 17:06:30 +01:00
Steve Powell
7e13ade7fa
Prevent mainloop from issuing too many async_recv at a time.
2012-05-22 17:02:33 +01:00
Matthias Radestock
a6579671c7
remove unused state member
2012-05-22 16:10:00 +01:00
Steve Powell
2fe97db868
Earlier versions of Erlang don't have integer_to_list/2 auto-imported.
2012-04-17 10:38:00 +01:00
Steve Powell
14f41ed45e
Destination on MESSAGE frames reflects SEND destination, not SUBSCRIBE destination;
...
Treat default exchange and amq.topic exchange specially;
Escape content;
Adjust tests to cope with new expectations.
2012-04-10 13:47:52 +01:00
Emile Joubert
91abbb749a
Generalise memory alarm
2012-03-28 11:39:33 +01:00
Steve Powell
27ac436eb3
Update connect_options.py to check for error frame (if bad connect)
...
and to set default user before test (so it passes).
2012-03-26 10:53:34 +01:00
Simon MacMullen
bc7a48e782
Merge bug24796
2012-03-15 18:09:12 +00:00
Simon MacMullen
e34be08226
Test implicit connections even if we *are* doing SSL tests, by turning implicit connect on just for the test.
2012-03-15 18:00:31 +00:00
Steve Powell
315c8f2cfc
Removed impossible not_found in login_header/3
2012-03-15 17:25:54 +00:00
Simon MacMullen
ff1360bf63
Log the various authentication failures possible.
2012-03-15 17:14:54 +00:00
Steve Powell
1f6d097f43
Updated test ssl.config to remove default user (and implicit connect);
...
adjusted tests to avoid using implicit connect everywhere;
put check in login_header to return undefined if lookup returns undefined.
2012-03-15 11:37:02 +00:00
Simon MacMullen
27bbb0b639
Slightly more comment
2012-03-13 10:45:27 +00:00
Simon MacMullen
a40eed1dff
Add failing test. We can't implement this in Python since stomp.py seems buggy in this area anyway (I'm not sure it sends DISCONNECT).
2012-03-12 17:49:05 +00:00
Simon MacMullen
36fdbd174f
Make the reader transient. Explain why.
2012-03-12 17:28:18 +00:00
Simon MacMullen
29acf5f471
Make sure STOMP connections have a name, and thus fix mgmt connection listing.
2012-03-12 14:09:05 +00:00
Steve Powell
657e1103c4
Allow "server:.*" header on CONNECTED frames in tests.
2012-02-24 15:44:55 +00:00
Simon MacMullen
3686c11ce2
"server" header in CONNECTED frame.
2012-02-24 10:31:58 +00:00
Simon MacMullen
2e50bc2733
Consistency.
2012-02-24 10:07:00 +00:00
Steve Powell
3727b4ac7b
Merge bug24753 into default
2012-02-23 15:36:19 +00:00
Simon MacMullen
b275adcc8c
Merge in default (something of a biggie, merge of bug24744 demanded we move stuff around).
2012-02-23 14:43:53 +00:00
Simon MacMullen
29d11b7547
Merge bug24744
2012-02-23 14:15:41 +00:00
Simon MacMullen
a1a2c769e6
Cosmetic
2012-02-23 14:15:24 +00:00