deno/cli
Aaron O'Mullan 3c88dffd32
fix(http): panic when responding to a closed conn (#12216)
Our oneshot receiver in `HyperService::call` would unwrap and panic, the `.await` on the oneshot receiver happens when the sender is dropped.

The sender is dropped in `op_http_response` because:
1. We take `ResponseSenderResource`
2. Then get `ConnResource` and early exit on failure (conn already closed)
3. The taken sender then gets dropped in this early exit before any response is sent over the channel

Fallbacking to returning a dummy response to hyper seems to be a fine quickfix
2021-09-25 13:22:19 +02:00
..
ast fix(cli): better handling of source maps (#11954) 2021-09-08 14:05:34 +10:00
bench bench(deno_common): track new Request() (#12164) 2021-09-21 12:34:27 +02:00
dts docs: fix native http jsdoc examples (#12207) 2021-09-24 19:14:12 +09:00
lsp refactor: Rename ProgramState to ProcState (#12204) 2021-09-24 11:10:42 -04:00
ops refactor: Rename ProgramState to ProcState (#12204) 2021-09-24 11:10:42 -04:00
schemas fix(config-schema): correct default value of "lib" (#12145) 2021-09-20 11:30:00 -04:00
tests fix(http): panic when responding to a closed conn (#12216) 2021-09-25 13:22:19 +02:00
tools refactor: Rename ProgramState to ProcState (#12204) 2021-09-24 11:10:42 -04:00
tsc fix(cli): don't ignore diagnostics about for await (#12116) 2021-09-17 16:54:52 +10:00
auth_tokens.rs feat(cli): Support Basic authentication in DENO_AUTH_TOKENS (#11910) 2021-09-08 06:18:11 +02:00
build.rs fix: move unstable declarations to deno.unstable (#11876) 2021-08-31 11:25:15 +02:00
Cargo.toml 1.14.1 2021-09-22 08:44:46 +10:00
checksum.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
config_file.rs feat(fmt): add support for configuration file (#11944) 2021-09-13 20:19:10 +02:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
deno_dir.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
diagnostics.rs refactor: Remove duplicated colors.rs file (#11990) 2021-09-12 12:04:17 -04:00
diff.rs refactor: Remove duplicated colors.rs file (#11990) 2021-09-12 12:04:17 -04:00
disk_cache.rs chore: upgrade Rust to 1.54.0 (#11554) 2021-07-30 15:03:41 +02:00
errors.rs refactor: use import_map crate (#11974) 2021-09-11 03:38:24 +02:00
file_fetcher.rs refactor: Remove unused code (#12210) 2021-09-25 00:35:35 +02:00
file_watcher.rs chore: update dependencies (#11856) 2021-09-02 23:38:44 +02:00
flags.rs chore: update tagline (#12095) 2021-09-16 11:55:06 +05:30
flags_allow_net.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
fmt_errors.rs fix(cli/fmt_errors): Abbreviate long data URLs in stack traces (#12127) 2021-09-18 15:40:04 +02:00
fs_util.rs feat(cli/fmt): support more markdown extensions (#12195) 2021-09-23 21:49:25 +05:30
http_cache.rs fix(doc): fix rustdoc bare_urls warning (#11921) 2021-09-05 16:22:45 +02:00
http_util.rs feat(fetch): mTLS client certificates for fetch() (#11721) 2021-08-25 14:25:12 +02:00
info.rs refactor: Remove duplicated colors.rs file (#11990) 2021-09-12 12:04:17 -04:00
lockfile.rs remove macro_use (#9884) 2021-03-26 12:34:25 -04:00
logger.rs feat(lsp): add internal debugging logging (#10438) 2021-05-11 14:54:10 +10:00
main.rs refactor: Rename ProgramState to ProcState (#12204) 2021-09-24 11:10:42 -04:00
module_graph.rs chore: update deno_* crates (#12020) 2021-09-13 10:06:36 +10:00
module_loader.rs refactor: Remove op_state parameter (#12202) 2021-09-24 11:11:16 -04:00
proc_state.rs refactor: Rename ProgramState to ProcState (#12204) 2021-09-24 11:10:42 -04:00
README.md Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
source_maps.rs refactor: Rename ProgramState to ProcState (#12204) 2021-09-24 11:10:42 -04:00
specifier_handler.rs refactor: Rename ProgramState to ProcState (#12204) 2021-09-24 11:10:42 -04:00
standalone.rs refactor: Remove op_state parameter (#12202) 2021-09-24 11:11:16 -04:00
text_encoding.rs fix(doc): fix rustdoc bare_urls warning (#11921) 2021-09-05 16:22:45 +02:00
tokio_util.rs feat: native HTTP bindings (#9935) 2021-04-08 18:34:15 -04:00
tsc.rs refactor(lsp): use deno_ast and cache swc ASTs (#11780) 2021-09-07 10:39:32 -04:00
unix_util.rs chore: update copyright headers (#10243) 2021-04-20 14:27:36 +09:00
version.rs Remove denort optimization (#10350) 2021-04-26 13:28:38 -04:00

Deno CLI Crate

crates docs

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core to provide the executable.