25 Commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
526c95e344 Decouple ws-proxy from ws-manager 2021-11-05 10:33:03 +01:00
Manuel Alejandro de Brito Fontes
58a9e395a8 [proxy] Do not log supervisor proxy errors 2021-09-24 03:57:49 -03:00
Manuel Alejandro de Brito Fontes
f6aea008e9 [ws-proxy] Skip DNS errors when workspace is not available 2021-07-26 15:51:30 +02:00
Anton Kosyakov
ed076d77a8 [code] fix #4529: serve each webview from own origin
decoupled from workpace origin (also extension host origin)
2021-07-16 14:08:25 +05:00
Anton Kosyakov
7d0986778e [ws-proxy] tune idle connection pool
By default the connection pool is capped only by 2 connections per host.
If a client tries to open many connections then latency increased significantly,
see https://stackoverflow.com/a/60114945/961588.
This commit configures the connection pool be unlimited but capped by 100 connections per host.
It was inspired by measurement in Caddy: https://github.com/caddyserver/caddy/issues/2805
2021-06-14 08:52:43 +05:00
Manuel Alejandro de Brito Fontes
d3ebfd454b Update golangci-lint 2021-05-11 07:15:24 -04:00
Anton Kosyakov
92cdef090c [blobserve] enable long term caching only on success 2021-04-07 16:15:15 +02:00
Manuel Alejandro de Brito Fontes
2b6a56bc40 Update go imports 2021-03-02 06:37:49 -03:00
Gero Posmyk-Leinemann
fe3a018ea4
[self-hosted] Fix various issues around blobserve+ path based workspace access (#2666)
* [theia] Load main.js relative to support path based ws access

* [ws-proxy] Fix pathBasedTheiaRouter: workspaceID parsing

* [ide] Fix workspaceID reading/parsing issues

* [docs] self-hosted: Minor fixes

* [chart] values.yaml: remove forceHTTPS

* [review] Feedback
2021-01-05 15:49:57 +01:00
Christian Weichel
b7dda84ad0 [license] Update license header from TypeFox GmbH to Gitpod GmbH 2021-01-04 15:12:02 +01:00
Gero Posmyk-Leinemann
1f138c2804 [ws-proxy] Introduce withXFrameOptionsFilter on workspace ports 2020-11-27 14:56:04 +01:00
Gero Posmyk-Leinemann
24b559760e [ws-proxy] Allow multiple responseHandlers 2020-11-27 14:56:04 +01:00
Anton Kosyakov
165455821f [ws-proxy] handle blobserve errors gracefully 2020-11-09 10:11:54 +01:00
Anton Kosyakov
cca0c84d7e fix #2119: only use permament redirects for IDE image 2020-11-09 10:11:54 +01:00
Christian Weichel
bfa0fa519c [ws-proxy] Properly pass on 404 errors on port routes
Fixes gitpod-io/gitpod#2124
2020-11-05 13:17:56 +01:00
Christian Weichel
d63394882c [ws-proxy] Use default reverse proxy for websocket connections 2020-11-05 13:17:56 +01:00
Christian Weichel
a54b556e2e [ws-proxy] Respect error handler during target resolution 2020-11-04 12:54:15 +01:00
Anton Kosyakov
966c8e8340 bump up code to use latest ports APIs 2020-11-04 05:50:23 +01:00
Anton Kosyakov
f0c2b9faf9 [ws-proxy] enable loggin and disable compression for port locations
First is helpful, second is correct and enabled server side events.
2020-11-04 05:50:23 +01:00
Anton Kosyakov
70d2aa85fe fix #1984: blobserve caching across workspaces 2020-10-14 15:51:26 +02:00
Christian Weichel
164fc5e9f5 [ws-proxy] Properly handle supervisor proxy-pass errors 2020-10-05 09:33:11 +02:00
Anton Kosyakov
7fc7fbd828 [supervisor/frontend] support loading screen 2020-09-14 10:01:00 +02:00
Anton Kosyakov
da278d55ba [ide/code] initial image
Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
2020-09-14 10:01:00 +02:00
Christian Weichel
6cb7b610d2 [ws-proxy] Proxy pass static IDE assets from registry-facade's blobserve
/werft https
/werft ws-feature-flags=registry_facade
2020-09-04 14:12:06 +02:00
gitpod-init
24f7b609bf initial commit 2020-08-25 09:25:15 +00:00