- 13 Jan, 2017 6 commits
-
-
Stan Hu authored
-
Stan Hu authored
-
Stan Hu authored
-
Stan Hu authored
-
Stan Hu authored
-
Stan Hu authored
For fetches over HTTP, Workhorse executes git-upload-pack and first attempts to send all the input data to stdin before reading from the stdout pipe. However, when the payload is large, the stdout pipe may fill up, causing git-upload-pack to stop reading from stdin. Workhorse will then be deadlocked, since it will be waiting to send more data to a buffer that will never be drained. An addition side effect is that git-upload-pack processes also get left around. These processes are cleaned up only after Workhorse is restarted. This fix modifies the git-upload-pack behavior to consume the entire HTTP input first so that reading the data from stdout and sending the reply can be performed in a separate Goroutine. Closes #92 Closes gitlab-org/gitlab-ce#25916 Closes gitlab-com/infrastructure#941
-
- 12 Jan, 2017 2 commits
-
-
Nick Thomas authored
Proxy GET /info/refs to Gitaly See merge request !105
-
Ahmad Sherif authored
-
- 04 Jan, 2017 3 commits
-
-
Nick Thomas authored
Catch _all_ multipart NextPart() errors Closes #89 See merge request !108
-
Nick Thomas authored
Replace 'gitlab_workhorse_artifacts_upload_*' with labeled version of 'gitlab_workhorse_multipart_upload_*' Closes #88 See merge request !106
-
Nick Thomas authored
Set correct value of X-Forwarded-For header in PreAuthorize request Closes #82 See merge request !104
-
- 03 Jan, 2017 2 commits
-
-
Tomasz Maczukin authored
Replace 'gitlab_workhorse_artifacts_upload_*' with labeled version of 'gitlab_workhorse_multipart_upload_*'
-
Jacob Vosmaer authored
-
- 02 Jan, 2017 1 commit
-
-
Adam Niedzielski authored
-
- 20 Dec, 2016 4 commits
-
-
Jacob Vosmaer (GitLab) authored
Version 1.2.1 changelog See merge request !103
-
Jacob Vosmaer authored
-
Jacob Vosmaer (GitLab) authored
Add CI related requests metrics This MR adds some metrics for CI related requests. Related to gitlab-org/gitlab-ce/#23366, gitlab-com/infrastructure#583 See merge request !97
-
Nick Thomas authored
Prometheus metrics for multipart file extraction See merge request !100
-
- 19 Dec, 2016 3 commits
-
-
Nick Thomas authored
API improvements: buffering, metrics Following discussion in https://gitlab.com/gitlab-org/gitlab-workhorse/merge_requests/94 This closes a hole in our Unicorn response buffering. The responses should be small, hence buffering in-memory. See merge request !102
-
Nick Thomas authored
Stop leaking error messages in 502 responses Closes https://gitlab.com/gitlab-org/gitlab-workhorse/issues/72 See merge request !101
-
Tomasz Maczukin authored
-
- 16 Dec, 2016 7 commits
-
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
-
Nick Thomas authored
Add "make release" script See merge request !99
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
-
- 15 Dec, 2016 5 commits
-
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
-
Jacob Vosmaer (GitLab) authored
Version 1.2.0 See merge request !98
-
Jacob Vosmaer authored
-
Jacob Vosmaer (GitLab) authored
Accelerate multipart file uploads for all requests Companion to https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5867 Extends the upload mechanism for CI artifacts to all multipart file uploads. See merge request !58
-
- 14 Dec, 2016 1 commit
-
-
Jacob Vosmaer authored
-
- 13 Dec, 2016 1 commit
-
-
Tomasz Maczukin authored
-
- 12 Dec, 2016 2 commits
-
-
Tomasz Maczukin authored
-
Tomasz Maczukin authored
-
- 09 Dec, 2016 3 commits
-
-
Tomasz Maczukin authored
-
Tomasz Maczukin authored
-
Jacob Vosmaer (GitLab) authored
Handle environments/:id/terminal.ws, providing access to terminal websockets A GitLab environment may expose a terminal connection for out-of-band access. Workhorse is responsible for providing a websocket connection to the terminal if present. It authenticates the user and retrieves connection details from GitLab using the environments/:id/terminal.ws/authorize endpoint, and sets up a proxy to the terminal provider, converting from the remote's subprotocol to a common format. Authentication is periodically re-done, and the connection will be broken if it fails, or if the connection details change in any way. This MR includes support for the `channel.k8s.io` websocket subprotocol, allowing connections to be made to Kubernetes / OpenShift containers. Based on top of (some of) !72 Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/22864 See merge request !83
-