Skip to content
This repository has been archived by the owner. It is now read-only.

Provide more information for malformed calls to host #976

Merged
merged 1 commit into from Feb 6, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -78,7 +78,7 @@ func (h *Host) threadedHandleConn(conn net.Conn) {
}
unrecognizedCalls := atomic.LoadUint64(&h.atomicUnrecognizedCalls)
if unrecognizedCalls < 1e3 || (unrecognizedCalls > 1e3 && randInt == 0) {
h.log.Printf("WARN: incoming conn %v was malformed", conn.RemoteAddr())
h.log.Printf("WARN: incoming conn %v was malformed: %v", conn.RemoteAddr(), err)
}
return
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.