mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2025-01-03 04:50:11 +00:00
fix log format on error parsing request
This commit is contained in:
parent
742794f43e
commit
69fba6da37
@ -49,8 +49,7 @@ func (p *Proxy) Start() {
|
|||||||
|
|
||||||
pkt, err := packet.NewHttpPacket(b)
|
pkt, err := packet.NewHttpPacket(b)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Debug("Error while parsing request")
|
log.Debug("Error while parsing request: ", string(b))
|
||||||
log.Println(b)
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user