Commit 524a6e5
SQC-652 Implement Hyperdrive binding TLS miniflare proxy. This will (#11219)
allow for wrangler dev hyperdrive bindings to connect to external
databases that require TLS.
- Supports upgrading TLS connection to database by setting
sslmode=prefer or sslmode=require or sslmode=disable in
localConnectionString
- Default sslmode is disable
- Adds integration tests to miniflare test suite
Co-authored-by: Adrian Gracia <agracia@cloudflare.com>1 parent 1674958 commit 524a6e5
File tree
11 files changed
+890
-73
lines changed- .changeset
- fixtures/vitest-pool-workers-examples/hyperdrive
- src
- packages
- miniflare/src
- plugins
- hyperdrive
- wrangler
- e2e
- helpers
- src/__tests__/api/startDevWorker
11 files changed
+890
-73
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | | - | |
| 12 | + | |
9 | 13 | | |
10 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
11 | 24 | | |
12 | 25 | | |
13 | 26 | | |
| |||
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
9 | 16 | | |
10 | 17 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
948 | 949 | | |
949 | 950 | | |
950 | 951 | | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
951 | 955 | | |
952 | 956 | | |
953 | 957 | | |
| |||
1720 | 1724 | | |
1721 | 1725 | | |
1722 | 1726 | | |
| 1727 | + | |
1723 | 1728 | | |
1724 | 1729 | | |
1725 | 1730 | | |
| |||
2689 | 2694 | | |
2690 | 2695 | | |
2691 | 2696 | | |
| 2697 | + | |
| 2698 | + | |
| 2699 | + | |
2692 | 2700 | | |
2693 | 2701 | | |
2694 | 2702 | | |
| |||
0 commit comments