added charsets support

This commit is contained in:
hypafrag
2018-10-13 19:45:48 +07:00
parent 95585866c2
commit 3a51dce786
2 changed files with 6 additions and 1 deletions

View File

@@ -82,6 +82,7 @@ func (s *Session) setProxy(conn net.Conn, newConn net.Conn, o Config) {
s.socketProxy = newSocketProxy(newConn, o.PacketLogger)
}
s.decoder = xml.NewDecoder(s.socketProxy)
s.decoder.CharsetReader = o.CharsetReader
}
func (s *Session) open(domain string) (f streamFeatures) {