Commit Graph

22 Commits

Author SHA1 Message Date
Colin Sullivan
2baac47820 Address issues found by golint.
* No functional changes
* Did not address the ALL_CAPS issues
* Did not modify public APIs and field names.
2016-03-15 15:21:13 -06:00
Derek Collison
853b4d720b Randomize distribution to subscribers
Better performance for queue subscriber distribution.
2016-02-05 09:06:17 -08:00
Waldemar Quevedo
18f932620f Avoid cap out of range error when handling split buffer 2015-11-29 11:11:17 -08:00
Ivan Kozlovic
97da466312 Fix races, add a test and adjust others.
* There was a race during unsubscribe()
* 'go test -race' reports a race in TestSetLogger test. This one could be ignored since we normally invoke SetLogger only on server startup. That being said, Travis failed when I tried to submit a PR for the fix of the unsubscribe race. So proposing to fix the logger too.
2015-11-18 20:39:56 -07:00
Ivan Kozlovic
17d231361d Fix handling of duplicate SUB protocol.
This is issue #136. With routes, it is possible that a subscriber connects (or reconnects) and is about to broadcast the SUB protocol to the routed server, and at the same time, the server sends the list of the local subscriptions. This would result in a SUB processed twice, adding the same sub in the sublist twice. If the server sending the subscription list is restarted, this will leave "detached" subscriptions in the sublist which would trigger the "Bad or Missing ROUTER info" for every message published on that subject.
2015-11-17 20:58:54 -07:00
Derek Collison
96bab33075 fixed import paths 2015-06-19 12:08:11 -07:00
Derek Collison
65ff554574 Better split buffer testing for CONNECT, fixes issue #63. 2014-11-16 08:58:36 -08:00
Derek Collison
9dc875b88e pedantic about over zealous GC for sockets 2014-09-18 21:25:13 -07:00
Derek Collison
71c0c28ced copyright hygiene 2013-10-16 13:40:15 -07:00
Derek Collison
4e1502cc4c README license, copyright cleanup, etc 2013-09-30 10:16:43 -07:00
Derek Collison
cf0f30200f log file support, data race fixes 2013-08-02 16:52:54 -07:00
Derek Collison
d9017c4cbc Make clearer on error its sid 2013-07-30 15:40:11 -07:00
Derek Collison
19a9b07b4d Fixup tests for changes to export functions 2013-07-17 09:22:22 -05:00
Derek Collison
c2e263223d Moved tests to use Go routine based server 2012-12-19 17:45:14 -08:00
Derek Collison
516f95faac Proto fix for transition to args, proto err returns 2012-12-10 09:47:51 -08:00
Derek Collison
2968ea1538 auth support, cleanup 2012-12-05 16:59:48 -08:00
Derek Collison
b85fd41d18 Added suport for pedantic mode and -ERR proto 2012-11-29 18:42:20 -08:00
Derek Collison
56cfcac374 Enable verbose mode 2012-11-29 16:52:10 -08:00
Derek Collison
3308ad12d3 Add test for multiple queue groups 2012-11-20 14:54:19 -08:00
Derek Collison
768a21c8ca Make support funcs work with benchmark also 2012-11-20 13:02:22 -08:00
Derek Collison
26a325bf43 Wait longer for response 2012-11-15 09:11:04 -08:00
Derek Collison
d229d75432 Added general testing between client/server 2012-11-15 09:08:17 -08:00