Derek Collison
3b64567f00
tls flags, proper timeouts
2015-11-22 14:43:16 -08:00
Derek Collison
055f1dccb3
Allow test to use correct default ciphers
2015-11-22 08:34:06 -08:00
Derek Collison
ef43c19fce
Use better ciphers available under 1.5
2015-11-22 08:29:18 -08:00
Ivan Kozlovic
97da466312
Fix races, add a test and adjust others.
...
* There was a race during unsubscribe()
* 'go test -race' reports a race in TestSetLogger test. This one could be ignored since we normally invoke SetLogger only on server startup. That being said, Travis failed when I tried to submit a PR for the fix of the unsubscribe race. So proposing to fix the logger too.
2015-11-18 20:39:56 -07:00
Derek Collison
200f2d95c6
Merge pull request #139 from nats-io/issue-138
...
Fix possible non-propagation of subscription interest to routed server.
2015-11-17 22:01:21 -08:00
Ivan Kozlovic
b62835363a
Fix possible non-propagation of subscription interest to routed server.
...
If processRoute executes before createRoute finishes registering the route, and before a subscriber has connected (or reconnected), and the subscriber connects (or reconnects) before the route is registered, then this subscription will stay local and not be forwarded to the route.
2015-11-17 21:36:18 -07:00
Ivan Kozlovic
17d231361d
Fix handling of duplicate SUB protocol.
...
This is issue #136 . With routes, it is possible that a subscriber connects (or reconnects) and is about to broadcast the SUB protocol to the routed server, and at the same time, the server sends the list of the local subscriptions. This would result in a SUB processed twice, adding the same sub in the sublist twice. If the server sending the subscription list is restarted, this will leave "detached" subscriptions in the sublist which would trigger the "Bad or Missing ROUTER info" for every message published on that subject.
2015-11-17 20:58:54 -07:00
Derek Collison
1145d9c731
TLS beta
2015-11-08 14:40:29 -08:00
Derek Collison
e563f64458
Merge pull request #133 from nats-io/tls
...
TLS
2015-11-08 14:39:29 -08:00
Derek Collison
b8af53e67a
Added in clustered TLS
2015-11-08 14:20:01 -08:00
Derek Collison
1c7f708217
Added in support for requiring client certificates
2015-11-08 10:48:39 -08:00
Derek Collison
ec258ac18d
Moved certs and changed to simple hostname
2015-11-05 15:35:50 -08:00
Derek Collison
a579687e95
Removed old cert
2015-11-05 15:34:47 -08:00
Derek Collison
7b866f2215
Moving around keys and certs
2015-11-05 15:33:32 -08:00
Sebastien Perreault
f856159e80
Added basic support for illumos/Solaris
2015-11-05 08:30:24 -05:00
Waldemar Quevedo
a1a5a3cf9c
Expose name label from client in monitoring endpoint
2015-11-01 17:50:10 -08:00
Derek Collison
eb46d7b05b
Comment ciphers from test too
2015-10-23 08:47:13 -07:00
Derek Collison
b75c7b1522
comment out 1.5 only ciphers for now.
2015-10-23 08:43:03 -07:00
Derek Collison
5004efe54b
new files for TLS
2015-10-22 03:32:11 +02:00
Derek Collison
749d4f89cc
First pass at client TLS support
2015-10-22 03:30:27 +02:00
cmfatih
6b1843a8c6
Fix port info
2015-10-04 01:45:38 -04:00
cmfatih
27b27157f6
Change JSON fieldname for cluster port (prevent conflict with client port)
2015-10-04 01:42:47 -04:00
Derek Collison
fe3b8f2aa1
BufSize option, bump for go1.5.1, bump version
2015-09-18 07:41:33 -07:00
Derek Collison
45564dbde2
race fixes, go1.5 on travis
2015-09-17 19:02:00 -07:00
Dave Martorana
0c1160a893
First attempt to compile for FreeBSD, using the Windows approach to pse
2015-09-01 14:13:14 -04:00
Derek Collison
8fb92dc7e2
Fix parser bug around MSG protocol.
...
Make sure we do the right thing when no args are presented for an MSG, e.g. MSG <spc>.
Also do not parse at all of this is a client, only valid for routes.
2015-08-26 23:04:10 -07:00
Derek Collison
968aec7b08
Update version to 0.6.6
2015-08-23 14:22:31 -07:00
Derek Collison
ffa21f3736
fix race
2015-08-23 13:40:35 -07:00
Derek Collison
e8d736ebe0
Account for proper setting of max_pending
2015-08-23 13:33:25 -07:00
Derek Collison
eed8b6cf94
Fix for #111
2015-08-23 13:23:02 -07:00
Waldemar Quevedo
9c7de6902c
Add option to sort by pending size
2015-08-22 16:00:27 -07:00
Derek Collison
4253eb3ce7
beta tag
2015-08-22 12:07:10 -07:00
cmfatih
e86e3db2e0
Change getting callback query
2015-08-17 22:22:00 -04:00
cmfatih
3dc7bc2e70
Fix format
2015-08-15 18:55:02 -04:00
cmfatih
7071a9518d
Add TestHandleRoot
2015-08-15 18:52:32 -04:00
cmfatih
2b6b160477
Cleanup
2015-08-15 18:45:39 -04:00
cmfatih
a40489678f
Typo
2015-08-15 18:26:59 -04:00
cmfatih
3c513b6a8a
Fix format
2015-08-15 18:13:01 -04:00
cmfatih
5cf02d76dc
Add tests for content-type
2015-08-15 18:09:47 -04:00
cmfatih
7c07d5994c
Updates due to formting
2015-08-15 17:44:37 -04:00
cmfatih
001d42b1ea
Tidy change for HandleRoot
2015-08-15 17:39:35 -04:00
cmfatih
b641b94300
Add ResponseHandler
2015-08-15 17:29:37 -04:00
cmfatih
effddfd938
Add JSONP support for monitoring routes
2015-08-13 21:51:03 -04:00
cmfatih
48ea38ec59
Add Content-Type to monitoring handlers
2015-08-12 11:56:35 -04:00
Derek Collison
6511455239
Updates to help including --routes
2015-08-07 22:13:40 -07:00
Derek Collison
13efacd3d8
bump version, release v0.6.2
2015-08-07 17:42:04 -07:00
Derek Collison
f7ea964f2e
Allow flag to connect to routes in clustered mode
2015-08-07 14:23:50 -07:00
Thinh Nguyen
33e53ff059
Update pse_linux.go
...
sysinfo.Uptime is int32 I think
2015-08-07 16:34:53 -04:00
Derek Collison
0e59a4a0f5
make sure offset and limit are sane
2015-08-06 16:45:10 -07:00
Derek Collison
cb47c2e494
fixup for collapsed struct
2015-08-06 01:01:29 -07:00