pagespeed/ngx_pagespeed — pull request #535 by jeffkaufman (2013-10-04 17:22:43+00:00)
Title: logging: fix use-after-free

The `pagespeed_connection` needs a log to write to, but unfortunately `r->connection->log` isn't guaranteed to still be around for the whole lifetime of the `pagespeed_connection`. Use the log from the server context instead.

Fixes issue #522.