1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/cli
Yusuke Sakurai 22f88b9f37
fix: [http] Consume unread body and trailers before reading next request (#3990)
- Added `ServerRequest.finalize()`:  consuming all unread body stream and trailers.
  - This is cleanup method for reading next request from same keep-alive connection.
  - Needed when handler didn't consume all body and trailers even after responding.
- refactor: `ServerRequest._bodyStream()`, `ServerRequestBody` are removed.
  - Now using `bodyReader()` and `chunkedBodyReader()` instead.
- fix: Trailers should only be read `transfer-encoding` is `chunked` and `trailer` header is set and its value is valid.
- fix: use `Headers.append()` on reading trailers.
- fix: delete `trailer` field from headers after reading trailers.
- reorg: Several functions related to IO are moved into `http/io.ts`
2020-02-24 22:49:39 -05:00
..
compilers refactor: use OpError instead of ErrBox for errors in ops (#4058) 2020-02-23 14:51:29 -05:00
js Add Deno.Err change missing from previous commit (#4113) 2020-02-24 16:36:12 -05:00
ops feat: Add Deno.formatDiagnostics (#4032) 2020-02-24 14:48:14 -05:00
tests port tools/repl_test.py to Rust (#4096) 2020-02-24 17:49:40 -05:00
build.rs Support loading additional TS lib files (#3863) 2020-02-19 00:34:11 -05:00
Cargo.toml Remove ansi_term dependency (#4116) 2020-02-24 19:30:17 -05:00
checksum.rs feat: lockfiles (#3231) 2019-11-03 10:39:27 -05:00
colors.rs Remove ansi_term dependency (#4116) 2020-02-24 19:30:17 -05:00
deno_dir.rs refactor: rewrite HTTP cache for file fetcher (#4030) 2020-02-19 08:17:13 -05:00
diagnostics.rs feat: Add Deno.formatDiagnostics (#4032) 2020-02-24 14:48:14 -05:00
disk_cache.rs Do not panic and improve error message on cache failure (#3784) 2020-01-24 17:16:31 -05:00
file_fetcher.rs refactor: use OpError instead of ErrBox for errors in ops (#4058) 2020-02-23 14:51:29 -05:00
flags.rs feat: add --cert flag for http client (#3972) 2020-02-17 11:59:51 -05:00
fmt.rs refactor: use OpError instead of ErrBox for errors in ops (#4058) 2020-02-23 14:51:29 -05:00
fmt_errors.rs workers: minimal error handling and async module loading (#3665) 2020-01-17 18:43:53 -05:00
fs.rs refactor: use OpError instead of ErrBox for errors in ops (#4058) 2020-02-23 14:51:29 -05:00
global_state.rs refactor: use OpError instead of ErrBox for errors in ops (#4058) 2020-02-23 14:51:29 -05:00
global_timer.rs Happy new year! (#3578) 2020-01-02 15:13:47 -05:00
http_cache.rs refactor: rewrite HTTP cache for file fetcher (#4030) 2020-02-19 08:17:13 -05:00
http_util.rs refactor: use OpError instead of ErrBox for errors in ops (#4058) 2020-02-23 14:51:29 -05:00
import_map.rs update references to testing/mod.ts in manual (#3973) 2020-02-11 21:50:20 +01:00
installer.rs feat: add --cert flag for http client (#3972) 2020-02-17 11:59:51 -05:00
js.rs workers: proper TS libs, more spec-compliant APIs (#3812) 2020-01-29 18:54:23 +01:00
lib.rs Remove ansi_term dependency (#4116) 2020-02-24 19:30:17 -05:00
lockfile.rs feat: lockfiles (#3231) 2019-11-03 10:39:27 -05:00
main.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
metrics.rs refactor: Remove atomics from metrics (#3968) 2020-02-11 17:23:40 +01:00
msg.rs refactor: remove unneeded ErrorKinds (#3936) 2020-02-21 10:36:13 -05:00
op_error.rs refactor: use OpError instead of ErrBox for errors in ops (#4058) 2020-02-23 14:51:29 -05:00
permissions.rs Remove ansi_term dependency (#4116) 2020-02-24 19:30:17 -05:00
README.md update readmes (#3765) 2020-01-23 22:32:52 +01:00
repl.rs refactor: use OpError instead of ErrBox for errors in ops (#4058) 2020-02-23 14:51:29 -05:00
resolve_addr.rs refactor: use OpError instead of ErrBox for errors in ops (#4058) 2020-02-23 14:51:29 -05:00
signal.rs refactor: use OpError instead of ErrBox for errors in ops (#4058) 2020-02-23 14:51:29 -05:00
source_maps.rs Remove //tests symlink (#3849) 2020-02-02 16:55:22 -05:00
startup_data.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
state.rs refactor: use OpError instead of ErrBox for errors in ops (#4058) 2020-02-23 14:51:29 -05:00
test_runner.rs fix: [http] Consume unread body and trailers before reading next request (#3990) 2020-02-24 22:49:39 -05:00
test_util.rs feat: add --cert flag for http client (#3972) 2020-02-17 11:59:51 -05:00
tokio_util.rs workers: basic event loop (#3828) 2020-02-11 10:04:59 +01:00
version.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
web_worker.rs fix: add io ops to worker to fix fetch (#4054) 2020-02-21 10:35:41 -05:00
worker.rs feat: Deno.fsEvents() (#3452) 2020-02-21 13:21:51 -05:00

Deno CLI Crate

crates docs

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

The deno crate uses the deno_core and deno_typescript to provide the executable.