6 days agoUse new, flat API for SSL peer name bug24831 tip
Michael Bridgen <mikeb@rabbitmq.com> [Tue, 15 May 2012 14:59:47 +0100] rev 707
Use new, flat API for SSL peer name

3 weeks agoAdded tag rabbitmq_v2_8_2 for changeset 027349f33211 default
Simon MacMullen <simon@rabbitmq.com> [Mon, 30 Apr 2012 12:31:35 +0100] rev 706
Added tag rabbitmq_v2_8_2 for changeset 027349f33211

4 weeks agoJunk bug24866 junk
Simon MacMullen <simon@rabbitmq.com> [Mon, 23 Apr 2012 13:54:26 +0100] rev 705
Junk bug24866

4 weeks agoAPI change bug24866
Simon MacMullen <simon@rabbitmq.com> [Tue, 17 Apr 2012 14:18:24 +0100] rev 704
API change

4 weeks agoEarlier versions of Erlang don't have integer_to_list/2 auto-imported. rabbitmq_v2_8_2
Steve Powell <steve@rabbitmq.com> [Tue, 17 Apr 2012 10:38:00 +0100] rev 703
Earlier versions of Erlang don't have integer_to_list/2 auto-imported.

5 weeks agoMerged bug24763 into default
Emile Joubert <emile@rabbitmq.com> [Wed, 11 Apr 2012 16:15:00 +0100] rev 702
Merged bug24763 into default

5 weeks agoDestination on MESSAGE frames reflects SEND destination, not SUBSCRIBE destination; bug24763
Steve Powell <steve@rabbitmq.com> [Tue, 10 Apr 2012 13:47:52 +0100] rev 701
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.

7 weeks agoMerge bug 23463
Simon MacMullen <simon@rabbitmq.com> [Thu, 29 Mar 2012 17:45:44 +0100] rev 700
Merge bug 23463

7 weeks agoGeneralise memory alarm bug23463
Emile Joubert <emile@rabbitmq.com> [Wed, 28 Mar 2012 11:39:33 +0100] rev 699
Generalise memory alarm

7 weeks agoMerged bug24799 into default
Emile Joubert <emile@rabbitmq.com> [Mon, 26 Mar 2012 16:09:29 +0100] rev 698
Merged bug24799 into default

8 weeks agoMerge in default. bug24799
Steve Powell <steve@rabbitmq.com> [Mon, 26 Mar 2012 10:56:04 +0100] rev 697
Merge in default.

8 weeks agoUpdate connect_options.py to check for error frame (if bad connect) bug24799
Steve Powell <steve@rabbitmq.com> [Mon, 26 Mar 2012 10:53:34 +0100] rev 696
Update connect_options.py to check for error frame (if bad connect)
and to set default user before test (so it passes).

8 weeks agoAdded tag rabbitmq_v2_8_1 for changeset 9c0ef158faf8
Simon MacMullen <simon@rabbitmq.com> [Thu, 22 Mar 2012 16:08:03 +0000] rev 695
Added tag rabbitmq_v2_8_1 for changeset 9c0ef158faf8

2 months agoAdded tag rabbitmq_v2_8_0 for changeset f98894d59e3c rabbitmq_v2_8_1
Simon MacMullen <simon@rabbitmq.com> [Mon, 19 Mar 2012 11:34:33 +0000] rev 694
Added tag rabbitmq_v2_8_0 for changeset f98894d59e3c

2 months agoMerge bug24796 rabbitmq_v2_8_0
Simon MacMullen <simon@rabbitmq.com> [Thu, 15 Mar 2012 18:09:12 +0000] rev 693
Merge bug24796

2 months agoTest implicit connections even if we *are* doing SSL tests, by turning implicit connect on just for the test. bug24796
Simon MacMullen <simon@rabbitmq.com> [Thu, 15 Mar 2012 18:00:31 +0000] rev 692
Test implicit connections even if we *are* doing SSL tests, by turning implicit connect on just for the test.

2 months agoRemoved impossible not_found in login_header/3 bug24796
Steve Powell <steve@rabbitmq.com> [Thu, 15 Mar 2012 17:25:54 +0000] rev 691
Removed impossible not_found in login_header/3

2 months agoLog the various authentication failures possible.
Simon MacMullen <simon@rabbitmq.com> [Thu, 15 Mar 2012 17:14:54 +0000] rev 690
Log the various authentication failures possible.

2 months agoUpdated test ssl.config to remove default user (and implicit connect); bug24796
Steve Powell <steve@rabbitmq.com> [Thu, 15 Mar 2012 11:37:02 +0000] rev 689
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.

2 months agoMerge bug24791 into default
Steve Powell <steve@rabbitmq.com> [Tue, 13 Mar 2012 15:43:05 +0000] rev 688
Merge bug24791 into default

2 months agoSlightly more comment bug24791
Simon MacMullen <simon@rabbitmq.com> [Tue, 13 Mar 2012 10:45:27 +0000] rev 687
Slightly more comment

2 months agoAdd 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). bug24791
Simon MacMullen <simon@rabbitmq.com> [Mon, 12 Mar 2012 17:49:05 +0000] rev 686
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).

2 months agoMake the reader transient. Explain why. bug24791
Simon MacMullen <simon@rabbitmq.com> [Mon, 12 Mar 2012 17:28:18 +0000] rev 685
Make the reader transient. Explain why.

2 months agoMake sure STOMP connections have a name, and thus fix mgmt connection listing.
Simon MacMullen <simon@rabbitmq.com> [Mon, 12 Mar 2012 14:09:05 +0000] rev 684
Make sure STOMP connections have a name, and thus fix mgmt connection listing.

2 months agoMerge bug24761 into default
Steve Powell <steve@rabbitmq.com> [Mon, 27 Feb 2012 11:00:44 +0000] rev 683
Merge bug24761 into default

