Commit Graph

927 Commits

Author SHA1 Message Date
Derek Collison
21e583628f Merge pull request #333 from wallyqs/custom-monitoring-server-listen
Enables using the same listen from server for monitoring endpoint via `-a`
2016-08-18 05:33:46 -05:00
Waldemar Quevedo
e46b187230 Enables using the same listen from server as was specified via -a
in the cmd line for the monitoring server as well.
2016-08-17 23:08:37 -07:00
Derek Collison
1b8cde624a Merge pull request #330 from nats-io/ignore_any_in_returned_ips
Check that 0.0.0.0 or [::] is not returned as a client connect URL
2016-08-17 23:20:34 -05:00
Derek Collison
859949e70d Merge pull request #332 from nats-io/fix_race_on_unsub
[FIXED] Data RACE on Unsubscribe when client connection is closed
2016-08-17 23:04:33 -05:00
Ivan Kozlovic
811e0868ed [FIXED] Data RACE on Unsubscribe when client connection is closed
Resolves #331
2016-08-17 16:46:34 -06:00
Ivan Kozlovic
c543c77c74 Check that 0.0.0.0 or [::] is not returned as a client connect URL 2016-08-17 11:15:05 -06:00
Derek Collison
14f5d0919c Merge pull request #328 from nats-io/fix_concurrent_monitor_poll
[FIXED] Server panic when poll for Varz and others concurrently
2016-08-17 06:31:02 +02:00
Ivan Kozlovic
e6039e0a8b [FIXED] Server panic when poll for Varz and others concurrently
Resolves #327
2016-08-16 10:50:49 -06:00
Derek Collison
638e249d2a Merge pull request #326 from nats-io/disable_async_info
[ADDED] Option to not advertise to clients cluster's IPs
2016-08-16 02:27:42 +02:00
Ivan Kozlovic
82dbb3a5ab [ADDED] Option to not advertise to clients cluster's IPs
By default, a server is now sending to its clients the client URLs
of all servers in the cluster. This allows clients to be able
to reconnect to any server in the cluster even if those clients
were not configured with the list of servers in the cluster.

However, there may be cases where it would make sense to disable
this feature. This now can be done with this option/command line
parameter.

Resolves #322
2016-08-12 19:24:12 -06:00
Derek Collison
a31e6b2b77 Merge pull request #324 from nats-io/fix_route_ipv6
[FIXED] Cluster's listener with IPv6
2016-08-12 15:20:36 -07:00
Derek Collison
29b31010cc Merge pull request #325 from nats-io/fix_link_local
[FIXED] When server listens to any interface, return only global IPs
2016-08-12 15:19:43 -07:00
Ivan Kozlovic
3b8412049e [FIXED] Cluster's listener with IPv6
Trying to use IPv6 address for the cluster host would fail.
Also, there were some unclosed channels in case of accept loop
setup failures.

Resolves #323
2016-08-12 15:54:15 -06:00
Ivan Kozlovic
fc7d92a04a [FIXED] When server listens to any interface, return only global IPs
The server was returning all resolved IP addresses, including link
local addresses, which did not make sense for remote clients.

