Commit Graph

572 Commits

Author SHA1 Message Date
Matthias Radestock a0558f9722 use the existing error reason formatter 2012-01-27 13:58:24 +00:00
Matthias Radestock a28bbf70e9 refactored error message creation
and got rid of the trailing ~n - the message does *not* get formatted
by Erlang, and the 'message' is meant to be a *header*, so, ideally,
on one line.
2012-01-27 13:35:07 +00:00
Matthias Radestock a4467c3694 merge default into bug24336 2012-01-27 13:25:07 +00:00
Matthias Radestock 4e2bdbcc08 make start_client/2 return the reader instead of the sup
...since it is meant to be returning the process controlling the
socket.

In practice using the sup was fine since it would usually terminate at
the same time as the reader.

Also, some cosmetic changes to align the code with
rabbit_networking:start_client/2.
2012-01-25 07:13:42 +00:00
Matthias Radestock 8e13e35e85 use new rabbit_networking:tcp_listener_spec/6 2012-01-23 12:05:19 +00:00
Matthias Radestock 235c3f7411 keep up with broker API changes 2012-01-23 10:07:59 +00:00
Matthias Radestock 8da31dfce8 refactor: eliminate pointless indirection 2012-01-22 22:49:34 +00:00
Simon MacMullen ad4c395b14 Sicne we trap_exits why don't we link to the connection / channel(s) and do something sensible if they die? 2012-01-20 14:35:48 +00:00
Simon MacMullen 11761e08dc Silence warnings 2012-01-20 14:34:56 +00:00
Simon MacMullen 6d7dae4938 The other plugins do not announce themselves like this, stomp should not either. 2012-01-19 16:09:59 +00:00
Steve Powell e1f1975d77 Added tag rabbitmq_v2_7_1 for changeset 3c6e64157010 2011-12-20 10:59:39 +00:00
Emile Joubert d2c7538add Merged bug24364 into default 2011-12-01 12:52:02 +00:00
Emile Joubert bada7600e5 Wrap 2011-12-01 12:51:02 +00:00
Steve Powell 4f304d6f8a Put description in test. 2011-11-29 10:23:17 +00:00
Simon MacMullen 1ec5c46ddd Merge bug 24572. 2011-11-25 16:48:57 +00:00
Steve Powell 24afee93aa Simplify take_prefix to be more idiomatic Erlang 2011-11-25 14:02:29 +00:00
Steve Powell 8a252ff86e Simple test for rejection. 2011-11-25 13:15:51 +00:00
Steve Powell 7bc29fbcf0 Added check for headers not allowed on SEND
o  also factored out some more headers
2011-11-25 12:49:56 +00:00
Steve Powell d6dd68e42f Factored out header strings. 2011-11-25 12:11:22 +00:00
Simon MacMullen 52d6fd02b1 Cosmetic 2011-11-25 10:30:16 +00:00
Steve Powell 9000c6a7e7 Removed take_prefix/3; simplified take_prefix/2. 2011-11-24 13:42:26 +00:00
Steve Powell a8cac262e6 Rewrite split_* to split/2; taking Splitter list as parm.
o  introduce take_prefix/2 to check for prefix AND remove it combined
o  take_prefix/2 also used to replace strip_leading_blank logic
2011-11-24 13:31:12 +00:00
Steve Powell 550fe21981 Tidied and corrected split functions:
o renamed slash_split/1,3 to split_content/1,3;
o removed strip_leading_blank (effect now in strip_content/1 matching);
o removed push_non_null_rstr/2;
o made both splits preserve order;
o splits now treat null string correctly.
2011-11-23 16:02:14 +00:00
Steve Powell 52bc3d9ac4 Recoded regexp:split and regexp:gsub calls to avoid regexp. 2011-11-22 17:56:21 +00:00
Emile Joubert 1957ed0b59 Merged bug24541 into default 2011-11-10 18:18:02 +00:00
Emile Joubert b8dc126e16 Whitespace 2011-11-10 18:17:47 +00:00
Steve Powell 2064790dba Moved common constraints into an hrl 2011-11-10 17:39:33 +00:00
Steve Powell 777d982822 Code to pass test. 2011-11-10 10:20:03 +00:00
Steve Powell 1be74eb32a Add test to demonstrate problem. 2011-11-10 10:03:11 +00:00
Steve Powell 1974e4611f Added tag rabbitmq_v2_7_0 for changeset f52d6ad39a3e 2011-11-09 10:20:25 +00:00
Simon MacMullen 72f703b793 Merge bug21319 (include plugins in source and binary packages) 2011-10-11 15:57:57 +01:00
Alexandru Scvortov f5362f24f4 update installation instructions 2011-09-27 12:35:09 +01:00
Alexandru Scvortov a3abc74d36 stomp needs amqp_client 2011-09-27 10:42:00 +01:00
Rob Harrop 6d5c447870 Merge bug24426 into default 2011-09-20 10:43:11 +01:00
Steve Powell bc01123558 Silently cope with unexpected conserve memory calls. 2011-09-16 11:34:40 +01:00
Matthew Sackman f8206610f8 Merging heads 2011-09-13 12:04:53 +01:00
Tim Fox 3e0d2eab39 Added tag rabbitmq_v2_6_1 for changeset d21e2feffbf6 2011-09-12 14:21:23 +01:00
Matthias Radestock 9fb8203cdf cosmetic and minor refactors 2011-09-09 17:02:11 +01:00
Matthew Sackman e0f80d47be Added tag rabbitmq_v2_6_0 for changeset 15d580297dbe 2011-09-01 14:42:57 +01:00
Matthias Radestock 4761f8583f merge heads 2011-08-30 16:31:26 +01:00
Tim Fox 74f0691590 Added tag rabbitmq_v2.6.0 for changeset 15d580297dbe 2011-08-30 15:24:53 +01:00
Steve Powell e898e783a2 Merge bug24375 into default. 2011-08-26 15:42:47 +01:00
Steve Powell 9fb39bfd49 Update close_socket in rabbit patch for test. 2011-08-26 15:37:46 +01:00
Steve Powell ff4d932862 Merge in default. 2011-08-26 15:16:03 +01:00
Steve Powell ec865e30cf Merge bug24373 into default. 2011-08-26 15:13:44 +01:00
Steve Powell db0afba9da Merge in default 2011-08-26 13:46:25 +01:00
Rob Harrop ad11737eb1 Handle case when we get acks with no recorded receipts 2011-08-26 13:10:44 +01:00
Rob Harrop 23b5e5bfd9 Fix handling of confirms for unrecorded receipts 2011-08-25 18:43:24 +01:00
Rob Harrop 7fa4c007ba Merge bug24324 into default 2011-08-25 13:09:46 +01:00
Rob Harrop 945666a34b Support header trimming for 1.0 clients 2011-08-25 12:41:26 +01:00