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
Derek Collison
2031f0cbaa
Merge pull request #160 from nats-io/tls_issue
...
Fix TLS issue where server started to receive TLS data on non TLS con…
2015-12-08 13:23:05 -08:00
Ivan Kozlovic
964c277c63
Create the reconnectsDone channel big enough to prevent blocking on reconnect. Remove the explicit closing of clients, we should not have to do that. It still hangs on a windows VM though.
2015-12-08 13:56:40 -07:00
Ivan Kozlovic
a0cdd30bd9
Fix test that was failing on Windows.
...
* There was a bug in the send loop (use of 1 instead of i)
* On Windows specifically, the test did not exit without explicit closing of the connections (I don't think we should have to do that). This behavior combined with the send loop bug would cause this test to consume all memory on the machine.
2015-12-08 09:43:50 -07:00
Ivan Kozlovic
5036bbbf36
Fix TLS issue where server started to receive TLS data on non TLS connection.
...
Without the server fix, tls_test.go would likely report an error. The server would show a parser error with protocol snippet containing "random" bytes, likely encrypted data.
2015-12-07 19:44:12 -07:00
Ivan Kozlovic
589023302d
Merge pull request #158 from nats-io/add_net_to_more_config_files
...
Add 'net' to more config files
2015-12-07 19:33:55 -07:00
Ivan Kozlovic
b07f3fef92
Add 'net' on more config files for Travis' new GCE platform.
2015-12-07 19:26:40 -07:00
Ivan Kozlovic
8373e14a3f
Merge pull request #157 from nats-io/add_net_to_configs
...
Set 'net' in some config files
2015-12-07 18:28:40 -07:00
Ivan Kozlovic
1851ffa162
Temporary fix for Travis issues on new GCE
2015-12-07 18:22:53 -07:00
Derek Collison
15cd10e8d1
Merge pull request #155 from wallyqs/fix-proto-snippet
...
Fix and add tests for proto snippet func for showing protocol parsing errors
2015-12-06 22:40:51 -08:00
Waldemar Quevedo
c1ebd4efd8
Fix and tests for proto snippet function
2015-12-06 22:05:35 -08:00
Derek Collison
5148f18c52
Add bcrypt
v0.7.0
2015-12-03 16:01:01 -08:00
Derek Collison
0b22a145d8
no cert for https monitoring, use JoinHostPort
2015-12-03 15:37:26 -08:00
Derek Collison
edfbd590d2
fixes
2015-12-03 12:46:20 -08:00
Derek Collison
850da72adc
Added in TLS/Bcrypt documentation, bumped version
2015-12-03 12:43:00 -08:00
Derek Collison
36e329a161
cache padding for better performance, addresses #86
2015-12-03 10:01:12 -08:00
Derek Collison
d214b8af87
Merge pull request #151 from nats-io/https_monitor
...
Enable HTTPS for monitoring
2015-12-01 19:41:26 -08:00
Derek Collison
d1a333c713
Add in tls for connection details
2015-12-01 19:23:42 -08:00
Derek Collison
b61da04ef7
Enable HTTPS for monitoring
2015-12-01 19:01:56 -08:00
Derek Collison
0ae71a1f2c
Merge pull request #149 from nats-io/bcrypt
...
Bcrypt Support
2015-12-01 17:49:15 -08:00
Derek Collison
a63293db6b
root page cleanup
2015-12-01 15:43:37 -08:00
Derek Collison
f2309164f5
Add ability to control cost function via command line
2015-12-01 14:27:34 -08:00
Derek Collison
847de3f8b5
comment constants
2015-12-01 12:50:16 -08:00
Derek Collison
c9feb8f354
logic flow change
2015-12-01 12:48:10 -08:00
Derek Collison
ed2bd178e6
Merge pull request #150 from vanillahsu/master
...
add freebsd support.
2015-11-30 23:09:16 -08:00
Vanilla Hsu
a1bda5cad5
add freebsd support.
2015-12-01 14:37:14 +08:00
Derek Collison
f04e44fad7
Allow more time for goroutines to exit
2015-11-30 19:51:40 -08:00
Derek Collison
34eeadfb76
Should be QSRIDs
2015-11-30 19:47:16 -08:00
Derek Collison
100fb681cc
Updated completed items
2015-11-30 19:15:49 -08:00
Derek Collison
adcbf3bc64
ignore util for coverage
2015-11-30 18:43:59 -08:00
Derek Collison
6b8e8d89c8
Use smaller cost function for test, fix race
2015-11-30 18:29:53 -08:00
Derek Collison
8fca964049
fetch remote bcrypt dependency
2015-11-30 17:47:15 -08:00
Derek Collison
6fc9927f52
bcrypt support for passwords and tokens
2015-11-30 17:38:08 -08:00
Derek Collison
6dd81b0dd5
Merge pull request #148 from wallyqs/cluster-listen-arg
...
Add --cluster_listen flag to set cluster addr and port
2015-11-30 15:59:57 -08:00
Waldemar Quevedo
4958f0f684
Add --cluster_listen flag to set cluster addr and port for others to solicit routes
2015-11-30 14:30:11 -08:00
Derek Collison
e16fc7f8d5
Merge pull request #146 from wallyqs/incomplete-pub-arg
...
Avoid `cap out of range` error when handling split buffer
2015-11-29 19:26:44 -10:00
Waldemar Quevedo
498df401af
Return empty string when can't take slice for snippet from buffer
2015-11-29 20:47:47 -08:00
Waldemar Quevedo
18f932620f
Avoid cap out of range error when handling split buffer
2015-11-29 11:11:17 -08:00