2 months agoAllow "server:.*" header on CONNECTED frames in tests. bug24761
Steve Powell <steve@rabbitmq.com> [Fri, 24 Feb 2012 15:44:55 +0000] rev 682
Allow "server:.*" header on CONNECTED frames in tests.

2 months ago"server" header in CONNECTED frame. bug24761
Simon MacMullen <simon@rabbitmq.com> [Fri, 24 Feb 2012 10:31:58 +0000] rev 681
"server" header in CONNECTED frame.

2 months agoConsistency.
Simon MacMullen <simon@rabbitmq.com> [Fri, 24 Feb 2012 10:07:00 +0000] rev 680
Consistency.

2 months agoMerge bug24753 into default
Steve Powell <steve@rabbitmq.com> [Thu, 23 Feb 2012 15:36:19 +0000] rev 679
Merge bug24753 into default

2 months agoMerge bug24182 into default
Steve Powell <steve@rabbitmq.com> [Thu, 23 Feb 2012 15:24:59 +0000] rev 678
Merge bug24182 into default

2 months agoMerge in default (something of a biggie, merge of bug24744 demanded we move stuff around). bug24182
Simon MacMullen <simon@rabbitmq.com> [Thu, 23 Feb 2012 14:43:53 +0000] rev 677
Merge in default (something of a biggie, merge of bug24744 demanded we move stuff around).

2 months agoMerge bug24744
Simon MacMullen <simon@rabbitmq.com> [Thu, 23 Feb 2012 14:15:41 +0000] rev 676
Merge bug24744

2 months agoCosmetic bug24744
Simon MacMullen <simon@rabbitmq.com> [Thu, 23 Feb 2012 14:15:24 +0000] rev 675
Cosmetic

2 months agoMerge stomp_processor_sock to stomp_reader bug24744
Marek Majkowski <marek@rabbitmq.com> [Thu, 23 Feb 2012 14:06:09 +0000] rev 674
Merge stomp_processor_sock to stomp_reader

2 months agoimplicit return type for start_processor bug24744
Marek Majkowski <marek@rabbitmq.com> [Thu, 23 Feb 2012 14:00:20 +0000] rev 673
implicit return type for start_processor

2 months agorabbit_net:send was wrapped in catch previously bug24744
Marek Majkowski <marek@rabbitmq.com> [Thu, 23 Feb 2012 13:59:32 +0000] rev 672
rabbit_net:send was wrapped in catch previously

2 months agoSendFunc shall be SendFun bug24744
Marek Majkowski <marek@rabbitmq.com> [Thu, 23 Feb 2012 13:57:48 +0000] rev 671
SendFunc shall be SendFun

3 months agoAllow the protocol name to be customized bug24744
Marek Majkowski <marek@rabbitmq.com> [Mon, 20 Feb 2012 17:11:09 +0000] rev 670
Allow the protocol name to be customized

2 months agoMerge bug24542 into default
Steve Powell <steve@rabbitmq.com> [Wed, 22 Feb 2012 09:54:49 +0000] rev 669
Merge bug24542 into default

3 months agoSome renaming, macros and refactoring in the name of encapsulation. bug24542
Steve Powell <steve@rabbitmq.com> [Tue, 21 Feb 2012 13:06:35 +0000] rev 668
Some renaming, macros and refactoring in the name of encapsulation.

3 months agoMerged bug24751 into junk junk
Emile Joubert <emile@rabbitmq.com> [Tue, 21 Feb 2012 11:24:10 +0000] rev 667
Merged bug24751 into junk

3 months agoRename internal subscription prefix bug24542
Emile Joubert <emile@rabbitmq.com> [Tue, 21 Feb 2012 11:11:17 +0000] rev 666
Rename internal subscription prefix

3 months agoOops bug24753
Simon MacMullen <simon@rabbitmq.com> [Tue, 21 Feb 2012 09:58:31 +0000] rev 665
Oops

3 months agoRename internal subscription prefix, add safety checks bug24542
Emile Joubert <emile@rabbitmq.com> [Mon, 20 Feb 2012 18:09:45 +0000] rev 664
Rename internal subscription prefix, add safety checks

3 months agoForgot to add this... bug24182
Simon MacMullen <simon@rabbitmq.com> [Mon, 20 Feb 2012 17:07:16 +0000] rev 663
Forgot to add this...

3 months agoRevert accidental inclusion of bug24753. bug24182
Simon MacMullen <simon@rabbitmq.com> [Mon, 20 Feb 2012 17:04:58 +0000] rev 662
Revert accidental inclusion of bug24753.

3 months ago"Promote" implicit_connect to the top level since it is no longer just for default_user bug24182
Simon MacMullen <simon@rabbitmq.com> [Mon, 20 Feb 2012 16:44:57 +0000] rev 661
"Promote" implicit_connect to the top level since it is no longer just for default_user

3 months agoMove the mode thing into the server too. bug24182
Simon MacMullen <simon@rabbitmq.com> [Mon, 20 Feb 2012 16:28:33 +0000] rev 660
Move the mode thing into the server too.

3 months agoSSL client certificate authentication. In theory based on Shane Hathaway's patch but there's probably nothing left of it by now. bug24182
Simon MacMullen <simon@rabbitmq.com> [Mon, 20 Feb 2012 16:07:18 +0000] rev 659
SSL client certificate authentication. In theory based on Shane Hathaway's patch but there's probably nothing left of it by now.

3 months agoRebuild the test config every time and thus make it a lot damn clearer whether or not the SSL tests are running and why.
Simon MacMullen <simon@rabbitmq.com> [Mon, 20 Feb 2012 16:05:31 +0000] rev 658
Rebuild the test config every time and thus make it a lot damn clearer whether or not the SSL tests are running and why.

