summaryrefslogtreecommitdiff
path: root/src/rabbit_net.erl
Commit message (Collapse)AuthorAgeFilesLines
* Unify address and host. Stick ports in the state, just because we're ↵Simon MacMullen2012-11-011-25/+24
| | | | grabbing them anyway.
* Store name, host and peerhost as binary in the first place.Simon MacMullen2012-10-301-3/+4
|
* cosmeticMatthias Radestock2012-10-191-1/+1
|
* OK, I prefer this. Patch the dns lookups into connection_string, this makes ↵Simon MacMullen2012-10-191-8/+32
| | | | names come out correctly for channels, stomp, mqtt and means we can remove some special casing from mgmt. Remove the extra process. Add a mechanism to disable the whole thing in case people have broken configs.
* explainbug25120Matthias Radestock2012-09-031-3/+8
|
* attempt to close ssl connections gracefully but forcefullyMatthias Radestock2012-09-031-2/+22
| | | | | | gracefully...so that there is a good chance of TLS alerts making it through, but forecfully (after a timeout) so we don't get stuck (or worse, silently) holding on to file descriptors and processes.
* tiny refactor: rename fun and clarify commentMatthias Radestock2012-08-241-4/+4
|
* refactor: move socket buffer size tuning into rabbit_netbug24872Matthias Radestock2012-05-281-1/+9
| | | | so it can be re-used in stomp et al
* Increase buffer size for the port driver to match that used by the ↵bug24866Simon MacMullen2012-04-231-5/+15
| | | | underlying socket.
* Ahem.Simon MacMullen2012-03-071-1/+1
|
* Try to close the socket immediately on reader death.Simon MacMullen2012-03-071-1/+6
|
* Merge bug24606Simon MacMullen2012-02-031-4/+3
|\
| * refactor: extract string formatting functionMatthias Radestock2012-02-021-4/+3
| |
* | Update copyright 2012bug24606Emile Joubert2012-02-021-1/+1
|/
* prettier and more consistent connection log messagesMatthias Radestock2012-01-251-1/+20
|
* Merging bug23559 to defaultMatthew Sackman2011-05-101-1/+25
|\
| * refactor: extract commonality between tcp and ssl recvMatthias Radestock2011-05-101-13/+9
| | | | | | | | ...and add a guard, for consistency with other funs
| * make ssl workMatthias Radestock2011-04-071-1/+21
| | | | | | | | | | | | | | ...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.
| * merge default into bug23559Matthias Radestock2011-04-061-82/+62
| |\
| * | experiment with uing {active,once} instead of prim_inet:async_recvMatthias Radestock2010-11-301-1/+9
| | |
* | | How did these tabs get here?Matthew Sackman2011-05-091-2/+2
| |/ |/|
* | Update .erl and .hrl license boilerplatesMatthew Sackman2011-01-191-26/+11
| |
* | SSL protocol / algorithm information.Simon MacMullen2010-12-071-1/+9
| |
* | cosmetic: put rabbit_net exports, specs, and funs in sensible orderMatthias Radestock2010-11-301-49/+36
|/ | | | and consistent too
* Keep knowledge of sockets in rabbit_netSimon MacMullen2010-11-101-1/+5
|
* merge default into bug22902Matthias Radestock2010-09-081-1/+1
|\
| * correct some typesMatthias Radestock2010-09-081-1/+1
| |
* | fix type sigsMatthias Radestock2010-09-081-12/+10
| |
* | moved certificate decoding to rabbit_sslAlexandru Scvortov2010-09-081-6/+3
| |
* | cosmeticMatthias Radestock2010-09-071-3/+2
| |
* | merge default into bug22902Matthias Radestock2010-09-071-28/+14
|\ \ | |/
| * tiny refactor and some cosmetic changesMatthias Radestock2010-09-071-28/+14
| |
* | extract encoded subject field from certificateAlexandru Scvortov2010-07-221-1/+4
| |
* | list_connections can now print a peer's ssl certificateAlexandru Scvortov2010-07-201-1/+10
|/
* cleanupAlexandru Scvortov2010-07-061-9/+19
|
* {'ok', A} -> rabbit_types:ok(A)Alexandru Scvortov2010-07-061-4/+4
|
* {'ok' | error(...)} -> rabbit_types:ok_or_error(...)Alexandru Scvortov2010-07-061-3/+3
|
* {error, A} -> rabbit_types:error(A)Alexandru Scvortov2010-07-061-1/+1
|
* moved all rabbit.hrl types to rabbit_types.erlAlexandru Scvortov2010-07-061-4/+1
|
* moved common types rabbit_types; move net types to rabbit_networkingAlexandru Scvortov2010-07-061-3/+3
|
* moved export_types to inside ifdefsAlexandru Scvortov2010-07-051-1/+2
|
* because inet doesn't export all its typesAlexandru Scvortov2010-07-021-3/+3
|
* better typesAlexandru Scvortov2010-07-021-0/+2
|
* partially moved types out of rabbit.hrlAlexandru Scvortov2010-07-011-0/+2
|
* updated inet-related specsAlexandru Scvortov2010-07-011-3/+2
|
* s/fun(/fun (/gSimon MacMullen2010-05-281-1/+1
|
* update copyright notices to say 2010 where appropriatebug22312David R. MacIver2010-02-091-3/+3
|
* cosmetic: squash trailing whitespaceMatthias Radestock2010-01-271-6/+6
|
* make dialyzer happyMatthias Radestock2009-07-211-2/+2
|
* timeout() is now built in. Redefinition is deprecatedEssien Ita Essien2009-06-211-1/+0
|