20 Commits

Author SHA1 Message Date
Ivan Kozlovic
07e3db6b8e Prepare for v2.0.4 with goreleaser
Also fixed some flappers

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2019-08-15 09:06:56 -06:00
Derek Collison
acfe372d63 Changes for rename from gnatsd -> nats-server
Signed-off-by: Derek Collison <derek@nats.io>
2019-05-06 15:04:24 -07:00
Ivan Kozlovic
04d824c4d4 [FIXED] Possible slow consumers when routes exchange sub list
If each server has a long list of subscriptions, when the route
is established, sending this list could result in each server
treating the peer as a slow consumer, resulting in a reconnect,
etc..
Also bumping the fan-in threshold for route connections.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2019-02-20 12:09:26 -08:00
Ivan Kozlovic
049675088d [ADDED] ARM64v8 Release build
- Add linux/arm64 to cross compile script
- Update .travis.yml to push builds on Go 1.8.x version
- Update Dockerfile to Go 1.8.3
- Change Dockerfile.win64 to actually build all the builds that
  we would want to provide a Docker image for
2017-08-25 09:20:31 -06:00
Ivan Kozlovic
9d932b9c6a Replaced ARMv5 with ARMv6 in cross_compile
Related to #527
2017-07-06 17:07:58 -06:00
Ivan Kozlovic
aa36f37ff4 [ADDED] Build for ARMv7
The cross compile script compiled an ARM executable, but the ARM
default version varies based on the host, etc..
Made a change to the cross compile script to explicitly compile
ARMv5 and ARMv7.
2017-07-06 09:00:29 -06:00
Tyler Treat
2d324e6e31 Return non-zero exit code on failure 2017-06-07 09:44:49 -05:00
Ivan Kozlovic
aac1e74eb8 Fix code coverage script (remove auth package that no longer exists) 2017-04-27 09:19:01 -06:00
Ivan Kozlovic
67a4a37616 [FIXED] Release on linux amd64 is the only one dynamically linked
We are using the tool from https://github.com/mitchellh/gox
for cross compilation. When we issue a new release, we create a
tag and trigger Travis build which will then invoke the script and
upload the files to GH.

We were affected by https://github.com/mitchellh/gox/issues/55

Invoking the script on a Linux amd64 would produce this:

file pkg/gnatsd-linux-amd64/gnatsd
pkg/gnatsd-linux-amd64/gnatsd: ELF 64-bit LSB executable, x86-64,
version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, stripped

With the fix, you'll get this:

file pkg/gnatsd-linux-amd64/gnatsd
pkg/gnatsd-linux-amd64/gnatsd: ELF 64-bit LSB executable, x86-64,
version 1 (SYSV), statically linked, stripped

Resolves #470
2017-04-07 12:51:59 -06:00
Ivan Kozlovic
a0245fc0c8 [FIXED] Server not sending PINGs to TSL connections (clients or routes)
- Removed unnecessary cast check to (*net.TCPConn). When the timer
fires, the connection is already established. Replaced with check
that connection has not been closed.
- Add PING test that checks that pings are sent to TLS connections.
- Changed Go version to 1.7.5 in travis.
- Removed test package from code coverage.
2017-03-24 09:49:42 -06:00
Derek Collison
06cc95ac54 don't version the binary 2016-04-25 15:22:36 -07:00
Ivan Kozlovic
ad1198db85 Add code coverage
-Test coverage was no longer triggered due to the check for BUILD_GOOS
 environment variable that was removed. Removed the check.
-Re-run test package with server code coverage.
-Remove unused functions in test.go.
-Add test for a function in test.go.
-Add missing parse +OK test.
2016-04-22 13:03:04 -06:00
Derek Collison
93e0b749f6 Allow tagged release names 2016-04-18 20:00:21 -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
df02bc0bcf Removed sublist, hash and hashmap, no longer needed. 2016-04-02 12:52:48 -07:00
quest
6e754af487 Remove mousetrap 2016-02-08 18:40:05 -08:00
quest
3b504d5109 Added travis cross compilation support for linux/solaris/windows 2016-02-08 16:28:25 -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