Merge pull request #140 from LiquidTheDangerous/fix-nilpointer-deref/main

This commit is contained in:
xvzc 2024-08-14 22:57:37 +09:00 committed by GitHub
commit 3bdf24ca8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
}