Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 8月 20, 2020
  2. 8月 06, 2020
  3. 6月 03, 2020
    • Nick Thomas's avatar
      Test the behaviour of SendURL with less-common upstreams · c21c2cbf
      Nick Thomas 创作于
      Two cases in particular, lacking a `Content-Type`,  gave us trouble:
      
      * Transfer-Encoding: chunked
      * No content-type and no transfer-encoding
      
      Both of these are permitted by the HTTP RFC (cases 3 and 7), and we
      can talk to arbitrary HTTP servers via sendurl, so it's imperative that
      we handle them correctly. This commit adds tests for both cases.
      
      Responses of the latter type are transparently converted to responses
      of the former type. This is an automatic behaviour of the Go stdlib,
      which doesn't really support making the second type of response
      directly. Since Transfer-Encoding is a hop-by-hop header, this type of
      encoding is extremely common, and we're still streaming, instead of
      accumulating, the data, I think this is acceptable.
      c21c2cbf
  4. 5月 19, 2020
    • Sami Hiltunen's avatar
      delay PostUploadPack response until request is fully read · 2fe99f66
      Sami Hiltunen 创作于
      Git and Gitaly stream upload-pack response data as soon as it is
      available. Some HTTP clients do not support the response being streamed
      back while the server is still reading from the request body. To avoid
      this, the request was buffered in to a temporary file before passing it
      to Gitaly for handling. The buffer had a maximum size of 10MB, which is
      now reached by requests to large repositories. These requests were then
      truncated, causing Git to fail.
      
      This commit fixes the problem by removing the request buffering and the
      maximum size. Instead, the response is buffered in to a temporary file
      until the request body is fully read, thus avoiding the problem of
      streaming the request and the response simultaneously.
      2fe99f66
  5. 9月 30, 2019
  6. 8月 12, 2019
  7. 7月 24, 2019
  8. 6月 25, 2019
  9. 4月 10, 2019
    • Stan Hu's avatar
      Remove duplicate X-Request-Id response header · d44f2fb6
      Stan Hu 创作于
      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
  10. 2月 01, 2019
  11. 1月 10, 2019
    • Zeger-Jan van de Weg's avatar
      Update Gitaly to v0.124.0 · 87f1189b
      Zeger-Jan van de Weg 创作于
      This is a version than includes the new gitaly-proto, which has the
      package name changed. Now gitalypb is used everywhere. The client of
      Gitaly is updated too, as only one proto definition can register a type.
      87f1189b
  12. 12月 11, 2018
  13. 12月 10, 2018
  14. 11月 21, 2018
  15. 10月 19, 2018
  16. 10月 18, 2018
  17. 8月 23, 2018
  18. 8月 01, 2018
  19. 7月 31, 2018
  20. 4月 09, 2018
  21. 3月 02, 2018
  22. 2月 05, 2018
  23. 9月 22, 2017
  24. 8月 16, 2017
  25. 6月 28, 2017
  26. 6月 20, 2017
  27. 6月 09, 2017
  28. 5月 26, 2017
  29. 4月 18, 2017
  30. 4月 10, 2017
  31. 4月 05, 2017
  32. 4月 04, 2017
  33. 4月 03, 2017
  34. 3月 31, 2017
  35. 3月 30, 2017
  36. 3月 24, 2017
加载中