diff options
| author | Luca Casonato <hello@lcas.dev> | 2021-07-22 12:28:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-22 12:28:46 +0200 |
| commit | 78fc9a4c600d28bf4c899695076f0bce159fb7a6 (patch) | |
| tree | 9277a4dbf79c5d7205d25c44cff70b1e4212dbff /runtime | |
| parent | 7d151efc683e512386e4ad95bc01259b536d28fc (diff) | |
fix: support --cert flag for tls connect APIs (#11484)
Diffstat (limited to 'runtime')
| -rw-r--r-- | runtime/build.rs | 2 | ||||
| -rw-r--r-- | runtime/web_worker.rs | 5 | ||||
| -rw-r--r-- | runtime/worker.rs | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/runtime/build.rs b/runtime/build.rs index 8c5772c67..0d1cf3bce 100644 --- a/runtime/build.rs +++ b/runtime/build.rs @@ -59,7 +59,7 @@ fn create_runtime_snapshot(snapshot_path: &Path, files: Vec<PathBuf>) { deno_broadcast_channel::InMemoryBroadcastChannel::default(), false, // No --unstable. ), - deno_net::init::<deno_net::NoNetPermissions>(false), // No --unstable. + deno_net::init::<deno_net::NoNetPermissions>(None, false), // No --unstable. deno_http::init(), ]; diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs index acafb086b..bcbf71692 100644 --- a/runtime/web_worker.rs +++ b/runtime/web_worker.rs @@ -332,7 +332,10 @@ impl WebWorker { vec