1. 08 Mar, 2023 1 commit
  2. 07 Mar, 2023 1 commit
  3. 05 Mar, 2023 1 commit
  4. 02 Mar, 2023 1 commit
  5. 01 Mar, 2023 3 commits
  6. 28 Feb, 2023 2 commits
  7. 27 Feb, 2023 15 commits
  8. 24 Feb, 2023 2 commits
  9. 17 Feb, 2023 13 commits
  10. 15 Feb, 2023 1 commit
    • Xavier Thompson's avatar
      proxy: Fix forwarded answer of unready request · 88260036
      Xavier Thompson authored
      When forwarding a request to an external master, e.g. frontend request,
      the master might first answer with status code 408 to indicate the
      requested resource is not ready.
      
      The slap library wraps the answer into a ComputerPartition object, even
      when the master sends 408: in that case the object only contains the
      parameters of the original request.
      
      Until now, when the external master answered 408, the proxy simply
      forwarded the ComputerPartition object returned by the slap library
      with code 200, instead of forwarding code 408.
      
      This played against the assumptions of the slap library in the client
      on the receiving end, resulting in a crash. This was the case even when
      using `requestoptional` recipe in buildout.
      
      Now the proxy detects when the object returned by the slap library is
      actually the result of a 408 answer, and aborts with code 408.
      88260036