Commit Graph

198 Commits

Author SHA1 Message Date
Derek Collison
d932ac5652 Removed ps dependency from monitoring 2015-06-15 18:09:46 -07:00
Derek Collison
51f3ca8216 Added placeholder for client language 2015-06-15 18:09:12 -07:00
Derek Collison
2e92e9094b Removed logF 2015-06-15 17:49:57 -07:00
Derek Collison
aa2629fb30 20% tolerance for local docker runs 2015-06-15 17:39:05 -07:00
Derek Collison
03c710589d more tolerance for cpu drift during test 2015-06-15 17:35:04 -07:00
Derek Collison
7606458ecc removal of need for ps 2015-06-15 17:32:01 -07:00
Derek Collison
b3691f0d23 removed dependence on 'ps' 2015-06-15 13:04:34 -07:00
Derek Collison
1c98a508f8 Bumped version 2015-04-09 09:13:52 -07:00
Derek Collison
e940b2b748 Moved srv check 2015-04-09 09:11:04 -07:00
Derek Collison
4ea9d881a8 Additional split buffer test 2015-04-08 15:45:03 -07:00
Oleg Shaldybin
1b39a9fe94 Fix sid for split messages
When message is split we need to copy message arguments to avoid
rewriting them with new message. Subject, reply and size were correctly
copied by sid wasn't. That led to dropping some messages in clustered
mode if they were split, and the second part was long enough to overwrite
sid in the original buffer.
2015-04-07 22:23:48 -07:00
Trifonov Grigory
8dc3e7a5b8 Stats also need to be aligned. 2015-03-12 17:46:55 +03:00
Trifonov Grigory
3808c72870 Go's atomic align bug workaround. 2015-03-12 17:46:21 +03:00
Derek Collison
2758974735 Fixed logging bugs, added in additional tracing 2015-01-16 11:58:21 -08:00
Derek Collison
05a3e658e2 Bumped version 2015-01-09 18:47:46 -08:00
Derek Collison
651d169dfd Changes to trace logging output, bug fixes 2015-01-09 18:47:16 -08:00
Derek Collison
eaf20c2667 minor updates 2015-01-09 18:46:31 -08:00
Derek Collison
48f6086f34 Fixed some debug logging 2014-12-18 20:15:12 -08:00
Máximo Cuadros Ortiz
65ae9c16f2 extendable auth methods 2014-11-27 00:26:13 +01:00
Máximo Cuadros Ortiz
54ac589d82 Client: missing Debugf, Noticef and Tracef methods 2014-11-25 23:38:58 +01:00
Máximo Cuadros Ortiz
8a1a1925c8 fixing fatalf behaviour 2014-11-25 23:21:35 +01:00
Derek Collison
2a6dc7344f Bumped version 2014-11-16 12:37:46 -08:00
Derek Collison
d6a072c89b Test for dangling argBufs 2014-11-16 12:37:06 -08:00
Derek Collison
65ff554574 Better split buffer testing for CONNECT, fixes issue #63. 2014-11-16 08:58:36 -08:00
Ken Robertson
5623b583a9 Updates for new logging to appease govet
Govet doesn't like functions that look like format handlers not ending in `f`,
such as Debug() vs Debugf(). This is changing some of the new log handling to
use 'f' function names to appease govet.

Updated the implicit handling of including the client as an arg without being
used in a format string. Now the client object simply has a Errorf function
for logging errors and it adds itself onto the format string.
2014-10-29 11:32:14 -07:00
Máximo Cuadros Ortiz
7c7578ae38 Notice and Logger messages 2014-10-16 01:16:21 +02:00
Máximo Cuadros Ortiz
d99c6aeead remote syslog support 2014-10-16 00:45:44 +02:00
Máximo Cuadros Ortiz
6586ac4653 better client identification at logs and some performances improves 2014-10-16 00:44:56 +02:00
Máximo Cuadros Ortiz
96d044dce4 login system abstraction 2014-10-16 00:44:22 +02:00
Máximo Cuadros Ortiz
502ba2e43e connz: limit and offset 2014-10-04 22:39:09 +02:00
Máximo Cuadros Ortiz
3cde0eef60 added subsz and connz extended, and merged with varz 2014-10-04 22:38:59 +02:00
Máximo Cuadros Ortiz
9afb590cf9 improved connz with subscriptions stats and list of subscriptions by client 2014-10-04 22:38:59 +02:00
Julian Friedman and Zach Robinson
79c45db605 No longer add subscriptions to router clients with no existing connection.
race condition:
 - a client is closed at the same time as an incoming SUB message occurs.
 - the subscription is added to the srv.sl even though the socket is
   closed.
 - the connection cleanup has already run, so the bad state is never
   corrected
 - now messages may be forwarded to a client without a connection
 - messages will not be forwarded to a router that needs it now, because
   processMsg assumes the router already received it
2014-10-04 22:38:59 +02:00
Derek Collison
1c6947ad52 Fix log calls 2014-09-18 21:35:26 -07:00
Derek Collison
68ce4b41ba function closures 2014-09-18 21:24:09 -07:00
Derek Collison
dc35bc8d2e Merge pull request #44 from fraenkel/stale_reconnect
Let readLoop do the closeConnection magic on any error
2014-09-15 10:50:19 -07:00
Derek Collison
802c6075b8 Merge pull request #47 from fraenkel/remove_race
Prevent duplicate routes properly
2014-09-15 10:48:10 -07:00
Derek Collison
72a4386481 Merge pull request #46 from fraenkel/self_reference
Check port when removing self referenced routes
2014-09-15 10:45:04 -07:00
Michael Fraenkel
7a7b19e8c1 Prevent duplicate routes properly
* Guarantee lock when checking & adding a route
* Upgrade to a solicited route if one is seen
* Fix race issue when setting the remoteID
2014-09-13 22:06:43 -05:00
Michael Fraenkel
eec4786a2c Check port when removing self referenced routes
* Cleanup how self referenced routes were determined
2014-09-13 17:24:41 -05:00
Michael Fraenkel
c9a4e4a8e5 Add routes and remotes to varz 2014-09-13 15:57:31 -05:00
Michael Fraenkel and Zach Robinson
c5db2a03a3 Let readLoop do the closeConnection magic on any error
clearConnection will close the socket, but defer to readLoop to clean
up the client's connection
2014-09-12 11:20:57 -07:00
Derek Collison
62c5c4d229 Release version 0.5.6 2014-09-10 16:21:54 -07:00
Ken Robertson
8ccf0a8bb8 Fix gofmt issues 2014-08-12 23:06:01 -07:00
w00228948
31bc0bdb8c Use authTimeout in setAuthTimer 2014-08-12 17:55:59 +00:00
Derek Collison
c01c3e15d9 Merge pull request #34 from simonleung8/selfReferenceFix
Remove self-referencing ip/host in route configs and log a warning.
2014-07-31 11:14:39 -07:00
Simon Leung
afc9f6222f remove self referencing ip/host
Signed-off-by: Jonathan Berkhahn <jaberkha@us.ibm.com>
2014-07-31 10:30:43 -07:00
Derek Collison
a48084a2af Make sure to account for route connections 2014-07-24 16:01:50 -07:00
Derek Collison
13d256b8cc Fix minor races, add in 1.3 to testing, bump version 2014-07-24 08:03:04 -07:00
Alex Toombs
ae0e8e5f53 Write back resolved port to options. 2014-06-06 16:05:37 -07:00