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 1 commit into from Feb 6, 2016
Changes from all commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.


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)
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.