Derek Collison
2fcdebc34d
formatting
2016-02-05 07:36:48 -08:00
Derek Collison
661238eb1a
Add 8 subscriber queue benchmark
2016-02-05 07:34:21 -08:00
Derek Collison
c0ba6c291f
Default sort by cid for connz
2016-02-05 06:07:44 -08:00
Derek Collison
703f928a4d
Fix race on last activity
2016-02-05 05:58:09 -08:00
Derek Collison
9702156d72
Connection sort updates
...
- fix bug that did not update last activity on message delivery
- added sort capabilities for last activity
- avoid extra Reverse by simply changing Less func
2016-02-05 05:49:53 -08:00
Derek Collison
b4a6547a18
report len(ci.subs)
2016-02-04 18:05:50 -08:00
Derek Collison
5e73ebb622
Merge pull request #191 from nats-io/last_activity
...
Support for connection last activity tracking.
2016-02-04 17:58:29 -08:00
Derek Collison
26185a9722
Support for connection last activity tracking
2016-02-04 17:33:40 -08:00
Derek Collison
6b4f6f20ee
Merge pull request #190 from nats-io/fix_race_monitor
...
Fix race on connz monitor (issue #189 )
2016-02-03 22:10:48 -08:00
Ivan Kozlovic
0540df470c
Use values from ClientInfo instead of client when returning ConnInfo.
...
When we are returning ConnInfo, if we use the client's current value, they may be off compared to the values used for the sort.
2016-02-03 22:03:38 -07:00
Ivan Kozlovic
e893d873be
Forgot to use atomic for inMsgs and inBytes in one place.
2016-02-03 21:36:07 -07:00
Ivan Kozlovic
1d6dafc6a7
Fix race on connz monitor (issue #189 )
2016-02-03 21:26:26 -07:00
Derek Collison
7c89bc05a1
Merge pull request #166 from repejota/feature/lint
...
Fixed "golint ." issues
2016-02-03 18:58:23 -08:00
Derek Collison
02dc7ed668
Merge pull request #186 from wallyqs/unsub-spc-state
...
Add UNSUB_SPC parser state
2016-02-03 18:53:36 -08:00
Derek Collison
76970a7c79
Merge pull request #188 from nats-io/fix_server_start_check
...
Fix code that checks that server is started + route test
2016-02-03 18:51:26 -08:00
Ivan Kozlovic
eb0eabff04
Replace all changes with simple 25ms delay after connection close.
2016-02-03 18:58:42 -07:00
Ivan Kozlovic
437458e13e
Fix completeConnection + fix monitor test.
...
Don't check what is sent back. The point is that the client should be fully initialized at this point.
We can't ensure using metrics that the "check" connection is gone since in some tests, the server is started and clients auto-reconnect to it.
For tests that depend on the number of clients connected (such as the monitor one), have specific code for those tests.
2016-02-03 18:08:52 -07:00
Ivan Kozlovic
0a4da78f38
Fix code that checks that server is started + route test
...
- The raw connection used to check that the server is started now consumes the INFO and sends PING and consumes PONG before returning.
- The route test needs to make sure that the client connection has client id 2. Using PING/PONG before creating route connection to make sure of that.
2016-02-03 15:01:00 -07:00
Waldemar Quevedo
86824713c6
Add UNSUB_SPC parser state
2016-02-02 21:39:30 -08:00
Derek Collison
ed7a0b1852
Merge pull request #183 from nats-io/usage
...
Add 'auth' option, make all usage hints uniform with conventions
2016-02-02 16:53:24 -08:00
Derek Collison
24b11647c2
Merge pull request #185 from nats-io/prop-o-gation
...
Corrected spelling of 'propagated' and 'propagation'
2016-02-02 15:19:08 -08:00
Larry McQueary
e737604303
Modified --auth to reflect required token
2016-02-02 15:11:48 -07:00
Larry McQueary
7b5baa97d1
Corrected spelling of 'propagated' and 'propagation'
2016-02-02 12:22:49 -07:00
Larry McQueary
6396455663
Add 'auth' option, make all usage hints uniform with conventions
2016-02-02 11:50:01 -07:00
Derek Collison
ed3c20f13e
Updates [ci skip]
2016-02-01 12:35:36 -08:00
Derek Collison
972b9c18ac
Merge pull request #174 from nats-io/coverage
...
Better coverage support
2016-01-17 10:02:24 -08:00
Derek Collison
468c6af6f5
Remove unused scripts
2016-01-17 10:01:47 -08:00
Derek Collison
a28ce73281
Better coverage support
2016-01-17 09:57:11 -08:00
Derek Collison
25732e087b
New client TLS handling
2016-01-16 17:46:04 -08:00
Derek Collison
59a52ed83a
Documentation updates, minor fixes
2016-01-10 09:14:26 -08:00
Derek Collison
2553ad7c30
Merge pull request #173 from nats-io/monitoring
...
Monitoring
2016-01-09 15:58:46 -08:00
Derek Collison
6433e55314
bad test conditional
2016-01-09 10:09:05 -08:00
Derek Collison
6bd8f5fd70
inlined roothtml
2016-01-09 10:04:42 -08:00
Derek Collison
3af90e454f
Track total connections, http request stats
2016-01-09 09:57:04 -08:00
Derek Collison
b0c22e9dfd
Track start and uptime per connection
2016-01-09 08:20:24 -08:00
Derek Collison
1e37a6b23c
Monitoring homepage updates, help and favico
2016-01-09 07:57:58 -08:00
Raül Pérez
10e0093eb2
Fixed "golint ." issues
2015-12-20 06:02:01 +01:00
Derek Collison
270bda9a88
Added in cluster listen
2015-12-18 16:55:54 -05:00
Derek Collison
e2959697d2
Added items [ci skip]
2015-12-16 14:50:57 -08:00
Derek Collison
e9b5839bf0
Merge branch 'discovery'
2015-12-16 14:18:34 -08:00
Derek Collison
8393c3c994
Basic INFO for cluster auto-discovery, Addresses #126
2015-12-16 12:36:24 -08:00
Ivan Kozlovic
fdbdf1c49c
Merge pull request #163 from nats-io/release_server_lock_on_port_parsing_failure
...
Ensure server lock is released in case of failure when resolving port…
2015-12-10 14:21:50 -07:00
Ivan Kozlovic
b060eb3d5f
Ensure server lock is released in case of failure when resolving port back to options.
2015-12-10 14:11:37 -07:00
Derek Collison
6f1a756efe
Merge pull request #162 from nats-io/ready_for_travis_gce
...
Adapt tests for Travis GCE.
2015-12-10 12:30:57 -08:00
Ivan Kozlovic
d133e68338
Adapt tests for Travis GCE.
...
* Add server.GetListenEndpoint() to return options' host and port when server is ready to accept client connections. The server can be asked to pick a random port. This function returns a string of the form "host:port" with the port selected by the net.Listen() call.
* Replace the use of server.Addr() with above function to connect to the starting server (using net.Dial) to check for success. The original issue was that, when no hostname is specified in the configuration, the server uses 0.0.0.0 for the listen address. However, server.Addr() would return "[::]", even on a machine with IPv6 disabled, which would cause the net.Dial call to fail with "network unreachable".
2015-12-10 13:06:18 -07:00
Derek Collison
8e99354b8c
Use go1.5.2
v0.7.2
2015-12-09 11:42:56 -08:00
Derek Collison
7046d54881
Release 0.7.2
2015-12-09 11:23:37 -08:00
Ivan Kozlovic
bac95f1a9c
Merge pull request #161 from nats-io/increase_tls_timeout
...
Increase TLS timeout in config files
2015-12-08 16:02:08 -07:00
Ivan Kozlovic
9b25a379b8
Increase TLS timeout in config files
...
We would get failures on Travis, I would think because of small TLS timeout. Increase (or set) the TLS timeout to 2 seconds in most configuration files. Update tests that relied on the original value.
2015-12-08 15:20:20 -07:00
Ivan Kozlovic
d2a21daf53
Merge pull request #159 from nats-io/fix_test
...
Fix test that was failing on Windows.
2015-12-08 14:25:55 -07:00