Derek Collison
0cc17ede3b
Merge pull request #285 from nats-io/fix_test_http_host
...
Fix test
2016-05-23 21:09:04 -07:00
Derek Collison
178174bf33
Merge pull request #284 from nats-io/fix_deadlines
...
Fix possible blocking on sock write or connection close (when using TLS)
2016-05-23 21:07:47 -07:00
Ivan Kozlovic
d46a17d228
Fix test
...
Use RunServer() so that it ensures that server is ready to accept
connections.
2016-05-23 20:15:26 -06:00
Ivan Kozlovic
2bec28e146
Fix test
...
Loop should stop whenever a valid ip is found.
2016-05-23 20:05:09 -06:00
Ivan Kozlovic
188f7bf84c
Fix possible blocking on socket write or connection close (when using TLS)
...
Ensure that all socket writes are protected with deadlines.
For connection Close(), also use deadlines since in case of TLS,
the Close() will send an alert (do a write) if the handshake was
completed. If the peer is not reading, this would cause the Close()
to hang.
2016-05-23 19:57:54 -06:00
Derek Collison
7d79fa1e09
Merge pull request #282 from nats-io/monitor_flapper
...
Monitor flapper
2016-05-22 16:47:16 -07:00
Derek Collison
a2d03fbf5a
flush immediately on creation
2016-05-22 15:04:47 -07:00
Derek Collison
67479ea4cd
remove runtime import
2016-05-22 13:50:02 -07:00
Derek Collison
d4d2f5ae5c
Fix flapper test
2016-05-22 13:40:50 -07:00
Derek Collison
dcb02f93ef
Merge pull request #281 from nats-io/conf_variables
...
Configuration Variables
2016-05-22 10:58:09 -07:00
Derek Collison
8f4b31b5ed
Special case raw bcrypted passwords
2016-05-22 10:41:16 -07:00
Derek Collison
832bac98be
First pass variable support.
...
This allows blocked scoped variables to be set and retrieved as values using the $ prefix.
e.g. foo = 22; bar = $foo
Also supports env variables being used as variables and will properly parse to the correct type.
2016-05-22 10:21:00 -07:00
Derek Collison
68e8b83fcd
Merge pull request #280 from znly/master
...
Concurrent map access in server/route.go
2016-05-20 09:16:14 -07:00
Antonin Amand
1eb12a1501
fix concurrent map access
2016-05-19 17:14:48 +02:00
Derek Collison
074c8ce9f4
Merge pull request #279 from nats-io/fix_readme
...
Fix command line parameters for clustering doc [ci skip]
2016-05-18 12:16:59 -07:00
Ivan Kozlovic
13d6756901
Fix command line parameters for clustering doc [ci skip]
2016-05-18 13:14:10 -06:00
Derek Collison
d932f5686b
Merge pull request #276 from nats-io/varz_subs
...
Report total subscriptions under /varz
2016-05-16 12:54:52 -07:00
Derek Collison
df02549dc2
Report total subscriptions under /varz
2016-05-16 12:46:30 -07:00
Derek Collison
e124d3010f
Merge pull request #275 from nats-io/multiuser
...
Multiuser Auth Support
2016-05-15 10:27:23 -07:00
Derek Collison
82f04baa12
Allow optional reporting of authorized user under connz
2016-05-15 10:07:37 -07:00
Derek Collison
46a9e6f0bc
First pass at multi-user support
2016-05-13 12:27:57 -07:00
Derek Collison
01b635cc8f
Merge pull request #273 from nats-io/listen
...
Enable listen address parsing
2016-05-13 06:28:14 -07:00
Derek Collison
4bbd2231a6
update server configs and README to new listen style
2016-05-12 17:34:14 -07:00
Derek Collison
4c36522f55
new listen style
2016-05-12 17:22:09 -07:00
Derek Collison
2aba059523
Supporting test configs
2016-05-12 16:58:43 -07:00
Derek Collison
9e73c1db76
Enable listen address parsing for client, cluster and http, enforce http hosts as separate
2016-05-12 16:47:01 -07:00
Derek Collison
d615273a3e
Bump badge to release 0.8.0
2016-05-11 16:29:11 -07:00
Derek Collison
95787732db
next working version
2016-05-11 16:17:58 -07:00
Derek Collison
e1bd6f7eaf
Merge pull request #271 from nats-io/fix_info_arg
...
Fix INFO_ARG parsing
2016-05-11 16:17:02 -07:00
Ivan Kozlovic
a8ff707aff
Fix INFO_ARG parsing
...
In split buffer conditions, a buffer is used to accumulate bytes.
After processing, this buffer needs to be reset.
Resolves #270
2016-05-11 15:51:29 -06:00
Derek Collison
26caad27c1
Clear subs activity cache
2016-05-09 13:56:34 -07:00
Derek Collison
3ff8ad706a
v0.8.0 release
v0.8.0
2016-05-09 12:47:31 -07:00
Derek Collison
bf32f1972d
Merge pull request #268 from nats-io/last
...
Ignore client pings for last connection activity
2016-05-09 10:06:15 -07:00
Derek Collison
fd27025aa3
Ignore client pings for last connection activity
2016-05-09 09:56:38 -07:00
Derek Collison
0378f6d7e1
Merge pull request #266 from nats-io/update-win-pse
...
Update PSE for Windows
2016-05-05 22:47:18 -07:00
Colin Sullivan
26dab3bf8a
Update PSE for Windows
...
* Call into the performance counter API directly
* Incorporate caching to reduce load on the server
2016-05-05 23:31:05 -06:00
Derek Collison
099aaa3dcb
Merge pull request #265 from nats-io/pse_linux
...
Add sampling for pcpu
2016-05-05 14:10:40 -07:00
Derek Collison
137c2d0109
Add sampling for pcpu
2016-05-05 13:55:23 -07:00
Derek Collison
8e95269db7
Merge pull request #263 from nats-io/cov
...
Coverage increase for conf parser and lexer
2016-05-04 17:18:51 -04:00
Derek Collison
296227e46e
parse test coverage
2016-05-04 13:59:48 -07:00
Derek Collison
9b41ee00aa
lex coverage
2016-05-04 12:52:52 -07:00
Derek Collison
8a2af1ec21
don't test coverage on test
2016-05-04 11:23:48 -07:00
Derek Collison
1ebf896980
Fixup for default options
2016-05-03 16:51:23 -07:00
Derek Collison
b5a1365349
Set default host for cluster
2016-05-03 16:44:32 -07:00
Derek Collison
efc262951b
Merge pull request #262 from nats-io/move_usage
...
Move usage.go from server to main package
2016-05-03 19:25:45 -04:00
Ivan Kozlovic
830fb73e44
Remove usage.go and move its content into main.go
2016-05-03 17:15:58 -06:00
Ivan Kozlovic
b36e9fe137
Move usage.go from server to main package
2016-05-03 16:51:57 -06:00
Derek Collison
7b33905db5
beta2
2016-05-03 13:00:18 -07:00
Derek Collison
e8b079951c
Merge pull request #261 from nats-io/include-win-pse-test
...
Update the Windows PSE Test
2016-05-02 18:17:39 -04:00
Colin Sullivan
79b4e6be10
While locally tested, this test wasn't being run with the original enhancement.
...
* Include the test for windows
* Call ProcUsage (versus procUsage), as test was moved.
2016-05-02 15:25:07 -06:00