mirror of https://github.com/gorilla/websocket.git
add: comment
This commit is contained in:
parent
a8d45c1b96
commit
62bb07b760
|
@ -202,6 +202,11 @@ func (w *flateTakeoverWriteWrapper) Close() error {
|
||||||
type (
|
type (
|
||||||
contextTakeoverReaderFactory struct {
|
contextTakeoverReaderFactory struct {
|
||||||
fr io.ReadCloser
|
fr io.ReadCloser
|
||||||
|
|
||||||
|
// this window is used in compress/flate.decompressor.
|
||||||
|
// since there is no interface for updating the dictionary in the structure,
|
||||||
|
// window is rewritten with this structure.
|
||||||
|
// although there is a Reset(), it becomes initialization of a dictionary.
|
||||||
window []byte
|
window []byte
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue