summaryrefslogtreecommitdiff
path: root/src/rabbit_channel.erl
Commit message (Collapse)AuthorAgeFilesLines
* Never pass the #user{} record into auth backends, they should only see their ↵Simon MacMullen2014-11-131-1/+2
| | | | own stuff. Get rid of authN_backend, it has little reason for existing. Flatten case of authZ_backend.
* Import changes from ↵Simon MacMullen2014-11-131-1/+1
| | | | https://github.com/gotthardp/rabbitmq-server/tree/multi_authorization
* Rename function, and GC for large messages on the way out, too.bug25850Simon MacMullen2014-10-061-1/+2
|
* Prevent the channel from holding a lot of binary garbage when accepting huge ↵Simon MacMullen2014-10-061-1/+1
| | | | messages.
* Introduce the idea that queues can be absent for a reason. The traditional ↵Simon MacMullen2014-09-091-8/+10
| | | | | | absent reason is 'nodedown' and we have a new reason, 'crashed', for when crash recovery has failed and the supervisor has given up. An absent crashed queue is nearly the same as an absent nodedown queue, but we allow for deleting it since it can't be recovered by bringing a node back up. Currently absent crashed queues are not handled properly by mgmt (they appear to still be there); we might defer that to bug 26151.
* We can't assume encoded lengths, so do it all in lists.Simon MacMullen2014-08-221-11/+15
|
* Avoid binary:split/2.Simon MacMullen2014-08-211-6/+7
|
* call/2 -> call/3.Simon MacMullen2014-08-201-1/+2
|
* Return 1 consumer.Simon MacMullen2014-08-181-2/+3
|
* Implement declaration.Simon MacMullen2014-08-181-2/+40
|
* Prevent malicious channels from sending messages to arbitrary processes with ↵Simon MacMullen2014-08-181-2/+14
| | | | this mechanism.
* We'll just document that mandatory doesn't work.Simon MacMullen2014-08-181-1/+0
|
* base64 encoding is expensive enough to make it worth precalculating the ↵Simon MacMullen2014-08-151-12/+14
| | | | encoded pid just in case we want to reuse it.
* We don't need to worry about confirms, they will get sent. Change to a soft ↵Simon MacMullen2014-08-141-4/+6
| | | | error for new errors.
* Support cancel.Simon MacMullen2014-08-141-1/+9
|
* Unused var.Simon MacMullen2014-08-141-1/+1
|
* Security hole--Simon MacMullen2014-08-141-16/+20
|
* Rename this thing for consistency and also RabbitMQ-specificness.Simon MacMullen2014-08-141-4/+5
|
* Prototype of fast RPC replies.Simon MacMullen2014-08-131-4/+83
|
* stable to defaultSimon MacMullen2014-07-221-14/+29
|\
| * Merge bug26169Simon MacMullen2014-06-241-9/+17
| |\
| | * Cosmetic: unwrap several lines. Remove some more binary_to_list/1.bug26148Simon MacMullen2014-06-241-10/+8
| | |
| | * More consistent connection formatting per suggestion from MatthiasMichael Klishin2014-06-201-4/+4
| | |
| | * Re-format to 80 characters wideMichael Klishin2014-06-191-5/+5
| | |
| | * Move user and vhost closer to connection infoMichael Klishin2014-06-191-5/+3
| | |
| | * Mention connection pid in channel error messagesMichael Klishin2014-06-181-2/+3
| | |
| | * merge default into bug26148Michael Klishin2014-06-181-3/+11
| | |\
| | | * Re-format based on feedback from MatthiasMichael Klishin2014-06-171-3/+4
| | | |
| | | * backout d57075513277 (wrong branch)Michael Klishin2014-06-171-6/+4
| | | |
| | | * Include username into trace message headersMichael Klishin2014-06-171-4/+6
| | | |
| | | * Include vhost and username into channel error log messagesMichael Klishin2014-06-171-3/+9
| | | |
| | | * Log connection name instead of pid for channel errorsMichael Klishin2014-06-171-3/+4
| | | |
| | * | Simplify.bug26221Simon MacMullen2014-06-171-13/+6
| | | |
| | * | Cover passive = false caseMichael Klishin2014-06-161-1/+6
| | | |
| | * | Don't stat() queue when it is declared with nowait = trueMichael Klishin2014-06-161-2/+7
| | |/
| * | Cosmetic.Simon MacMullen2014-06-201-1/+1
| | |
| * | Include channel into trace messagesMichael Klishin2014-06-191-3/+6
| | |
| * | Include connection name into trace message headersMichael Klishin2014-06-171-4/+6
| | |
| * | Include username into trace message headersMichael Klishin2014-06-171-4/+6
| |/
| * Init the stats timer again on force_event_refresh, so that if stats have ↵Simon MacMullen2014-06-101-1/+1
| | | | | | | | become enabled we do the right thing.
* | Actually, hold on to confirms when pausing. It's not inconceivable that we ↵bug26293Simon MacMullen2014-07-221-1/+1
| | | | | | | | might get a false positive from pause_minority_guard, in which case we don't want to throw data away.
* | Check for pause minority mode being about to cause a shutdown before sending ↵Simon MacMullen2014-07-221-8/+15
|/ | | | confirms. In this way we can get rid of the effort to kill all network connections ASAP.
* Oh, the shame. Changeset 54ad947f3b9e happened after I'd been playing with ↵Simon MacMullen2014-06-031-11/+5
| | | | Wrangler - and I accidentally committed some random refactorings. So at least we know Wrangler is correctness-preserving. Still, I feel rather stupid.
* Notify about policy and parameter removal after the vhost is deleted, not ↵bug26176Simon MacMullen2014-05-151-5/+11
| | | | during the attendant tx.
* Bring back impersonator tag.bug26098Simon MacMullen2014-04-041-4/+8
|
* Monitor consuming queue regardless of whether the consumer is CCN capable, ↵bug26070Simon MacMullen2014-03-251-21/+17
| | | | only decide whether to send the CCN on that basis.
* Our other consumer arg has an x- on it. Also, let's validate.Simon MacMullen2014-03-251-1/+1
|
* Swap the default value for cancel-on-ha-failover.Simon MacMullen2014-03-251-2/+2
|
* Add a comment, and rename the thing to correspond more with words we use ↵Simon MacMullen2014-03-211-4/+9
| | | | already.
* rabbit_amqqueue:basic_consume() will wait for recovery anyway, we don't need ↵Simon MacMullen2014-03-211-10/+7
| | | | a special function for that.