mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2024-12-22 14:26:31 +00:00
Merge pull request #140 from LiquidTheDangerous/fix-nilpointer-deref/main
This commit is contained in:
commit
3bdf24ca8a
@ -63,7 +63,7 @@ func (pxy *Proxy) Start() {
|
||||
go func() {
|
||||
pkt, err := packet.ReadHttpPacket(conn)
|
||||
if err != nil {
|
||||
log.Debug("[PROXY] Error while parsing request: ", string(pkt.Raw()))
|
||||
log.Debug("[PROXY] Error while parsing request: ", err)
|
||||
conn.Close()
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user