3 months agoCosmetic: the power of pattern matching bug24744
Marek Majkowski <marek@rabbitmq.com> [Mon, 20 Feb 2012 15:19:05 +0000] rev 657
Cosmetic: the power of pattern matching

3 months agoGet heartbeats working again - must support both sync and async data sending bug24744
Marek Majkowski <marek@rabbitmq.com> [Mon, 20 Feb 2012 15:12:12 +0000] rev 656
Get heartbeats working again - must support both sync and async data sending

3 months agoDon't enter an infinite loop if implict connect fails. bug24753
Simon MacMullen <simon@rabbitmq.com> [Mon, 20 Feb 2012 15:10:14 +0000] rev 655
Don't enter an infinite loop if implict connect fails.

3 months agoSubtle typo bug24744
Marek Majkowski <marek@rabbitmq.com> [Mon, 20 Feb 2012 13:44:11 +0000] rev 654
Subtle typo

3 months agoMove Sock functions out of processor bug24744
Marek Majkowski <marek@rabbitmq.com> [Mon, 20 Feb 2012 13:09:07 +0000] rev 653
Move Sock functions out of processor

3 months agoUnused variable warning
Simon MacMullen <simon@rabbitmq.com> [Mon, 20 Feb 2012 13:00:32 +0000] rev 652
Unused variable warning

3 months agoRemove code that checks for config vars not being set: this can never happen.
Simon MacMullen <simon@rabbitmq.com> [Mon, 20 Feb 2012 12:59:46 +0000] rev 651
Remove code that checks for config vars not being set: this can never happen.

3 months agoDespaghettifying part 1 - move most of the rabbit_net calls to init bug24744
Marek Majkowski <marek@rabbitmq.com> [Fri, 17 Feb 2012 17:52:15 +0000] rev 650
Despaghettifying part 1 - move most of the rabbit_net calls to init

3 months agoPatch received from Shane, updated to be branched from default. bug24751
Simon MacMullen <simon@rabbitmq.com> [Fri, 17 Feb 2012 17:33:44 +0000] rev 649
Patch received from Shane, updated to be branched from default.

3 months agoBacked out changeset c0b6b23c6ec9 bug24542
Emile Joubert <emile@rabbitmq.com> [Thu, 16 Feb 2012 12:31:32 +0000] rev 648
Backed out changeset c0b6b23c6ec9

3 months agoUse unpredictable subscription id bug24542
Emile Joubert <emile@rabbitmq.com> [Thu, 16 Feb 2012 12:21:26 +0000] rev 647
Use unpredictable subscription id

3 months agoProvide fake subscriptions for reply messages bug24542
Emile Joubert <emile@rabbitmq.com> [Wed, 15 Feb 2012 17:56:11 +0000] rev 646
Provide fake subscriptions for reply messages

3 months agomissed io:format bug24744
Marek Majkowski <marek@rabbitmq.com> [Wed, 15 Feb 2012 17:29:09 +0000] rev 645
missed io:format

3 months agoModularize rabbit_net calls in stomp_processor - allow pluggable transports other than raw tcp. bug24744
Marek Majkowski <marek@rabbitmq.com> [Wed, 15 Feb 2012 17:08:54 +0000] rev 644
Modularize rabbit_net calls in stomp_processor - allow pluggable transports other than raw tcp.

3 months agoMerge 24740 into default.
Steve Powell <steve@rabbitmq.com> [Tue, 14 Feb 2012 11:30:10 +0000] rev 643
Merge 24740 into default.

3 months agoRedundant. bug24740
Steve Powell <steve@rabbitmq.com> [Tue, 14 Feb 2012 11:29:15 +0000] rev 642
Redundant.

3 months agoensure that generated queue names meet the AMQP spec bug24740
Matthias Radestock <matthias@rabbitmq.com> [Mon, 13 Feb 2012 10:58:32 +0000] rev 641
ensure that generated queue names meet the AMQP spec

3 months agothere is no need to hash the subscription id bug24740
Matthias Radestock <matthias@rabbitmq.com> [Mon, 13 Feb 2012 10:23:55 +0000] rev 640
there is no need to hash the subscription id
doing so doesn't make it any more unique or secure

3 months agoproduce valid utf8 in generated queue names bug24740
Matthias Radestock <matthias@rabbitmq.com> [Mon, 13 Feb 2012 07:53:14 +0000] rev 639
produce valid utf8 in generated queue names

3 months agoMerged bug24505 into default
Emile Joubert <emile@rabbitmq.com> [Wed, 08 Feb 2012 15:53:59 +0000] rev 638
Merged bug24505 into default

3 months agoMerged bug24670 into default
Emile Joubert <emile@rabbitmq.com> [Mon, 06 Feb 2012 15:50:53 +0000] rev 637
Merged bug24670 into default

3 months agoMerge bug24606
Simon MacMullen <simon@rabbitmq.com> [Fri, 03 Feb 2012 13:07:05 +0000] rev 636
Merge bug24606

3 months agoThis is obsolete, delete rather than update copyright. bug24606
Simon MacMullen <simon@rabbitmq.com> [Fri, 03 Feb 2012 12:51:50 +0000] rev 635
This is obsolete, delete rather than update copyright.

3 months agoUpdate copyright 2012 bug24606
Emile Joubert <emile@rabbitmq.com> [Thu, 02 Feb 2012 17:52:58 +0000] rev 634
Update copyright 2012

3 months agorefactor: use new rabbit_misc:format/2
Matthias Radestock <matthias@rabbitmq.com> [Thu, 02 Feb 2012 15:51:33 +0000] rev 633
refactor: use new rabbit_misc:format/2

3 months agoMerge in default bug24670
Simon MacMullen <simon@rabbitmq.com> [Thu, 02 Feb 2012 15:50:40 +0000] rev 632
Merge in default