Resolves #321
2016-08-12 14:22:24 -06:00
Ivan Kozlovic
62923be357 Bump version to 0.9.2 v0.9.2 2016-08-08 14:56:28 -06:00
Derek Collison
5e68e38c8b Merge pull request #319 from nats-io/fix_cluster_override
[FIXED] Route/Cluster override
2016-08-04 18:20:50 -06:00
Ivan Kozlovic
5185f10fed [FIXED] Route/Cluster override
If the server was started with a cluster section in a configuration
file and one would want to override the routes (using `-routes`) the
server would complain that you need to use `-cluster`. Adding
an override of cluster would not work, server would still complain.
Trying to override simply the cluster listen info (without override
of routes) would also not work.
2016-08-04 13:20:25 -06:00
Derek Collison
a2c747a88d Merge pull request #318 from nats-io/docker_update
[UPDATED] Dockerfile to use go 1.6.3 [ci skip]
2016-08-03 11:11:40 -06:00
Ivan Kozlovic
f6cb458480 [UPDATED] Dockerfile to use go 1.6.3 [ci skip] 2016-08-03 09:29:28 -06:00
Derek Collison
77a06b3b16 Merge pull request #316 from nats-io/improve_route_perf_big_msgs
[IMPROVED] Route performance for larger messages
2016-08-01 18:06:48 -07:00
Ivan Kozlovic
c6d37ecf8f [IMPROVED] Route performance for larger messages 2016-08-01 19:01:34 -06:00
Derek Collison
e0bb79865c Merge pull request #314 from nats-io/server_send_async_info
[ADDED] Server sends INFO with cluster URLs to clients with support
2016-08-01 16:53:50 -04:00
Ivan Kozlovic
6f9d542393 Minor changes based on comments 2016-07-26 12:25:33 -06:00
Ivan Kozlovic
61b0fec200 Updated test for corner cases
Test when client has not yet sent its CONNECT proto or the first
PING when route is added.
2016-07-26 11:57:16 -06:00
Ivan Kozlovic
fda5bd7ac7 [ADDED] Server sends INFO with cluster URLs to clients with support
Clients that will be at the ClientProtoInfo protocol level (or above)
will now receive an asynchronous INFO protocol when the server
they connect to adds a *new* route. This means that when the cluster
adds a new server, all clients in the cluster should now be notified
of this new addition.
2016-07-26 10:55:55 -06:00
Derek Collison
1ac073d49d Merge pull request #313 from nats-io/fix-typo
Fix tls parameter typo
2016-07-25 08:23:01 -07:00
Colin Sullivan
ab962bf0dd Fix typo in tls parameter doc and readme. 2016-07-25 08:50:29 -06:00
Derek Collison
9a19e5a6c6 update broken coveralls badge image 2016-07-20 13:39:05 -07:00
Derek Collison
d95765f052 Merge pull request #311 from nats-io/fix_pse_test
[FIXED] PS test to reduce failures in some situations
2016-07-18 14:12:29 -05:00
Derek Collison
fa4d3da26a Bump travis to use new version of 1.6 2016-07-18 12:07:34 -07:00
Ivan Kozlovic
d21210e0e9 [FIXED] PS test to reduce failures in some situations
Added garbage collection before each capture method and bump the
delta threshold to 1MB.

Resolves #310
2016-07-18 13:00:49 -06:00
Derek Collison
b14d3b9405 Merge pull request #308 from nats-io/readme-clustering
Updates to Clustering section
2016-07-16 01:36:18 -05:00
Alberto Ricart
d022275087 [ci skip] Changes by Ivan and Alberto 2016-07-15 15:58:34 -05:00
Alberto Ricart
92b5a32586 Updated clustering description to show that full mesh is required. 2016-07-15 15:11:22 -05:00
Derek Collison
c58af70095 Merge pull request #309 from nats-io/control_overflow
Control overflow
2016-07-12 02:38:01 +02:00
Derek Collison
ab11e04bf9 Fixes for gofmt -s 2016-07-11 12:16:21 -07:00
Derek Collison
d31d9f41c7 Check for proper dereference 2016-07-11 12:16:05 -07:00
Derek Collison
e3b5713ab9 Check for control line violations and memory attacks 2016-07-11 12:03:49 -07:00
lparis
dbeaad02a6 Updates to Clustering section 2016-06-30 21:13:36 -07:00
Derek Collison
d0c69c1118 Merge pull request #307 from nats-io/readme-edits
Readme edits
2016-06-28 16:56:22 -07:00
lparis
73a6b8ef62 Punctuation fix 2016-06-28 16:19:32 -07:00
lparis
065ea55467 Fixed typo 2016-06-28 12:20:25 -07:00
Derek Collison
1e4dc91a2c Merge pull request #305 from nats-io/readme-updates
Updates to README; permissioning feature added
2016-06-28 11:57:13 -07:00
lparis
d0c315ae41 Updates to README; premissioning feature added 2016-06-27 14:29:22 -07:00
Derek Collison
889ba32cc1 Bump version for multi-user and authorization [ci skip] 2016-06-23 09:22:02 -07:00
Derek Collison
8558c8e4c5 Merge pull request #300 from nats-io/authorization
Authorization
2016-06-20 09:26:10 -07:00
Derek Collison
8d07e06b91 Always check for pruning 2016-06-20 09:10:54 -07:00
Derek Collison
fa95bd936b spelling 2016-06-17 10:09:14 -07:00
Derek Collison
67ed61c837 fixups for PR comments 2016-06-17 09:59:39 -07:00
Derek Collison
49e5dfd797 Updated completed items 2016-06-16 23:54:18 -07:00