An error occurred fetching the project authors.
  1. 10 Apr, 2019 1 commit
    • Stan Hu's avatar
      Remove duplicate X-Request-Id response header · d44f2fb6
      Stan Hu authored
      This fixes performance bar not working with AJAX requests.
      
      Both LabKit and Rails were injecting duplicate X-Request-Id headers into
      the response stream, which caused the frontend to be interpret the value
      as a comma-separated value (e.g. LdEgVXsp1R4, LdEgVXsp1R4).
      
      The new flow behaves as the following:
      
      1. Workhorse injects X-Request-Id to the inbound HTTP request to Rails
      2. Rails looks up this value in its RequestId middleware. Since the
      value exists, Rails sets the X-Request-Id response header to this value.
      3. Workhorse doesn't append another header in the response.
      
      Distributed tracing should still work fine because Workhorse still
      generates the correlation ID.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60111
      d44f2fb6
  2. 27 Nov, 2018 1 commit
  3. 05 Nov, 2018 1 commit
  4. 18 Oct, 2018 1 commit
  5. 23 Aug, 2018 1 commit
  6. 24 Apr, 2018 1 commit
  7. 01 Mar, 2018 1 commit
  8. 12 Jan, 2017 1 commit
  9. 16 Dec, 2016 1 commit
  10. 14 Dec, 2016 1 commit
  11. 08 Dec, 2016 1 commit
    • Nick Thomas's avatar
      Handle environments/:id/terminal.ws · fe16eae3
      Nick Thomas authored
      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.
      fe16eae3
  12. 25 Nov, 2016 1 commit
  13. 04 Oct, 2016 2 commits
  14. 29 Aug, 2016 1 commit
  15. 19 Aug, 2016 1 commit
  16. 12 Aug, 2016 1 commit
    • Jacob Vosmaer's avatar
      Hard-code backend dialer for TCP too · 0bae36ad
      Jacob Vosmaer authored
      Workhorse usually connects to Rails over a Unix socket. This makes it
      impossible to accidentally follow redirects to another host. This
      change applies the same strictness when connecting to Rails over TCP.
      0bae36ad
  17. 23 Mar, 2016 1 commit
  18. 19 Mar, 2016 1 commit
  19. 21 Jan, 2016 1 commit
  20. 13 Jan, 2016 5 commits
  21. 08 Jan, 2016 1 commit
  22. 19 Dec, 2015 9 commits
  23. 18 Dec, 2015 5 commits