1. Sebastian Sdorra
  2. scm-manager

Commits

Sebastian Sdorra  committed 8c206f3

write header before getOutputStream is called

  • Participants
  • Parent commits 3fb0103
  • Branches issue-192

Comments (0)

Files changed (1)

File scm-webapp/src/main/java/sonia/scm/web/cgi/DefaultCGIExecutor.java

View file
       processErrorStreamAsync(process);
       processServletInput(process);
       processIS = process.getInputStream();
+      parseHeaders(processIS);
       servletOS = response.getOutputStream();
-      parseHeaders(processIS);
 
       long content = ByteStreams.copy(processIS, servletOS);