3 months agoUpdate copyright 2012 bug24606
Emile Joubert <emile@rabbitmq.com> [Thu, 02 Feb 2012 13:47:47 +0000] rev 631
Update copyright 2012

3 months agorabbit_guid:string_guid/1 -> rabbit_guid:string/2. bug24505
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 01 Feb 2012 11:34:50 +0000] rev 630
rabbit_guid:string_guid/1 -> rabbit_guid:string/2.

3 months agomerge bug24336 into default
Matthias Radestock <matthias@rabbitmq.com> [Tue, 31 Jan 2012 17:07:33 +0000] rev 629
merge bug24336 into default

3 months agooops bug24336
Matthias Radestock <matthias@rabbitmq.com> [Tue, 31 Jan 2012 17:07:07 +0000] rev 628
oops

3 months agomerge default into bug24336 bug24336
Matthias Radestock <matthias@rabbitmq.com> [Tue, 31 Jan 2012 16:40:46 +0000] rev 627
merge default into bug24336

3 months agoextract error logging bug24336
Matthias Radestock <matthias@rabbitmq.com> [Tue, 31 Jan 2012 16:32:56 +0000] rev 626
extract error logging
so we don't conflate it with returning an {error, ...} tuple

3 months agoDon't explode on AMQP death. bug24336
Simon MacMullen <simon@rabbitmq.com> [Tue, 31 Jan 2012 14:35:48 +0000] rev 625
Don't explode on AMQP death.

3 months agoMerge bug22470
Simon MacMullen <simon@rabbitmq.com> [Tue, 31 Jan 2012 13:55:59 +0000] rev 624
Merge bug22470

3 months agoFix the little test client so it actually uses the parser correctly and does not drop messages. bug24670
Simon MacMullen <simon@rabbitmq.com> [Mon, 30 Jan 2012 16:33:38 +0000] rev 623
Fix the little test client so it actually uses the parser correctly and does not drop messages.

3 months agoActually pay attention to the rabbit_stomp_frame:parse/2 API. bug24670
Simon MacMullen <simon@rabbitmq.com> [Mon, 30 Jan 2012 14:55:00 +0000] rev 622
Actually pay attention to the rabbit_stomp_frame:parse/2 API.

3 months agoMerge default bug24670
Simon MacMullen <simon@rabbitmq.com> [Mon, 30 Jan 2012 14:43:42 +0000] rev 621
Merge default

3 months agoWhitespace bug24670
Simon MacMullen <simon@rabbitmq.com> [Mon, 30 Jan 2012 14:39:57 +0000] rev 620
Whitespace

3 months agoproduce only one log entry for abnormal connection closure bug22470
Matthias Radestock <matthias@rabbitmq.com> [Mon, 30 Jan 2012 11:50:14 +0000] rev 619
produce only one log entry for abnormal connection closure
instead of two

3 months agomerge default into bug22470 bug22470
Matthias Radestock <matthias@rabbitmq.com> [Fri, 27 Jan 2012 17:21:53 +0000] rev 618
merge default into bug22470

3 months agoTweak the tuple we get... bug24336
Simon MacMullen <simon@rabbitmq.com> [Fri, 27 Jan 2012 16:42:39 +0000] rev 617
Tweak the tuple we get...

3 months agoOnly link to the connection, otherwise we get a race where the link conn -> stomp_processor -> channel can take out the channel from under the connection. This solves bug24336 but is perhaps not completely ideal. bug24336
Simon MacMullen <simon@rabbitmq.com> [Fri, 27 Jan 2012 16:00:08 +0000] rev 616
Only link to the connection, otherwise we get a race where the link conn -> stomp_processor -> channel can take out the channel from under the connection. This solves bug24336 but is perhaps not completely ideal.

3 months agoMerge bug24698 into default
Steve Powell <steve@rabbitmq.com> [Fri, 27 Jan 2012 15:39:54 +0000] rev 615
Merge bug24698 into default

3 months agoMerge default in bug24698
Steve Powell <steve@rabbitmq.com> [Fri, 27 Jan 2012 15:34:50 +0000] rev 614
Merge default in

3 months agoMerge bug24688 into default.
Steve Powell <steve@rabbitmq.com> [Fri, 27 Jan 2012 15:13:57 +0000] rev 613
Merge bug24688 into default.

3 months agoMerge in default bug24688
Steve Powell <steve@rabbitmq.com> [Fri, 27 Jan 2012 15:11:07 +0000] rev 612
Merge in default

3 months agouse the existing error reason formatter bug24336
Matthias Radestock <matthias@rabbitmq.com> [Fri, 27 Jan 2012 13:58:24 +0000] rev 611
use the existing error reason formatter

3 months agorefactored error message creation bug24336
Matthias Radestock <matthias@rabbitmq.com> [Fri, 27 Jan 2012 13:35:07 +0000] rev 610
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.

3 months agomerge default into bug24336 bug24336
Matthias Radestock <matthias@rabbitmq.com> [Fri, 27 Jan 2012 13:25:07 +0000] rev 609
merge default into bug24336

3 months agomore accurate log message/level bug22470
Matthias Radestock <matthias@rabbitmq.com> [Thu, 26 Jan 2012 22:17:36 +0000] rev 608
more accurate log message/level

3 months agoalways use rabbit_log for logging bug22470
Matthias Radestock <matthias@rabbitmq.com> [Thu, 26 Jan 2012 22:16:37 +0000] rev 607
always use rabbit_log for logging

3 months agouse the new rabbit_log:log for STOMP connection logging bug22470
Matthias Radestock <matthias@rabbitmq.com> [Thu, 26 Jan 2012 22:08:19 +0000] rev 606
use the new rabbit_log:log for STOMP connection logging

