| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Since we should not normally see warnings now, let's zhuzh them up. | Simon MacMullen | 2011-05-23 | 1 | -1/+2 |
| | | |||||
| * | Rename variable | Simon MacMullen | 2011-05-23 | 1 | -2/+2 |
| | | |||||
| * | Introduce variable | Simon MacMullen | 2011-05-23 | 1 | -2/+4 |
| | | |||||
| * | Exclude mochiweb from the xref check. | Simon MacMullen | 2011-05-23 | 1 | -1/+3 |
| | | |||||
| * | merge bug24118 into default | Matthias Radestock | 2011-05-20 | 5 | -43/+47 |
| |\ | |||||
| | * | merge bug24117 into default | Matthias Radestock | 2011-05-19 | 5 | -32/+34 |
| | |\ | |||||
| | | * | BQ:idle_timeout => BQ:timeout | Matthew Sackman | 2011-05-19 | 5 | -12/+12 |
| | | | | |||||
| | | * | whitespace | Matthew Sackman | 2011-05-18 | 1 | -1/+0 |
| | | | | |||||
| | | * | Well it's no shorter, but it closer matches the original | Matthew Sackman | 2011-05-18 | 1 | -14/+14 |
| | | | | |||||
| | | * | BQ:needs_idle_timeout :: State -> Bool ==> BQ:needs_timeout :: State -> ↵ | Matthew Sackman | 2011-05-18 | 5 | -26/+29 |
| | | | | | | | | | | | | | (false | idle | timed); which better reflects the different needs | ||||
| | * | | simplify | Matthias Radestock | 2011-05-19 | 1 | -21/+14 |
| | | | | |||||
| | * | | Merge bug24116 into default | Rob Harrop | 2011-05-19 | 1 | -8/+17 |
| | |\ \ | | |/ | |/| | |||||
| | | * | And now, after testing it, actually make it work by correcting one of the ↵ | Matthew Sackman | 2011-05-18 | 1 | -10/+15 |
| | | | | | | | | | | | | | counters... | ||||
| | | * | Do not read the msg surviving dropwhile1 | Matthew Sackman | 2011-05-18 | 1 | -8/+12 |
| | |/ | |||||
| * | | some more inlining | Matthias Radestock | 2011-05-19 | 1 | -21/+18 |
| | | | |||||
| * | | cosmetic | Matthias Radestock | 2011-05-19 | 1 | -17/+17 |
| | | | |||||
| * | | fix error handling and construct xname on init rather than every message | Matthias Radestock | 2011-05-19 | 1 | -14/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | I have no idea why that 'catch' was there. There is nothing to go wrong during publish except the exchange may not be found. Which the 'catch' wasn't catching since that is just an ordinary {error, not_found} return. Cue explosion. So now we handle that and print a nice error message. Also, there is no point constructing the exchange name for every message; doing that once, on init, is enough. That has the further advantage that now the implementation matches the spec (rabbit_exchange:name() is a qualified name, not a binary). | ||||
| * | | inlining | Matthias Radestock | 2011-05-19 | 1 | -32/+25 |
| | | | |||||
| * | | sometimes clarity trumps performance | Matthias Radestock | 2011-05-19 | 1 | -9/+4 |
| | | | | | | | | | | | I can't actually detect a difference in performance here, though I'm sure the new code is slower than the old one. | ||||
| * | | funs are too expensive here. Ouch. | Simon MacMullen | 2011-05-19 | 1 | -14/+13 |
| | | | |||||
| * | | Further refactoring | Simon MacMullen | 2011-05-19 | 2 | -21/+17 |
| | | | |||||
| * | | Refactor. | Simon MacMullen | 2011-05-19 | 1 | -23/+22 |
| | | | |||||
| * | | Slightly tighter specs, tidy imports. | Simon MacMullen | 2011-05-19 | 2 | -4/+5 |
| | | | |||||
| * | | Fold refresh_config in with (un)set_env, abstract into rabbit. | Simon MacMullen | 2011-05-19 | 3 | -15/+19 |
| | | | |||||
| * | | Rename | Simon MacMullen | 2011-05-19 | 2 | -4/+4 |
| | | | |||||
| * | | rabbitmqctl refresh_channel_config | Simon MacMullen | 2011-05-19 | 3 | -1/+22 |
| | | | |||||
| * | | Refactor a bit and push more work "below" checking the state. This reduces ↵ | Simon MacMullen | 2011-05-19 | 1 | -17/+22 |
| | | | | | | | | | the cost from 2.3% to 1.1%. | ||||
| * | | Only check the application environment when a channel starts up. | Simon MacMullen | 2011-05-18 | 2 | -21/+34 |
| |/ | |||||
| * | merge bug24004 into default | Matthias Radestock | 2011-05-17 | 24 | -227/+501 |
| |\ | |||||
| | * | merge bug23939 into default | Matthias Radestock | 2011-05-16 | 11 | -127/+338 |
| | |\ | |||||
| | | * | Merging bug23899 to default | Matthew Sackman | 2011-05-12 | 2 | -23/+10 |
| | | |\ | |||||
| | | | * | I cannot BELIEVE that anyone was so UNPROFFESSIONNAL as to OMIT these TYPES. | Simon MacMullen | 2011-05-03 | 1 | -2/+2 |
| | | | | | |||||
| | | | * | Remove dead code. | Simon MacMullen | 2011-05-03 | 1 | -14/+1 |
| | | | | | |||||
| | | | * | Separate out different types for network and direct connections, don't check ↵ | Simon MacMullen | 2011-05-03 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | the password for direct ones. | ||||
| | | * | | Fix racy bug in tests as reported by Simon. Bug created in bug24037 I suspect | Matthew Sackman | 2011-05-10 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | Merging bug23559 to default | Matthew Sackman | 2011-05-10 | 2 | -94/+129 |
| | | |\ \ | |||||
| | | | * | | track buffer size explicitly, resulting in a small performance improvement | Matthias Radestock | 2011-05-10 | 1 | -20/+22 |
| | | | | | | | | | | | | | | | | | | | | | Also rename recv_length to recv_len for consistency and brevity. | ||||
| | | | * | | refactor: extract commonality between tcp and ssl recv | Matthias Radestock | 2011-05-10 | 1 | -13/+9 |
| | | | | | | | | | | | | | | | | | | | | | ...and add a guard, for consistency with other funs | ||||
| | | | * | | optimise common case that buf contains a single binary | Matthias Radestock | 2011-04-26 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | | | | | | | This turns out to improve performance *a lot*. | ||||
| | | | * | | make ssl work | Matthias Radestock | 2011-04-07 | 2 | -75/+93 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...and handle socket errors It turns out that for active sockets the messages sent by tcp and ssl sockets to the controlling process differ gratuitously. | ||||
| | | | * | | get heartbeat monitor to pause when it should | Matthias Radestock | 2011-04-07 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On 'default' we kick off another prim_inet:async_recv *before* handling the frame we've just received. This is done for performance reasons - essentially we are reading ahead - and leads to the following sequence of events: 1. receive memory alarm -> change state to 'blocking' 2. receive a 'publish' method frame 3. kick off another prim_inet:async_recv 4. handle frame, detecting that it is a 'publish' frame and thus changing the state to 'blocked' 5. receive the frame header for another frame (e.g. the message header, or could be something on another channel, or a heartbeat) 6. since the state is 'blocked' and we pause the heartbeat monitor and *don't* kick off another prim_inet:async_recv On this branch we don't read ahead since a) that would complicate the logic a fair bit, and b) we could end up draining a fair chunk of data from the socket, rather than just a frame header. As a result we need to make sure the heartbeat monitor gets paused as soon as we transition to the 'blocked' state. | ||||
| | | | * | | tweak | Matthias Radestock | 2011-04-07 | 1 | -1/+1 |
| | | | | | | |||||
| | | | * | | merge default into bug23559 | Matthias Radestock | 2011-04-06 | 138 | -7682/+10008 |
| | | | |\ \ | |||||
| | | | * | | | experiment with uing {active,once} instead of prim_inet:async_recv | Matthias Radestock | 2010-11-30 | 2 | -23/+39 |
| | | | | | | | |||||
| | | * | | | | Merge bug20589 into default | Emile Joubert | 2011-05-10 | 4 | -0/+183 |
| | | |\ \ \ \ | |||||
| | | | * | | | | Indentation | Emile Joubert | 2011-05-10 | 1 | -3/+3 |
| | | | | | | | | |||||
| | | | * | | | | trace_exchange -> trace_exchanges | Simon MacMullen | 2011-05-05 | 1 | -9/+13 |
| | | | | | | | | |||||
| | | | * | | | | Merge from default | Simon MacMullen | 2011-05-05 | 13 | -230/+335 |
| | | | |\ \ \ \ | | | | | |_|/ | | | | |/| | | |||||
| | | | * | | | | Simplify tap_trace_in/out, don't make msg_to_table return a tuple, refactor, ↵ | Simon MacMullen | 2011-04-14 | 1 | -41/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cosmetics. | ||||
| | | | * | | | | Cosmetic. | Simon MacMullen | 2011-04-12 | 1 | -4/+3 |
| | | | | | | | | |||||
