Luca Casonato
1fb2e23a67
feat(fetch): implement abort ( #10863 )
...
This commit introduces fetch aborting via an AbortSignal.
2021-06-06 15:37:17 +02:00
Yoshiya Hinosawa
4a9b40b717
fix(runtime/http): fix empty blob response ( #10689 )
2021-05-21 10:11:53 +09:00
Nayeem Rahman
b43b639f45
fix(runtime/http): expose nextRequest() errors in respondWith() ( #10384 )
2021-05-19 21:39:52 +09:00
Yusuke Tanaka
cda09c166f
chore: update deno_lint binary used in CI to v0.5.0 ( #10652 )
2021-05-18 17:24:01 +02:00
Nayeem Rahman
8a416a5ba2
fix(runtime/js/http): cancel body on response failure ( #10225 )
2021-04-23 12:34:04 +02:00
Luca Casonato
9e6cd91014
chore: align fetch to spec ( #10203 )
...
This commit aligns the `fetch` API and the `Request` / `Response`
classes belonging to it to the spec. This commit enables all the
relevant `fetch` WPT tests. Spec compliance is now at around 90%.
Performance is essentially identical now (within 1% of 1.9.0).
2021-04-20 14:47:22 +02:00
Ryan Dahl
fe9cee620a
fix( #10182 ): hang during http server response ( #10197 )
2021-04-15 18:48:56 -04:00
Aaron O'Mullan
83f6d4bf94
perf(js/http): avoid v8 deopt in async iterator ( #10160 )
2021-04-14 07:56:14 -04:00
Nayeem Rahman
df49a8462c
fix(cli/dts): Make respondWith() return a Promise ( #10128 )
2021-04-13 07:41:47 -04:00
Luca Casonato
dabce813e0
perf: lazy header instantiation for HTTP requests ( #10150 )
...
This commit introduces a performance optimization for the native HTTP
server. From my testing it is about 2-6% faster than `main`. Request
headers in the HTTP servers are now lazilly instatated when they are
accessed, rather than being preemptively wrapped in the `Headers` class.
2021-04-13 02:46:33 +02:00
Aaron O'Mullan
46b1c653c0
refactor(deno): remove concept of bin & json ops ( #10145 )
2021-04-12 15:55:05 -04:00
Nayeem Rahman
a20504642d
fix(runtime/js/http): Correctly parse user response headers ( #10076 )
2021-04-12 10:24:45 -04:00
Ryan Dahl
c6e7a243d5
API change: Deno.startHttp -> Deno.serveHttp ( #10087 )
2021-04-09 11:54:27 -04:00
Bartek Iwańczuk
70af812876
feat: native HTTP bindings ( #9935 )
...
Co-authered-by: Luca Casonato <lucacasonato@yahoo.com>
Co-authered-by: Ben Noordhuis <info@bnoordhuis.nl>
Co-authered-by: Ryan Dahl <ry@tinyclouds.org>
2021-04-08 18:34:15 -04:00