3 months agoerror_logger flood prevention bug22470
Matthias Radestock <matthias@rabbitmq.com> [Thu, 26 Jan 2012 22:07:39 +0000] rev 605
error_logger flood prevention

3 months agoconsistency bug22470
Matthias Radestock <matthias@rabbitmq.com> [Thu, 26 Jan 2012 21:50:17 +0000] rev 604
consistency

3 months agouse the new rabbit_net:connection_string/2 bug22470
Matthias Radestock <matthias@rabbitmq.com> [Thu, 26 Jan 2012 21:43:03 +0000] rev 603
use the new rabbit_net:connection_string/2
and bring log messages in line with rabbit_reader

3 months agomerge default into bug24698 bug24698
Matthias Radestock <matthias@rabbitmq.com> [Wed, 25 Jan 2012 07:18:40 +0000] rev 602
merge default into bug24698

3 months agomake start_client/2 return the reader instead of the sup
Matthias Radestock <matthias@rabbitmq.com> [Wed, 25 Jan 2012 07:13:42 +0000] rev 601
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.

3 months agomove ssl upgrade from acceptor to reader bug24698
Matthias Radestock <matthias@rabbitmq.com> [Wed, 25 Jan 2012 06:49:36 +0000] rev 600
move ssl upgrade from acceptor to reader
...thus allowing further connections to be accepted while the upgrade
takes place.

The reader & processor startup needed to be re-arranged. The processor
needs to know about the socket, but that now doesn't become available
until the reader has upgraded it. Hence we can no longer start the
processor at the same time as the reader. Instead we get the reader to
start the processor.

We also need to change the reader's restart type from 'temporary' to
'intrinsic'. The former was always a bit dodgy since it meant a reader
exit would not terminate the supervisor, thus leaking a process. In
practice that was generally prevented due to the reader containing a
'try ... after' that would terminate the processor, which is an
'intrinsic' process and hence would take down the supervisor. But the
reader can exit before entering the 'try ... after', e.g. if
rabbit_net:peername fails (rare, but certainly possible in cases where
a client connects and immediately disconnects), and, with the changes
in this bug, when the ssl upgrade fails.

3 months agouse new rabbit_networking:tcp_listener_spec/6
Matthias Radestock <matthias@rabbitmq.com> [Mon, 23 Jan 2012 12:05:19 +0000] rev 599
use new rabbit_networking:tcp_listener_spec/6

3 months agokeep up with broker API changes
Matthias Radestock <matthias@rabbitmq.com> [Mon, 23 Jan 2012 10:07:59 +0000] rev 598
keep up with broker API changes

3 months agorefactor: eliminate pointless indirection
Matthias Radestock <matthias@rabbitmq.com> [Sun, 22 Jan 2012 22:49:34 +0000] rev 597
refactor: eliminate pointless indirection

4 months agoSicne we trap_exits why don't we link to the connection / channel(s) and do something sensible if they die? bug24336
Simon MacMullen <simon@rabbitmq.com> [Fri, 20 Jan 2012 14:35:48 +0000] rev 596
Sicne we trap_exits why don't we link to the connection / channel(s) and do something sensible if they die?

4 months agoSilence warnings
Simon MacMullen <simon@rabbitmq.com> [Fri, 20 Jan 2012 14:34:56 +0000] rev 595
Silence warnings

4 months agoThe other plugins do not announce themselves like this, stomp should not either.
Simon MacMullen <simon@rabbitmq.com> [Thu, 19 Jan 2012 16:09:59 +0000] rev 594
The other plugins do not announce themselves like this, stomp should not either.

4 months agoonly create destination queues once per session bug24688
Matthias Radestock <matthias@rabbitmq.com> [Wed, 18 Jan 2012 19:38:44 +0000] rev 593
only create destination queues once per session
...which is more efficient that doing so once per SEND.

4 months agoContinue on our quest towards being able to count. bug24670
Simon MacMullen <simon@rabbitmq.com> [Wed, 18 Jan 2012 15:42:16 +0000] rev 592
Continue on our quest towards being able to count.

4 months agoMask lumpiness bug24670
Simon MacMullen <simon@rabbitmq.com> [Wed, 18 Jan 2012 15:38:11 +0000] rev 591
Mask lumpiness

4 months agoTurns out I actually can't count. Previous version assumed one send stats for every recv stats, but the recv ones tend to run behind... bug24670
Simon MacMullen <simon@rabbitmq.com> [Wed, 18 Jan 2012 15:29:11 +0000] rev 590
Turns out I actually can't count. Previous version assumed one send stats for every recv stats, but the recv ones tend to run behind...

4 months agoWIP bug24670
Simon MacMullen <simon@rabbitmq.com> [Wed, 18 Jan 2012 14:48:54 +0000] rev 589
WIP

4 months agoA simple publish-and-consume-as-fast-as-you-can test since I'm not convinced about the performance of some of the clients we've poked at. I was going to call this multicast_plain but I think puns like that would be discouraged. bug24670
Simon MacMullen <simon@rabbitmq.com> [Wed, 18 Jan 2012 12:08:14 +0000] rev 588
A simple publish-and-consume-as-fast-as-you-can test since I'm not convinced about the performance of some of the clients we've poked at. I was going to call this multicast_plain but I think puns like that would be discouraged.

5 months agoAdded tag rabbitmq_v2_7_1 for changeset 3c6e64157010
Steve Powell <steve@rabbitmq.com> [Tue, 20 Dec 2011 10:59:39 +0000] rev 587
Added tag rabbitmq_v2_7_1 for changeset 3c6e64157010

5 months agoAdd test to detect this problem bug24623
Steve Powell <steve@rabbitmq.com> [Tue, 13 Dec 2011 18:31:26 +0000] rev 586
Add test to detect this problem

