mirror of https://github.com/gorilla/websocket.git
add: comment
This commit is contained in:
parent
a8d45c1b96
commit
62bb07b760
|
@ -201,7 +201,12 @@ func (w *flateTakeoverWriteWrapper) Close() error {
|
||||||
// modules for compression context takeover
|
// modules for compression context takeover
|
||||||
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