Opened 14 years ago

Closed 14 years ago

Last modified 9 years ago

#235 closed defect (fixed)

Server reports error Cannot resolve socket peer IP ... peer=0.0.0.0

Reported by: rainer Owned by: rainer
Priority: major Milestone: 2.8.3
Component: main Version:
Keywords: Cc:

Description

As reported by Richard, there are error messages like:

<log sev="CRIT" tstamp="2011-03-04T16:45:50+1100" msg="Cannot resolve socket peer IP for client" host="test.domain" peer="0.0.0.0" >

Might be related to the overzealous zeroing of the result from getnameinfo() if it returns an error. Change that to test whether something resembling a numeric address is returned instead of unconditionally zeroing it.

Change History (1)

comment:1 by rainer, 14 years ago

Resolution: fixed
Status: newclosed

Believed to be fixed in changeset [314].

Note: See TracTickets for help on using tickets.