Skip to content

Commit c8243f5

Browse files
author
Mikhail Podtserkovskiy
committed
fix panic on new session creation
1 parent c008bbc commit c8243f5

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)