Skip to content

Commit

Permalink
Setting forwarded content for CommandListener afterCommand handler. F…
Browse files Browse the repository at this point in the history
…ixes issue 7443

Signed-off-by: Alexei Barantsev <[email protected]>
  • Loading branch information
ediweissmann authored and barancev committed Jun 28, 2014
1 parent 203090c commit 2ed5916
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions java/server/src/org/openqa/grid/internal/TestSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ public String forward(SeleniumBasedRequest request, HttpServletResponse response

final byte[] bytes = drainInputStream(in);
writeRawBody(response, bytes);
contentBeingForwarded = bytes;

} finally {
EntityUtils.consume(responseBody);
Expand Down

0 comments on commit 2ed5916

Please sign in to comment.