timwhitlock/php-varnish — pull request #8 by supermario (2012-07-27 06:21:12+00:00)
Title: Comments should purge parent post

A typo in postid variable name means comments always call post purge with an empty postid, thus doing nothing.

The comment check in the post purge function also happens before the parent post URL is added to the purge list, so again, this function never does anything when triggered by comments.

The referenced commit fixes both issues.