Christophe de Vienne
5bed783f44
Fix link to go-nats client REAME.md
2016-12-01 14:15:01 +01:00
Derek Collison
95336c87df
Merge pull request #383 from wallyqs/max-pending-cleanup
...
Remove "max_pending_size" option
2016-11-28 13:30:54 -05:00
Waldemar Quevedo
2a8aa96af4
Remove "max_pending_size" option
...
Previous implementations of the server checked the pending data size
being currently buffered for a client to detect slow consumers,
though this does not apply to latest version of the server so removing
it as a config option to avoid confusion as it is not implemented.
2016-11-22 20:07:39 -08:00
Derek Collison
e8dcb334ce
Merge pull request #382 from nats-io/win-signals
...
Differentiate signal handling for windows
2016-11-22 15:28:12 -08:00
Colin Sullivan
e9dc5fa054
Updates based on comments
2016-11-22 16:22:51 -07:00
Colin Sullivan
ccca711edd
Differentiate signal handling for windows.
...
Windows has limited support for signals, and does not define syscall.SIGUSR1. Log rotation will be handled differently in windows.
* Add signal.go for all non-windows builds
* Add signal_windows.go for windows builds.
Today, windows looks to be the only platform that does not have syscall.SIGUSR1 defined.
2016-11-22 15:22:34 -07:00
Derek Collison
ee70a0903a
Merge pull request #379 from nats-io/log_reopen
...
Support to reopen file based logs for file rotation
2016-11-21 22:21:50 -08:00
Derek Collison
1c32f28934
Support to reopen file based logs for rotation
2016-11-21 21:55:24 -08:00
Derek Collison
cda285aad5
Move Docker build to use go1.7.3
2016-11-21 17:16:44 -08:00
Derek Collison
0d96eaae5b
Merge pull request #378 from nats-io/include
...
Include Support
2016-11-21 15:21:35 -08:00
Derek Collison
9e92aaa2de
Version bump
2016-11-21 15:12:18 -08:00
Derek Collison
970dc93b7e
Add in missing file
2016-11-21 15:07:09 -08:00
Derek Collison
6b307af1eb
Add more options for Booleans
2016-11-21 15:06:15 -08:00
Derek Collison
e57c949658
Add support for 'include' to configuration files
2016-11-21 14:58:05 -08:00
Derek Collison
a9897f8fd7
Minor updates
2016-11-20 18:39:40 -08:00
Derek Collison
4ce62b9e27
Merge pull request #377 from nats-io/dconf
...
Added support for integer suffixes, e.g. 1k, 8mb
2016-11-20 18:26:03 -08:00
Derek Collison
6f9e4d6512
Added support for integer suffixes, e.g. 1k, 8mb
2016-11-20 17:39:04 -08:00
Derek Collison
5c69f82d84
Merge pull request #376 from nats-io/updates
...
Updates
2016-11-20 13:22:20 -08:00
Derek Collison
2a8010f6aa
Pull from new name
2016-11-20 13:16:38 -08:00
Derek Collison
61e0b758d7
Updates for Go client rename, update vendor dependencies
2016-11-20 13:15:37 -08:00
Derek Collison
f902ba5b49
Merge pull request #372 from vkhorozvs/master
...
[#370 ] Ability to configure ping_interval and ping_max (with tests)
2016-11-15 14:59:04 -08:00
Volodymyr Khoroz
a35d98eebe
[ #370 ] Treat ping interval from config as seconds (there is no point in smaller granularity).
2016-11-16 00:31:38 +02:00
Volodymyr Khoroz
a98b51a5ca
[ #370 ] Ability to configure ping_interval and ping_max (with tests)
2016-11-16 00:31:38 +02:00
Derek Collison
30197b046e
Merge pull request #374 from nats-io/fix_staticcheck_reports
...
Fix staticcheck reported issues
2016-11-15 12:08:09 -08:00
Ivan Kozlovic
645529243f
Fix staticcheck reported issues
...
The tool is started with the "-ignore" flag to ignore warning SA2002
which corresponds to invoking t.Fatalf (and the like) in a go routine.
Calling t.Fatalf in a go routine may produce a race condition.
The rationale for ignoring this warning is that if a test executes
the t.Fatalf() line it is that we have a problem either with test
or code that should be fixed.
2016-11-15 12:54:36 -07:00
Derek Collison
cd0712cc58
Merge pull request #368 from nats-io/update-gitignore
...
Ignore eclipse .project in root directory
2016-10-31 14:30:59 -07:00
Larry McQueary
2c3e0648bc
Ignore eclipse .project in root directory
2016-10-31 13:30:50 -06:00
Derek Collison
8ffdb6b7f6
Merge pull request #367 from nats-io/staticcheck
...
Add staticcheck analyzer to Travis CI
2016-10-27 10:07:07 -07:00
Colin Sullivan
6281894cc5
Add staticcheck static analyzer to travis.
...
Included are small fixes to address warnings found in test code. No functional changes.
2016-10-27 09:51:15 -06:00
Derek Collison
54b96e4527
Merge pull request #364 from nats-io/dont_use_relection_for_tls_config_clone
...
Use 2 files for CloneTLSConfig instead of reflection
2016-10-20 21:28:35 -07:00
Ivan Kozlovic
f75779b65b
Use 2 files for CloneTLSConfig instead of reflection
...
Use build directives to solve the problem of new fields in tls.Config
in go 1.7
Related to #231
2016-10-20 20:39:39 -06:00
Derek Collison
2c7f1fa6c0
Merge pull request #363 from nats-io/fix_tls_config_copy
...
[FIXED] assignment copies lock value for crypto/tls.Config
2016-10-20 14:07:08 -07:00
Ivan Kozlovic
4997637270
[FIXED] assignment copies lock value for crypto/tls.Config
...
Running `go vet ./...` with `go 1.7.3` would report the following:
```
server/route.go:342: assignment copies lock value to tlsConfig: crypto/tls.Config contains sync.Once contains sync.Mutex
server/server.go:479: assignment copies lock value to config: crypto/tls.Config contains sync.Once contains sync.Mutex
```
Add a “clone” function while waiting for this to be addressed
by the language itself (https://go-review.googlesource.com/#/c/28075/ )
2016-10-20 14:59:29 -06:00
Derek Collison
10cd7aa16d
Merge pull request #362 from nats-io/syslog-tag
...
Generate syslog tags based on the name of the executable or link.
2016-10-19 07:52:42 -07:00
Colin Sullivan
c3753d4d27
Generate syslog tag based on executable/link name
2016-10-18 12:50:49 -06:00
Derek Collison
8da901fcd9
Merge pull request #360 from nats-io/fix_setlogger
...
[FIXED] SetLogger to be able to set debug/trace to 0
2016-10-06 08:50:55 -07:00
Ivan Kozlovic
9f758bbd0d
Use simple if/else
2016-10-06 09:30:49 -06:00
Ivan Kozlovic
44d18c3af6
[FIXED] SetLogger to be able set debug/trace to 0
...
In NATS Streaming, we have a test - started early on - that was testing
logging and called SetLogger(l, true, true), then reset by calling
SetLogger(l, false, false) to reset the values. That obviously had not
the expected effect.
During profiling, I noticed that there were tons of allocated
objects due to NATS server debug/trace statements caused by that.
2016-10-05 17:56:25 -06:00
Derek Collison
8caed5eefd
Merge pull request #353 from bentranter/fix-non-ascii-quotes-in-html
...
Fix non-ASCII quotes in HTML
2016-09-12 23:29:46 -04:00
Ben Tranter
ad6206078f
Fix non-ASCII quotes in HTML
...
Fixes #304
Changes the non-ASCII curly quotes in the HTML to use the regular ASCII double quotes. Also adds a test to check for the existence of non-ASCII characters in that same HTML.
2016-09-12 11:03:19 -04:00
Derek Collison
e41d360e77
Merge pull request #337 from nats-io/fix_tls_verify
...
[FIXED] Client certificate verification when `verify` is true.
2016-08-25 17:44:11 -05:00
Ivan Kozlovic
8f7f6e9f8b
[FIXED] Client certificate verification when verify is true.
...
Server was incorrectly requiring a client certificate, but not
verifying it.
Resolves #336
2016-08-25 15:33:13 -06:00
Derek Collison
c7e699ac29
Updated benchmark formatting, added 128b payload
2016-08-24 13:17:07 -07:00
Ivan Kozlovic
dcbf5d8d35
Bump to version v0.9.4
v0.9.4
2016-08-18 09:27:43 -06:00
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