sam-lc

Results 2 comments of sam-lc

``` func NewGobCodec(conn io.ReadWriteCloser) Codec { buf := bufio.NewWriter(conn) return &GobCodec{ conn: conn, buf: buf, dec: gob.NewDecoder(conn), enc: gob.NewEncoder(buf), } } ``` 秒啊enc使用新的buffer,我一开始没注意使用的gob.NewEncoder(conn),导致可能会Option和header一起传过去,就会导致用body的解析为header就报错了

I have the same problem. Is any solution?