Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit028a4ed

Browse files
authored
chore: Add flusher to make implement http.Flusher interface (#4255)
1 parent6d2b7ea commit028a4ed

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎coderd/tracing/status_writer_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,9 @@ type hijacker struct {
127127
func (hijacker)Hijack() (net.Conn,*bufio.ReadWriter,error) {
128128
returnnil,nil,xerrors.New("hijacked")
129129
}
130+
131+
func (hhijacker)Flush() {
132+
iff,ok:=h.ResponseWriter.(http.Flusher);ok {
133+
f.Flush()
134+
}
135+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp