ffi-nats-core 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ffi-nats-core.gemspec +8 -0
- data/lib/ffi/nats/core/version.rb +1 -1
- data/vendor/cnats/CMakeLists.txt +137 -0
- data/vendor/cnats/adapters/libevent.h +220 -0
- data/vendor/cnats/adapters/libuv.h +472 -0
- data/vendor/cnats/examples/CMakeLists.txt +56 -0
- data/vendor/cnats/examples/asynctimeout.c +83 -0
- data/vendor/cnats/examples/examples.h +322 -0
- data/vendor/cnats/examples/libevent-pub.c +136 -0
- data/vendor/cnats/examples/libevent-sub.c +104 -0
- data/vendor/cnats/examples/libuv-pub.c +120 -0
- data/vendor/cnats/examples/libuv-sub.c +114 -0
- data/vendor/cnats/examples/publisher.c +62 -0
- data/vendor/cnats/examples/queuegroup.c +132 -0
- data/vendor/cnats/examples/replier.c +149 -0
- data/vendor/cnats/examples/requestor.c +75 -0
- data/vendor/cnats/examples/subscriber.c +133 -0
- data/vendor/cnats/src/CMakeLists.txt +31 -0
- data/vendor/cnats/src/asynccb.c +66 -0
- data/vendor/cnats/src/asynccb.h +42 -0
- data/vendor/cnats/src/buf.c +246 -0
- data/vendor/cnats/src/buf.h +116 -0
- data/vendor/cnats/src/comsock.c +474 -0
- data/vendor/cnats/src/comsock.h +81 -0
- data/vendor/cnats/src/conn.c +2725 -0
- data/vendor/cnats/src/conn.h +75 -0
- data/vendor/cnats/src/err.h +31 -0
- data/vendor/cnats/src/gc.h +27 -0
- data/vendor/cnats/src/hash.c +725 -0
- data/vendor/cnats/src/hash.h +141 -0
- data/vendor/cnats/src/include/n-unix.h +56 -0
- data/vendor/cnats/src/include/n-win.h +59 -0
- data/vendor/cnats/src/mem.h +20 -0
- data/vendor/cnats/src/msg.c +155 -0
- data/vendor/cnats/src/msg.h +43 -0
- data/vendor/cnats/src/nats.c +1734 -0
- data/vendor/cnats/src/nats.h +2024 -0
- data/vendor/cnats/src/natsp.h +518 -0
- data/vendor/cnats/src/natstime.c +79 -0
- data/vendor/cnats/src/natstime.h +27 -0
- data/vendor/cnats/src/nuid.c +265 -0
- data/vendor/cnats/src/nuid.h +21 -0
- data/vendor/cnats/src/opts.c +1030 -0
- data/vendor/cnats/src/opts.h +19 -0
- data/vendor/cnats/src/parser.c +869 -0
- data/vendor/cnats/src/parser.h +87 -0
- data/vendor/cnats/src/pub.c +293 -0
- data/vendor/cnats/src/srvpool.c +380 -0
- data/vendor/cnats/src/srvpool.h +71 -0
- data/vendor/cnats/src/stats.c +54 -0
- data/vendor/cnats/src/stats.h +21 -0
- data/vendor/cnats/src/status.c +60 -0
- data/vendor/cnats/src/status.h +95 -0
- data/vendor/cnats/src/sub.c +956 -0
- data/vendor/cnats/src/sub.h +34 -0
- data/vendor/cnats/src/timer.c +86 -0
- data/vendor/cnats/src/timer.h +57 -0
- data/vendor/cnats/src/unix/cond.c +103 -0
- data/vendor/cnats/src/unix/mutex.c +107 -0
- data/vendor/cnats/src/unix/sock.c +105 -0
- data/vendor/cnats/src/unix/thread.c +162 -0
- data/vendor/cnats/src/url.c +134 -0
- data/vendor/cnats/src/url.h +24 -0
- data/vendor/cnats/src/util.c +823 -0
- data/vendor/cnats/src/util.h +75 -0
- data/vendor/cnats/src/version.h +29 -0
- data/vendor/cnats/src/version.h.in +29 -0
- data/vendor/cnats/src/win/cond.c +86 -0
- data/vendor/cnats/src/win/mutex.c +54 -0
- data/vendor/cnats/src/win/sock.c +158 -0
- data/vendor/cnats/src/win/strings.c +108 -0
- data/vendor/cnats/src/win/thread.c +180 -0
- data/vendor/cnats/test/CMakeLists.txt +35 -0
- data/vendor/cnats/test/certs/ca.pem +38 -0
- data/vendor/cnats/test/certs/client-cert.pem +30 -0
- data/vendor/cnats/test/certs/client-key.pem +51 -0
- data/vendor/cnats/test/certs/server-cert.pem +31 -0
- data/vendor/cnats/test/certs/server-key.pem +51 -0
- data/vendor/cnats/test/dylib/CMakeLists.txt +10 -0
- data/vendor/cnats/test/dylib/nonats.c +13 -0
- data/vendor/cnats/test/list.txt +125 -0
- data/vendor/cnats/test/test.c +11655 -0
- data/vendor/cnats/test/tls.conf +15 -0
- data/vendor/cnats/test/tlsverify.conf +19 -0
- metadata +83 -1
@@ -0,0 +1,19 @@
|
|
1
|
+
|
2
|
+
# Simple TLS config file
|
3
|
+
|
4
|
+
port: 4443
|
5
|
+
net: "0.0.0.0"
|
6
|
+
|
7
|
+
tls {
|
8
|
+
# Server cert
|
9
|
+
cert_file: "certs/server-cert.pem"
|
10
|
+
# Server private key
|
11
|
+
key_file: "certs/server-key.pem"
|
12
|
+
# Verify client certs
|
13
|
+
verify: true
|
14
|
+
# Server verifies client certificate, so need a CA
|
15
|
+
ca_file: "certs/ca.pem"
|
16
|
+
# Increase timeout for valgrind tests
|
17
|
+
timeout: 2
|
18
|
+
}
|
19
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffi-nats-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Dewitt
|
@@ -100,6 +100,88 @@ files:
|
|
100
100
|
- ffi-nats-core.gemspec
|
101
101
|
- lib/ffi/nats/core.rb
|
102
102
|
- lib/ffi/nats/core/version.rb
|
103
|
+
- vendor/cnats/CMakeLists.txt
|
104
|
+
- vendor/cnats/adapters/libevent.h
|
105
|
+
- vendor/cnats/adapters/libuv.h
|
106
|
+
- vendor/cnats/examples/CMakeLists.txt
|
107
|
+
- vendor/cnats/examples/asynctimeout.c
|
108
|
+
- vendor/cnats/examples/examples.h
|
109
|
+
- vendor/cnats/examples/libevent-pub.c
|
110
|
+
- vendor/cnats/examples/libevent-sub.c
|
111
|
+
- vendor/cnats/examples/libuv-pub.c
|
112
|
+
- vendor/cnats/examples/libuv-sub.c
|
113
|
+
- vendor/cnats/examples/publisher.c
|
114
|
+
- vendor/cnats/examples/queuegroup.c
|
115
|
+
- vendor/cnats/examples/replier.c
|
116
|
+
- vendor/cnats/examples/requestor.c
|
117
|
+
- vendor/cnats/examples/subscriber.c
|
118
|
+
- vendor/cnats/src/CMakeLists.txt
|
119
|
+
- vendor/cnats/src/asynccb.c
|
120
|
+
- vendor/cnats/src/asynccb.h
|
121
|
+
- vendor/cnats/src/buf.c
|
122
|
+
- vendor/cnats/src/buf.h
|
123
|
+
- vendor/cnats/src/comsock.c
|
124
|
+
- vendor/cnats/src/comsock.h
|
125
|
+
- vendor/cnats/src/conn.c
|
126
|
+
- vendor/cnats/src/conn.h
|
127
|
+
- vendor/cnats/src/err.h
|
128
|
+
- vendor/cnats/src/gc.h
|
129
|
+
- vendor/cnats/src/hash.c
|
130
|
+
- vendor/cnats/src/hash.h
|
131
|
+
- vendor/cnats/src/include/n-unix.h
|
132
|
+
- vendor/cnats/src/include/n-win.h
|
133
|
+
- vendor/cnats/src/mem.h
|
134
|
+
- vendor/cnats/src/msg.c
|
135
|
+
- vendor/cnats/src/msg.h
|
136
|
+
- vendor/cnats/src/nats.c
|
137
|
+
- vendor/cnats/src/nats.h
|
138
|
+
- vendor/cnats/src/natsp.h
|
139
|
+
- vendor/cnats/src/natstime.c
|
140
|
+
- vendor/cnats/src/natstime.h
|
141
|
+
- vendor/cnats/src/nuid.c
|
142
|
+
- vendor/cnats/src/nuid.h
|
143
|
+
- vendor/cnats/src/opts.c
|
144
|
+
- vendor/cnats/src/opts.h
|
145
|
+
- vendor/cnats/src/parser.c
|
146
|
+
- vendor/cnats/src/parser.h
|
147
|
+
- vendor/cnats/src/pub.c
|
148
|
+
- vendor/cnats/src/srvpool.c
|
149
|
+
- vendor/cnats/src/srvpool.h
|
150
|
+
- vendor/cnats/src/stats.c
|
151
|
+
- vendor/cnats/src/stats.h
|
152
|
+
- vendor/cnats/src/status.c
|
153
|
+
- vendor/cnats/src/status.h
|
154
|
+
- vendor/cnats/src/sub.c
|
155
|
+
- vendor/cnats/src/sub.h
|
156
|
+
- vendor/cnats/src/timer.c
|
157
|
+
- vendor/cnats/src/timer.h
|
158
|
+
- vendor/cnats/src/unix/cond.c
|
159
|
+
- vendor/cnats/src/unix/mutex.c
|
160
|
+
- vendor/cnats/src/unix/sock.c
|
161
|
+
- vendor/cnats/src/unix/thread.c
|
162
|
+
- vendor/cnats/src/url.c
|
163
|
+
- vendor/cnats/src/url.h
|
164
|
+
- vendor/cnats/src/util.c
|
165
|
+
- vendor/cnats/src/util.h
|
166
|
+
- vendor/cnats/src/version.h
|
167
|
+
- vendor/cnats/src/version.h.in
|
168
|
+
- vendor/cnats/src/win/cond.c
|
169
|
+
- vendor/cnats/src/win/mutex.c
|
170
|
+
- vendor/cnats/src/win/sock.c
|
171
|
+
- vendor/cnats/src/win/strings.c
|
172
|
+
- vendor/cnats/src/win/thread.c
|
173
|
+
- vendor/cnats/test/CMakeLists.txt
|
174
|
+
- vendor/cnats/test/certs/ca.pem
|
175
|
+
- vendor/cnats/test/certs/client-cert.pem
|
176
|
+
- vendor/cnats/test/certs/client-key.pem
|
177
|
+
- vendor/cnats/test/certs/server-cert.pem
|
178
|
+
- vendor/cnats/test/certs/server-key.pem
|
179
|
+
- vendor/cnats/test/dylib/CMakeLists.txt
|
180
|
+
- vendor/cnats/test/dylib/nonats.c
|
181
|
+
- vendor/cnats/test/list.txt
|
182
|
+
- vendor/cnats/test/test.c
|
183
|
+
- vendor/cnats/test/tls.conf
|
184
|
+
- vendor/cnats/test/tlsverify.conf
|
103
185
|
homepage: https://www.github.com/abrandoned/ffi-nats-core
|
104
186
|
licenses: []
|
105
187
|
metadata: {}
|