Print out caller IP when unusual requests are received.
parent
1286677352
commit
bbb9af363d
|
@ -107,7 +107,7 @@ namespace OpenSim.Server.Handlers.Simulation
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_log.InfoFormat("[AGENT HANDLER]: method {0} not supported in agent message", method);
|
m_log.InfoFormat("[AGENT HANDLER]: method {0} not supported in agent message (caller is {1})", method, Util.GetCallerIP(request));
|
||||||
responsedata["int_response_code"] = HttpStatusCode.MethodNotAllowed;
|
responsedata["int_response_code"] = HttpStatusCode.MethodNotAllowed;
|
||||||
responsedata["str_response_string"] = "Method not allowed";
|
responsedata["str_response_string"] = "Method not allowed";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue