Logging helper for bogus hmacs on PuSH in -- record the url & hub with the err msg to help tell what broke
This commit is contained in:
parent
39cad55711
commit
dd48bdb1c4
|
@ -487,7 +487,7 @@ class FeedSub extends Memcached_DataObject
|
|||
if ($their_hmac === $our_hmac) {
|
||||
return true;
|
||||
}
|
||||
common_log(LOG_ERR, __METHOD__ . ": ignoring PuSH with bad SHA-1 HMAC: got $their_hmac, expected $our_hmac");
|
||||
common_log(LOG_ERR, __METHOD__ . ": ignoring PuSH with bad SHA-1 HMAC: got $their_hmac, expected $our_hmac for feed $this->uri on $this->huburi");
|
||||
} else {
|
||||
common_log(LOG_ERR, __METHOD__ . ": ignoring PuSH with bogus HMAC '$hmac'");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user