@mark1russell7/machines 0.3.17 → 0.3.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -58,8 +58,9 @@ The algebra reads these documents. It gives the closed form of each timer, the f
58
58
  | `ENVOY_HTTP2` | `envoy-http2` | Envoy 1.39.4 as an HTTP/2 proxy of gRPC: one connection of a client, its streams, the local replies and the close | proxy | 16 implemented |
59
59
  | `TOXIPROXY_LINK` | `toxiproxy-link` | Toxiproxy 2.12.0 with no toxic: one proxied TCP connection and its close | proxy | 9 implemented |
60
60
  | `DOCKER_PROXY_LINK` | `docker-proxy-link` | docker-proxy of Docker Engine 29.1.5: one proxied TCP connection and its close | proxy | 9 implemented |
61
+ | `CADDY_HTTP2` | `caddy-http2` | Caddy 2.11.7 as an HTTP/2 proxy of gRPC: one connection of a client, its idle close, its replies and its stop | proxy | 12 implemented |
61
62
 
62
- Twenty-seven documents operate on Linux TCP (`over`). Linux TCP, conntrack, the Sentinel, the replication of mongod, aten and the member of Ra operate on no other document. The `conditions` of each document give the range where it holds, for example a range of kernels.
63
+ Twenty-eight documents operate on Linux TCP (`over`). Linux TCP, conntrack, the Sentinel, the replication of mongod, aten and the member of Ra operate on no other document. The `conditions` of each document give the range where it holds, for example a range of kernels.
63
64
 
64
65
  The package also gives these parts:
65
66
 
@@ -105,6 +106,10 @@ A change to the version of a system changes its sources too. Each fact of the do
105
106
 
106
107
  In this repository, a snapshot of the predictions of the cells (`packages/cells/src/__snapshots__/predictions.json`) shows each prediction that a change to a document moves.
107
108
 
109
+ ### 0.3.18
110
+
111
+ - **Caddy 2.11.7 as a proxy of gRPC** (`caddy-http2`), from the source at its tag and of golang.org/x/net v0.59.0. With no stream open for 5 min, Caddy sends GOAWAY NO_ERROR, and it closes the connection 1 s later. A PING of the client does not reset that timer. A failure of the upstream before the headers of a response gives 502, thus UNAVAILABLE. Caddy retries no call at the defaults, and at SIGTERM it waits for each stream.
112
+
108
113
  ### 0.3.17
109
114
 
110
115
  - **The proxies of T02 for gRPC: Envoy 1.39.4, Toxiproxy 2.12.0 and docker-proxy 29.1.5.** Three new documents, each from the source at its tag:
package/build/index.d.ts CHANGED
@@ -373,6 +373,19 @@ export declare const PROCEDURES_WS_CLIENT: Machine;
373
373
  */
374
374
  export declare const PROCEDURES_WS_SERVER: Machine;
375
375
  //#endregion
376
+ //#region src/proxy/caddy.d.ts
377
+ /**
378
+ * This document is Caddy 2.11.7 as an HTTP/2 proxy of gRPC, for one connection of a client. Its
379
+ * configuration is the one of the harness: one server of h1 and h2c, and `reverse_proxy` to one upstream
380
+ * of h2c. Each other option is at its default.
381
+ *
382
+ * With no stream open for 5 min, Caddy sends GOAWAY NO_ERROR, and it closes the connection 1 s later. A
383
+ * PING of the client does not reset that timer. Before the headers of a response, a failure of the
384
+ * upstream gives 502, thus UNAVAILABLE. After them, Caddy resets the stream with INTERNAL_ERROR. Caddy
385
+ * sends no PING. At SIGTERM it sends GOAWAY at once, and it waits for each stream at its defaults.
386
+ */
387
+ export declare const CADDY_HTTP2: Machine;
388
+ //#endregion
376
389
  //#region src/proxy/envoy.d.ts
377
390
  /**
378
391
  * This document is Envoy 1.39.4 as an HTTP/2 proxy of gRPC, for one connection of a client. Its static