[Plugin: Varnish HTTP Purge] Comment approval error (varnish response)
-
Got a report that after this plugin was installed approving comments from moderation was working spottily and that when leaving a comment it would output an “error message”.
The error message turned out to be the varnish response of “Error 200 purged… guru meditation …”
I added, on line 54,
curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
to try and get curl to throwaway the response instead of piping it to output; this appears to have worked for me.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: Varnish HTTP Purge] Comment approval error (varnish response)’ is closed to new replies.