- 02 2月, 2021 6 次提交
-
-
由 Joe Previte 提交于
-
由 Anmol Sethi 提交于
Fix body proxying, redirect proxying and add tests
-
由 Anmol Sethi 提交于
Closes #2377
-
由 Anmol Sethi 提交于
Any json or urlencoded request bodies were being consumed by body-parser before they could be proxied. That's why requests without Content-Type were proxied correctly as body-parser would not consume their body. This allows the http-proxy package to passthrough the request body correctly in all instances. Closes #2377
-
由 Anmol Sethi 提交于
This breaks --proxy-path-passthrough However, we still need this when that code is disabled as many apps will issue absolute redirects and expect the proxy to rewrite as appropriate. e.g. Go's http.Redirect will rewrite relative redirects as absolute! See https://golang.org/pkg/net/http/#Redirect
-
由 Anmol Sethi 提交于
See my comments at https://github.com/cdr/code-server/pull/2563#issuecomment-763394741
-
- 01 2月, 2021 2 次提交
-
-
由 Anmol Sethi 提交于
-
由 Anmol Sethi 提交于
Caddy has new installation instructions for Debian. Closes #2599
-
- 29 1月, 2021 2 次提交
-
-
由 Joe Previte 提交于
doc/ipad.md: add ctrl c workaround
-
由 Joe Previte 提交于
doc/ipad.md: add install pwa
-
- 27 1月, 2021 4 次提交
-
-
由 Dean Sheather 提交于
Send 'loaded' event to all parent origins
-
由 Dean Sheather 提交于
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
- 26 1月, 2021 4 次提交
-
-
由 Joe Previte 提交于
refactor(tests): migrate from mocha to jest
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
- 23 1月, 2021 1 次提交
-
-
由 Joe Previte 提交于
-
- 22 1月, 2021 10 次提交
-
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
Modify the tsconfig.json in lib/vscode/src/build. This adds the flag skipLibCheck: true to tell TypeScript to not type-check the declaration files at build time. We need to add this because otherwise it checks the declaration files and reports an error of duplicate type definitions because we use Jest for our tests and they use Mocha and they both use the global namespace "test" in their .d.ts files.
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
- 21 1月, 2021 1 次提交
- 20 1月, 2021 10 次提交
-
-
由 Anmol Sethi 提交于
pathProxy.ts: Implement --proxy-path-passthrough
-
由 Anmol Sethi 提交于
This had me very confused for quite a while until I did a binary search inspection on route/index.ts. Only with the heart.beat line commented out did my tests pass without leaking. They weren't leaking fds but just this heartbeat timer and node of course prints just fds that are active when it detects some sort of leak I guess and that made the whole thing very confusing. These fds are not leaked and will close when node's event loop detects there are no more callbacks to run. no of handles 3 tcp stream { fd: 20, readable: false, writable: true, address: {}, serverAddr: null } tcp stream { fd: 22, readable: false, writable: true, address: {}, serverAddr: null } tcp stream { fd: 23, readable: true, writable: false, address: {}, serverAddr: null } It kept printing the above text again and again for 60s and then the test binary times out I think. I'm not sure if it was node printing the stuff above or if it was a mocha thing. But it was really confusing... cc @code-asher for thoughts on what was going on. edit: It was the leaked-handles import in socket.test.ts!!! Not sure if we should keep it, this was really confusing and misleading.
-
由 Anmol Sethi 提交于
-
由 Anmol Sethi 提交于
-
由 Anmol Sethi 提交于
-
由 Anmol Sethi 提交于
-
由 Anmol Sethi 提交于
cc @code-asher
-
由 Anmol Sethi 提交于
-
由 Anmol Sethi 提交于
The goal is to remove supertest as it does not support typescript well and there's really no good reason for the dependency. Also no websocket testing support.
-
由 Anmol Sethi 提交于
-