Merge pull request #373 from tsandall/master
Fix delegator return value for single hijacker
This commit is contained in:
commit
ebe4271dac
|
@ -115,7 +115,7 @@ func init() {
|
|||
}{d, &flusherDelegator{d}, &closeNotifierDelegator{d}}
|
||||
}
|
||||
pickDelegator[hijacker] = func(d *responseWriterDelegator) delegator { // 4
|
||||
return hijackerDelegator{d}
|
||||
return &hijackerDelegator{d}
|
||||
}
|
||||
pickDelegator[hijacker+closeNotifier] = func(d *responseWriterDelegator) delegator { // 5
|
||||
return struct {
|
||||
|
|
Loading…
Reference in New Issue