5 months agoMerged bug24364 into default rabbitmq_v2_7_1
Emile Joubert <emile@rabbitmq.com> [Thu, 01 Dec 2011 12:52:02 +0000] rev 585
Merged bug24364 into default

5 months agoWrap bug24364
Emile Joubert <emile@rabbitmq.com> [Thu, 01 Dec 2011 12:51:02 +0000] rev 584
Wrap

5 months agoPut description in test. bug24364
Steve Powell <steve@rabbitmq.com> [Tue, 29 Nov 2011 10:23:17 +0000] rev 583
Put description in test.

5 months agoMerge bug 24572.
Simon MacMullen <simon@rabbitmq.com> [Fri, 25 Nov 2011 16:48:57 +0000] rev 582
Merge bug 24572.

5 months agoSimplify take_prefix to be more idiomatic Erlang bug24572
Steve Powell <steve@rabbitmq.com> [Fri, 25 Nov 2011 14:02:29 +0000] rev 581
Simplify take_prefix to be more idiomatic Erlang

5 months agoSimple test for rejection. bug24364
Steve Powell <steve@rabbitmq.com> [Fri, 25 Nov 2011 13:15:51 +0000] rev 580
Simple test for rejection.

5 months agoAdded check for headers not allowed on SEND bug24364
Steve Powell <steve@rabbitmq.com> [Fri, 25 Nov 2011 12:49:56 +0000] rev 579
Added check for headers not allowed on SEND
o also factored out some more headers

5 months agoFactored out header strings. bug24364
Steve Powell <steve@rabbitmq.com> [Fri, 25 Nov 2011 12:11:22 +0000] rev 578
Factored out header strings.

5 months agoCosmetic bug24572
Simon MacMullen <simon@rabbitmq.com> [Fri, 25 Nov 2011 10:30:16 +0000] rev 577
Cosmetic

5 months agoRemoved take_prefix/3; simplified take_prefix/2. bug24572
Steve Powell <steve@rabbitmq.com> [Thu, 24 Nov 2011 13:42:26 +0000] rev 576
Removed take_prefix/3; simplified take_prefix/2.

5 months agoRewrite split_* to split/2; taking Splitter list as parm. bug24572
Steve Powell <steve@rabbitmq.com> [Thu, 24 Nov 2011 13:31:12 +0000] rev 575
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

5 months agoTidied and corrected split functions: bug24572
Steve Powell <steve@rabbitmq.com> [Wed, 23 Nov 2011 16:02:14 +0000] rev 574
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.

6 months agoRecoded regexp:split and regexp:gsub calls to avoid regexp. bug24572
Steve Powell <steve@rabbitmq.com> [Tue, 22 Nov 2011 17:56:21 +0000] rev 573
Recoded regexp:split and regexp:gsub calls to avoid regexp.

6 months agoMerged bug24541 into default
Emile Joubert <emile@rabbitmq.com> [Thu, 10 Nov 2011 18:18:02 +0000] rev 572
Merged bug24541 into default

6 months agoWhitespace bug24541
Emile Joubert <emile@rabbitmq.com> [Thu, 10 Nov 2011 18:17:47 +0000] rev 571
Whitespace

6 months agoMoved common constraints into an hrl bug24541
Steve Powell <steve@rabbitmq.com> [Thu, 10 Nov 2011 17:39:33 +0000] rev 570
Moved common constraints into an hrl

6 months agoCode to pass test. bug24541
Steve Powell <steve@rabbitmq.com> [Thu, 10 Nov 2011 10:20:03 +0000] rev 569
Code to pass test.

6 months agoAdd test to demonstrate problem. bug24541
Steve Powell <steve@rabbitmq.com> [Thu, 10 Nov 2011 10:03:11 +0000] rev 568
Add test to demonstrate problem.

6 months agoAdded tag rabbitmq_v2_7_0 for changeset f52d6ad39a3e
Steve Powell <steve@rabbitmq.com> [Wed, 09 Nov 2011 10:20:25 +0000] rev 567
Added tag rabbitmq_v2_7_0 for changeset f52d6ad39a3e

7 months agoMerge bug21319 (include plugins in source and binary packages) rabbitmq_v2_7_0
Simon MacMullen <simon@rabbitmq.com> [Tue, 11 Oct 2011 15:57:57 +0100] rev 566
Merge bug21319 (include plugins in source and binary packages)

7 months agoupdate installation instructions bug21319
Alexandru Scvortov <alexandru@rabbitmq.com> [Tue, 27 Sep 2011 12:35:09 +0100] rev 565
update installation instructions

7 months agostomp needs amqp_client bug21319
Alexandru Scvortov <alexandru@rabbitmq.com> [Tue, 27 Sep 2011 10:42:00 +0100] rev 564
stomp needs amqp_client

8 months agoMerge bug24426 into default
Rob Harrop <rob@rabbitmq.com> [Tue, 20 Sep 2011 10:43:11 +0100] rev 563
Merge bug24426 into default

8 months agoSilently cope with unexpected conserve memory calls. bug24426
Steve Powell <steve@rabbitmq.com> [Fri, 16 Sep 2011 11:34:40 +0100] rev 562
Silently cope with unexpected conserve memory calls.

8 months agoMerging heads
Matthew Sackman <matthew@rabbitmq.com> [Tue, 13 Sep 2011 12:04:53 +0100] rev 561
Merging heads

8 months agoAdded tag rabbitmq_v2_6_1 for changeset d21e2feffbf6
Tim Fox <tim@rabbitmq.com> [Mon, 12 Sep 2011 14:21:23 +0100] rev 560
Added tag rabbitmq_v2_6_1 for changeset d21e2feffbf6

8 months agocosmetic and minor refactors
Matthias Radestock <matthias@rabbitmq.com> [Fri, 09 Sep 2011 17:02:11 +0100] rev 559
cosmetic and minor refactors

8 months agoAdded tag rabbitmq_v2_6_0 for changeset 15d580297dbe rabbitmq_v2_6_1
Matthew Sackman <matthew@rabbitmq.com> [Thu, 01 Sep 2011 14:42:57 +0100] rev 558
Added tag rabbitmq_v2_6_0 for changeset 15d580297dbe

8 months agomerge heads
Matthias Radestock <matthias@rabbitmq.com> [Tue, 30 Aug 2011 16:31:26 +0100] rev 557
merge heads

8 months agoAdded tag rabbitmq_v2.6.0 for changeset 15d580297dbe
Tim Fox <tim@rabbitmq.com> [Tue, 30 Aug 2011 15:24:53 +0100] rev 556
Added tag rabbitmq_v2.6.0 for changeset 15d580297dbe

8 months agoMerge bug24375 into default.
Steve Powell <steve@rabbitmq.com> [Fri, 26 Aug 2011 15:42:47 +0100] rev 555
Merge bug24375 into default.

8 months agoUpdate close_socket in rabbit patch for test. bug24375
Steve Powell <steve@rabbitmq.com> [Fri, 26 Aug 2011 15:37:46 +0100] rev 554
Update close_socket in rabbit patch for test.

8 months agoMerge in default. bug24375
Steve Powell <steve@rabbitmq.com> [Fri, 26 Aug 2011 15:16:03 +0100] rev 553
Merge in default.

8 months agoMerge bug24373 into default.
Steve Powell <steve@rabbitmq.com> [Fri, 26 Aug 2011 15:13:44 +0100] rev 552
Merge bug24373 into default.

8 months agoMerge in default bug24373
Steve Powell <steve@rabbitmq.com> [Fri, 26 Aug 2011 13:46:25 +0100] rev 551
Merge in default

8 months agoHandle case when we get acks with no recorded receipts bug24375
Rob Harrop <rob@rabbitmq.com> [Fri, 26 Aug 2011 13:10:44 +0100] rev 550
Handle case when we get acks with no recorded receipts

8 months agoMerge bug24312 into junk junk
Rob Harrop <rob@rabbitmq.com> [Fri, 26 Aug 2011 10:44:24 +0100] rev 549
Merge bug24312 into junk

8 months agoFix handling of confirms for unrecorded receipts bug24375
Rob Harrop <rob@rabbitmq.com> [Thu, 25 Aug 2011 18:43:24 +0100] rev 548
Fix handling of confirms for unrecorded receipts

9 months agoMerge with default bug24312
Rob Harrop <rob@rabbitmq.com> [Thu, 25 Aug 2011 13:11:13 +0100] rev 547
Merge with default

9 months agoMerge bug24324 into default rabbitmq_v2.6.0 rabbitmq_v2_6_0
Rob Harrop <rob@rabbitmq.com> [Thu, 25 Aug 2011 13:09:46 +0100] rev 546
Merge bug24324 into default

9 months agoSupport header trimming for 1.0 clients bug24373
Rob Harrop <rob@rabbitmq.com> [Thu, 25 Aug 2011 12:41:26 +0100] rev 545
Support header trimming for 1.0 clients

9 months agoRename and simplify shutdown_channel_and_connection to close_connection. bug24324
Steve Powell <steve@rabbitmq.com> [Thu, 25 Aug 2011 12:35:38 +0100] rev 544
Rename and simplify shutdown_channel_and_connection to close_connection.

9 months agoRemove catch from rabbit_net:*name calls but retain case (in case of {error, einval}). bug24324
Steve Powell <steve@rabbitmq.com> [Thu, 25 Aug 2011 12:02:40 +0100] rev 543
Remove catch from rabbit_net:*name calls but retain case (in case of {error, einval}).

9 months agoMerge with default bug24324
Rob Harrop <rob@rabbitmq.com> [Thu, 25 Aug 2011 08:01:29 +0100] rev 542
Merge with default

9 months agoMerge bug24324 into bug24312 to check fix. bug24312
Steve Powell <steve@rabbitmq.com> [Wed, 24 Aug 2011 18:04:23 +0100] rev 541
Merge bug24324 into bug24312 to check fix.

9 months agoBackout rabbit.patch alterations bug24312
Steve Powell <steve@rabbitmq.com> [Wed, 24 Aug 2011 18:02:17 +0100] rev 540
Backout rabbit.patch alterations

9 months agoMerge bug24366
Steve Powell <steve@rabbitmq.com> [Wed, 24 Aug 2011 17:52:31 +0100] rev 539
Merge bug24366

9 months agoMerge default bug24366
Steve Powell <steve@rabbitmq.com> [Wed, 24 Aug 2011 17:37:14 +0100] rev 538
Merge default

9 months agoMake shutdown_channel_and_connection more comprehensive bug24324
Steve Powell <steve@rabbitmq.com> [Wed, 24 Aug 2011 17:05:54 +0100] rev 537
Make shutdown_channel_and_connection more comprehensive

9 months agoMerge default bug24324
Steve Powell <steve@rabbitmq.com> [Wed, 24 Aug 2011 15:27:54 +0100] rev 536
Merge default

9 months agoPrevent premature death of stomp_reader and stomp_processor to clean up connection: bug24324
Steve Powell <steve@rabbitmq.com> [Wed, 24 Aug 2011 14:50:48 +0100] rev 535
Prevent premature death of stomp_reader and stomp_processor to clean up connection:
- change reader to temporary from intrinsic
- protect alien calls from processor by catch so as to avoid premature death
- call processor:flush_and_die/1 from reader when mainloop exits before reader dies

9 months agoMerge bug24186
Simon MacMullen <simon@rabbitmq.com> [Tue, 23 Aug 2011 12:52:03 +0100] rev 534
Merge bug24186

