Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-23 | test(cli): align unit test permissions with runtime test permissions (#12189) | Casper Beyer | |
2021-09-13 | fix: change assertion in httpServerIncompleteMessage test (#12052) | Bartek Iwańczuk | |
2021-09-08 | fix(ext/http): resource leak if request body is not consumed (#11955) | Bartek Iwańczuk | |
2021-09-05 | chore(std/http): server module name migration (#11890) | Craig Morten | |
2021-08-25 | chore(tests): improve unit tests using `deferred` (#11842) | David Sherret | |
2021-08-25 | fix(ext/http): websocket upgrade header check (#11830) | Dayan C. Galiazzi | |
2021-08-23 | fix(ext/http): resource leak on HttpConn.close() (#11805) | Bartek Iwańczuk | |
This commit adds tracking of resources that are related to "HttpConn" so they can be closed automatically when closing the connection. | |||
2021-08-16 | test(ext/http): add test for incomplete HTTP message and fix resource leak ↵ | Bartek Iwańczuk | |
(#11717) This commit adds a test case for "Http: connection closed before message completed" error as well as fixing an edge with resource leak when the error is raised. | |||
2021-08-13 | fix(ext/http): remove unwrap() when HTTP conn errors (#11674) | Bartek Iwańczuk | |
2021-08-11 | chore: move test files to testdata directory (#11601) | David Sherret | |
2021-08-09 | fix(websocket): allow any close code for server (#11614) | Leo K | |
2021-08-05 | refactor(cli/tests): remove unnecessary void return types (#11577) | Leo K | |
2021-07-28 | BREAKING(unstable): Rename Deno.WebSocketUpgrade::websocket to socket (#11542) | Nayeem Rahman | |
2021-07-24 | fix(http): support multiple options in connection header for websocket (#11505) | Pavel Hrách | |
Fixes #11494 | |||
2021-07-22 | fix(http/ws): case insensitive connection header (#11489) | Luca Casonato | |
The "connection" header should be case insensitive: https://datatracker.ietf.org/doc/html/rfc7230#section-6.1 | |||
2021-07-16 | fix(ext/http): correctly concat cookie headers (#11422) | Luca Casonato | |
Cookie headers should not be concatenated by commas, rather by semicolons. | |||
2021-07-08 | feat(runtime/http): server side websocket support (#10359) | Leo K | |
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com> Co-authored-by: Luca Casonato <hello@lcas.dev> | |||
2021-06-28 | fix(http): remove unwrap() in HTTP bindings (#11130) | Bartek Iwańczuk | |
2021-06-27 | fix(runtime/http): Encode and decode headers as byte strings in the HTTP ↵ | Andreu Botella | |
server (#11144) | |||
2021-06-26 | fix: specify AbortSignal for native http requests (#11126) | Luca Casonato | |
2021-06-25 | test(cli): refactor the usages of delay (#11098) | Yoshiya Hinosawa | |
This PR refactors the usages of delay utility in js unit testing. The same utiliy is defined in several places with different names. This PR replaces those usages with the one provided in std/async/delay.ts to improve the readability and consistency of test code. | |||
2021-06-14 | fix: poll connection after writing response chunk in Deno.serveHttp() (#10961) | Bartek Iwańczuk | |
This commit changes "op_http_response_write" to first send response chunk and then poll the underlying HTTP connection. Previously after writing a chunk of response HTTP connection wasn't polled and thus data wasn't written to the socket until after next op interacting with the connection. | |||
2021-06-14 | fix: hang in Deno.serveHttp() (#10923) | Bartek Iwańczuk | |
Waiting on next request in Deno.serveHttp() API hanged when responses were using ReadableStream. This was caused by op_http_request_next op that was never woken after response was fully written. This commit adds waker field to DenoService which is called after response is finished. | |||
2021-06-04 | fix: hang in op_http_next_request (#10836) | Bartek Iwańczuk | |
This commit adds "CancelHandle" to "ConnResource" and changes "op_http_next_request" to await for the cancel signal. In turn when async iterating over "Deno.HttpConn" the iterator breaks upon closing of the resource. | |||
2021-05-21 | fix(runtime/http): fix empty blob response (#10689) | Yoshiya Hinosawa | |
2021-05-19 | fix(runtime/http): expose nextRequest() errors in respondWith() (#10384) | Nayeem Rahman | |
2021-04-23 | fix(runtime/js/http): cancel body on response failure (#10225) | Nayeem Rahman | |
2021-04-19 | fix(rt/http): correct URL in Request (#10256) | Luca Casonato | |
This commit fixes the URL returned from `request.url` in the HTTP server to be fully qualified. This previously existed, but was removed and accidentially not readded during optimizations of the HTTP ops. Returning a non fully qualified URL from `Request#url` is not spec compliant. | |||
2021-04-15 | fix(#10182): hang during http server response (#10197) | Ryan Dahl | |
2021-04-12 | fix(runtime/js/http): Correctly parse user response headers (#10076) | Nayeem Rahman | |
2021-04-09 | chore: upgrade dependencies (#10094) | Bartek Iwańczuk | |
This commit upgrades: - swc_ecmascript - swc_bundler - deno_doc - deno_lint - dprint-plugin-typescript | |||
2021-04-09 | API change: Deno.startHttp -> Deno.serveHttp (#10087) | Ryan Dahl | |
2021-04-08 | feat: native HTTP bindings (#9935) | Bartek Iwańczuk | |
Co-authered-by: Luca Casonato <lucacasonato@yahoo.com> Co-authered-by: Ben Noordhuis <info@bnoordhuis.nl> Co-authered-by: Ryan Dahl <ry@tinyclouds.org> |