Commit Graph

760 Commits

Author SHA1 Message Date
Colin Sullivan
be6416c832 Windows PS Emulation and Test 2016-04-18 10:09:00 -06:00
Derek Collison
ce8d752395 Merge pull request #245 from nats-io/dyn_write
Dynamic writes
2016-04-15 19:50:39 -07:00
Derek Collison
0cb85b18ec remove need for atomic 2016-04-15 18:32:19 -07:00
Derek Collison
b3388db53f Enable dynamic write buffers for client connections 2016-04-15 18:16:13 -07:00
Derek Collison
4f333416bb Revert race on interest graph since it could cause dropped interest propogation, fix test instead 2016-04-15 15:46:29 -07:00
Derek Collison
3e2c3714bc Fix race in interest propogation to new routes 2016-04-15 13:16:13 -07:00
Derek Collison
dda20f227e Merge pull request #241 from nats-io/unquote_ipaddr
conf: Allow raw IPAddr and raw string in arrays
2016-04-07 09:03:43 -07:00
Derek Collison
be4d2d4e89 Batteries included 2016-04-07 08:58:53 -07:00
Derek Collison
433d62ec0a Parse IPs and raw strings in arrays properly 2016-04-07 08:36:57 -07:00
Derek Collison
9bf172cf43 Merge pull request #239 from nuss-justin/remove-allocation-2
Remove allocation when inserting into sublist
2016-04-06 08:47:39 -07:00
Justin Nuß
e4d111fa0a Remove allocation when inserting into sublist 2016-04-06 14:15:26 +02:00
Derek Collison
06e121a05e Merge pull request #238 from nats-io/vendor
Vendor
2016-04-05 13:33:25 -07:00
Derek Collison
812b1b3747 pull nats for tests from master 2016-04-05 10:56:23 -07:00
Derek Collison
21ec036da4 Add in vendor support 2016-04-05 10:52:40 -07:00
Derek Collison
0db7adb6b1 Merge pull request #237 from nuss-justin/remove-allocation-1
Remove an unnecessary string allocation
2016-04-05 08:28:58 -07:00
Justin Nuß
4bf0b47e74 Remove unnecessary string allocation 2016-04-05 15:25:55 +02:00
Derek Collison
de48a4b4a5 Remove build trigger for now 2016-04-04 19:12:25 -07:00
Derek Collison
7761ecd740 Added darwin, updated to Go1.6 2016-04-04 19:01:18 -07:00
Derek Collison
113c0a9173 Merge pull request #200 from zquestz/cross_compile
Added travis cross compilation support for linux/solaris/windows
2016-04-04 18:52:22 -07:00
Derek Collison
0bb362601e Revert back to ps callout.
Going back to ps callout on MacOSX to avoid cgo for pending
changes to release process.
2016-04-04 18:50:13 -07:00
Derek Collison
4a627300f9 Merge pull request #236 from nats-io/dynamic_read_buffers
Dynamic read buffers
2016-04-03 14:48:05 -07:00
Derek Collison
4fe52c7302 updates 2016-04-03 14:43:25 -07:00
Derek Collison
6ce89066fb race fix 2016-04-03 14:40:45 -07:00
Derek Collison
768f23b5b4 dynamic read buffers 2016-04-03 14:30:17 -07:00
Derek Collison
ca4bde918b Merge pull request #235 from nats-io/qsub_perf
Queue subscriber performance
2016-04-03 13:20:28 -07:00
Derek Collison
5b6283e1fb Updates [ci skip] 2016-04-03 13:19:55 -07:00
Derek Collison
96d9ce5048 Queue subscriber performance
Reworked sublist to sort out normal subscribers from queue subscribers into
a result set that can be cached and easily iterated over.
2016-04-03 13:04:06 -07:00
Derek Collison
fcd87b77c2 Merge pull request #234 from nats-io/subl1
L1 client cache for sublist and accounting optimizations
2016-04-03 05:54:49 -07:00
Derek Collison
d0a9a47ea3 L1 client cache for sublist and accounting optimizations 2016-04-03 05:41:45 -07:00
Derek Collison
b5413eca8c Merge pull request #233 from nats-io/sublist
Removed sublist, hash and hashmap, no longer needed.
2016-04-02 13:03:23 -07:00
Derek Collison
df02bc0bcf Removed sublist, hash and hashmap, no longer needed. 2016-04-02 12:52:48 -07:00
Derek Collison
fc3e345eb2 gosimple fixes 2016-03-31 07:34:13 -07:00
Derek Collison
a4c46694ff gosimple fixes 2016-03-31 07:33:36 -07:00
Derek Collison
f23f55518c gosimple fixes 2016-03-31 07:28:40 -07:00
Derek Collison
4b9bb4b9b3 Added _SYS events 2016-03-30 11:27:22 -07:00
Derek Collison
3a6e5ce5a6 Merge pull request #229 from nats-io/fix_pong
Fixed handling of unprompted PONG protocols
2016-03-23 15:11:29 -07:00
Ivan Kozlovic
76324844a9 Fixed handling of unprompted PONG protocols
- The number of outstanding PINGs is now reset whenever the server
receives a PONG from the client.
- Updated parser test to check c.pout.
- Added a test to check for unprompted PONGs.

Resolves issue: https://github.com/nats-io/gnatsd/issues/168
2016-03-23 14:30:44 -07:00
Derek Collison
3dd490a449 Go Report Card fixes 2016-03-20 16:06:28 -10:00
Derek Collison
50a14ac1d5 Modified debug and server id 2016-03-20 15:57:43 -10:00
Derek Collison
efce5d568e Merge pull request #224 from nats-io/fix-lint-issues
Address issues found by golint.
2016-03-15 14:52:09 -07:00
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
ebe6bcdbd3 Merge pull request #222 from nats-io/fixes_for_windows
Fixed code and tests to run on Windows
2016-03-08 08:00:26 +02:00
Ivan Kozlovic
6263c66a40 Fixed code and tests to run on Windows
Mainly tests, but also a fix in route.go to reject a route when the
server is being shutdown.
2016-03-07 18:47:20 -07:00
Derek Collison
adb2a059b5 Additional tests for next generation design 2016-03-07 22:51:51 +02:00
Derek Collison
0a02aab703 simplify and test for non-optimization 2016-03-07 06:58:48 +00:00
Derek Collison
d09b6bdcf7 Optimize last activity and revert queue performance to alleviate normal sub performance hit 2016-03-07 06:24:23 +00:00
Derek Collison
49a7f2295a gofmt -s fixes 2016-02-29 22:08:49 -08:00
Derek Collison
d63b7eadcf spelling 2016-02-29 21:56:14 -08:00
Derek Collison
7a13d68bd3 Merge pull request #215 from nats-io/fix_route_discovery
Fix cluster formation when servers connect quickly
2016-02-29 10:58:27 -08:00
Ivan Kozlovic
3ea412798a Optimizations
-No need to store ip url string in c.route and resolve remote IP
 when forwarding the INFO to known servers.
-When checking if a route is explicit, use strings.ToLower() once
 for the url being checked.
2016-02-25 20:00:21 -07:00