Commit 99a2899
authored
To communicate between our runtime and language runtimes, we use a Unix
Domain Socket for ICP. We currently open a Unix Domain Socket via a file
descriptor `VERCEL_IPC_FD`, but not all runtimes that we want to support
(e.g. Bun & Deno) support that.
To easily support any language runtime, we're moving to
`VERCEL_IPC_PATH` to let the runtime directly connect to the given IPC
socket, instead of opening it via a FD.
We need to support both ways right now:
- merge this PR that still supports the old way
- enable the new `VERCEL_IPC_PATH` behavior in our runtime
- delete the old `VERCEL_IPC_FD` in the Python runtime
1 parent c11c355 commit 99a2899
2 files changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | 39 | | |
42 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
| |||
0 commit comments