Derek Collison
91b69f1f36
Merge pull request #250 from nats-io/wait_for_routes_go_routines
...
Ensure Shutdown() waits for outstanding go routines
2016-04-22 03:29:03 -07:00
Ivan Kozlovic
bff3603606
Fix Windows build
...
Code referenced Debugf which is not available in this package
2016-04-21 18:34:24 -06:00
Ivan Kozlovic
3a999c1299
Add tracking of most go routines started by the server
...
Refactor the way client is initialized. We need to ensure that
clients are not added to the clients map and readLoop started if
the server is in the process of being shutdown otherwise there
is a chance that the server already gathered the list of connections
to close and this one would not be included, leaving a readLoop
running.
Same occurs for routes, with the complexity that the readLoop is
started well before the route connection is added to the server
routes' list. We need a temporary map that contains those connections
to be able to close them on server Shutdown.
Fixed some flapping tests.
2016-04-21 11:48:39 -06:00
Ivan Kozlovic
3aa09ecc01
Ensure Shutdown() waits for outstanding routes go routines
...
We need to make sure that when Shutdown() returns, routes go routines
that try to connect or reconnect have returned. Otherwise, this may
affect tests running one after the other (a server from one test
may connect to a server in the next test).
2016-04-21 11:48:39 -06:00
Derek Collison
f81d57c0a3
Merge pull request #251 from nats-io/rename
...
Rename
2016-04-21 09:57:35 -07:00
Derek Collison
88f73b0029
Only linux for travis
2016-04-21 09:33:42 -07:00
Derek Collison
5bea74c2ed
Rename and move some things around
2016-04-21 09:33:26 -07:00
Derek Collison
6004a4e528
Update copyright
2016-04-18 20:31:56 -07:00
Derek Collison
34a75bbe15
Merge pull request #249 from nats-io/win-pse
...
Windows procUsage implementation and test
2016-04-18 20:30:46 -07:00
Derek Collison
ebd624943b
Merge pull request #248 from nats-io/release_process
...
Release process
2016-04-18 20:25:26 -07:00
Derek Collison
93e0b749f6
Allow tagged release names
2016-04-18 20:00:21 -07:00
Derek Collison
f60119d332
Add in auto release builds, matrix and coverage for only one run
2016-04-18 20:00:02 -07:00
Colin Sullivan
b40cb9704d
Use Argv[0] to get process ID, test updates, increase coverage.
2016-04-18 15:40:00 -06:00
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