Skip to content

Commit ff181d6

Browse files
author
Mikhail Podtserkovskiy
authored
Merge pull request #42 from qa-dev/fix_panic_on_new_session_creation
fix panic on new session creation
2 parents c008bbc + c8243f5 commit ff181d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxy/response.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func (rw *ResponseWriter) Write(bytes []byte) (int, error) {
2626
}
2727
rw.Output = append(rw.Output, bytes...)
2828

29-
return 0, nil
29+
return len(bytes), nil
3030
}
3131

3232
func (rw *ResponseWriter) WriteHeader(i int) {

0 commit comments

Comments
 (0)