9 months agoRemove default prefetch for /queue destinations bug24366
Rob Harrop <rob@rabbitmq.com> [Mon, 22 Aug 2011 14:05:09 +0100] rev 533
Remove default prefetch for /queue destinations

9 months agoMerge in default. bug24324
Steve Powell <steve@rabbitmq.com> [Wed, 17 Aug 2011 14:26:30 +0100] rev 532
Merge in default.

9 months agoImprove ack tests bug24324
Steve Powell <steve@rabbitmq.com> [Wed, 17 Aug 2011 14:20:57 +0100] rev 531
Improve ack tests

9 months agomerge default into bug24186 bug24186
Alexandru Scvortov <alexandru@rabbitmq.com> [Tue, 16 Aug 2011 14:36:34 +0100] rev 530
merge default into bug24186

9 months agobug24331 merged into default
Marek Majkowski <marek@rabbitmq.com> [Thu, 11 Aug 2011 12:22:09 +0100] rev 529
bug24331 merged into default

9 months agoAdded one more test - no content length + binary (utf) data on the wire. bug24331
Marek Majkowski <marek@rabbitmq.com> [Thu, 11 Aug 2011 12:21:01 +0100] rev 528
Added one more test - no content length + binary (utf) data on the wire.

9 months agoMerge bug24304 into default
Steve Powell <steve@rabbitmq.com> [Wed, 10 Aug 2011 10:24:55 +0100] rev 527
Merge bug24304 into default

9 months agoAdd test to check we do NOT supply a content-type header when omitted bug24331
Steve Powell <steve@rabbitmq.com> [Wed, 10 Aug 2011 09:18:25 +0100] rev 526
Add test to check we do NOT supply a content-type header when omitted

9 months agoRemove the default content-type header for SENT messages. bug24331
Steve Powell <steve@rabbitmq.com> [Tue, 09 Aug 2011 17:20:56 +0100] rev 525
Remove the default content-type header for SENT messages.

9 months agoChange logic in Connection.close_socket() bug24312
Steve Powell <steve@rabbitmq.com> [Tue, 02 Aug 2011 17:17:51 +0100] rev 524
Change logic in Connection.close_socket()

9 months agoWhoops -- adjust again.
Steve Powell <steve@rabbitmq.com> [Tue, 02 Aug 2011 14:37:21 +0100] rev 523
Whoops -- adjust again.

9 months agoSleep slightly before closing socket to allow test_send_and_disconnect() to work.
Steve Powell <steve@rabbitmq.com> [Tue, 02 Aug 2011 13:02:19 +0100] rev 522
Sleep slightly before closing socket to allow test_send_and_disconnect() to work.

9 months agoTweak to test to diagnose CI build failures.
Steve Powell <steve@rabbitmq.com> [Tue, 02 Aug 2011 12:30:10 +0100] rev 521
Tweak to test to diagnose CI build failures.

9 months agoA tweak to test to diagnose CI failures.
Steve Powell <steve@rabbitmq.com> [Tue, 02 Aug 2011 12:07:40 +0100] rev 520
A tweak to test to diagnose CI failures.

9 months agoMake small change to stomp connect.py close_socket() logic.
Steve Powell <steve@rabbitmq.com> [Mon, 01 Aug 2011 17:32:06 +0100] rev 519
Make small change to stomp connect.py close_socket() logic.

9 months agoUpped wait times in three tests to see if CI builds are better. See bug24312.
Steve Powell <steve@rabbitmq.com> [Fri, 29 Jul 2011 12:23:47 +0100] rev 518
Upped wait times in three tests to see if CI builds are better. See bug24312.

9 months agoMerge bug24255 into default.
Steve Powell <steve@rabbitmq.com> [Wed, 27 Jul 2011 17:33:05 +0100] rev 517
Merge bug24255 into default.

9 months agoAdjust wait time again in test. bug24255
Steve Powell <steve@rabbitmq.com> [Wed, 27 Jul 2011 17:21:01 +0100] rev 516
Adjust wait time again in test.

9 months agoMerge default in. bug24255
Steve Powell <steve@rabbitmq.com> [Wed, 27 Jul 2011 16:57:17 +0100] rev 515
Merge default in.

9 months agoRecoded aessertTrue() in test_interleaved_receipt_no_receipt_tx. bug24255
Steve Powell <steve@rabbitmq.com> [Wed, 27 Jul 2011 16:54:06 +0100] rev 514
Recoded aessertTrue() in test_interleaved_receipt_no_receipt_tx.

9 months agoMerge bug24257 into default.
Steve Powell <steve@rabbitmq.com> [Wed, 27 Jul 2011 15:38:17 +0100] rev 513
Merge bug24257 into default.

9 months agoMerge in default, resolving conflicts. bug24257
Steve Powell <steve@rabbitmq.com> [Wed, 27 Jul 2011 15:16:25 +0100] rev 512
Merge in default, resolving conflicts.

9 months agoMerge bug23864 into default
Steve Powell <steve@rabbitmq.com> [Wed, 27 Jul 2011 12:11:57 +0100] rev 511
Merge bug23864 into default

9 months agoFixed heartbeat byte bug24304
Rob Harrop <rob@rabbitmq.com> [Wed, 27 Jul 2011 10:29:18 +0100] rev 510
Fixed heartbeat byte

10 months agoSupport for durable subscriptions bug24255
Rob Harrop <rob@rabbitmq.com> [Wed, 20 Jul 2011 18:20:14 +0100] rev 509
Support for durable subscriptions

10 months agoMerge with bug23864 bug24257
Rob Harrop <rob@rabbitmq.com> [Wed, 20 Jul 2011 09:32:33 +0100] rev 508
Merge with bug23864