| Index: chrome/browser/net/chrome_url_request_context.cc
|
| ===================================================================
|
| --- chrome/browser/net/chrome_url_request_context.cc (revision 32099)
|
| +++ chrome/browser/net/chrome_url_request_context.cc (working copy)
|
| @@ -646,6 +646,13 @@
|
| if (appcache_service_.get() && appcache_service_->request_context() == this)
|
| appcache_service_->set_request_context(NULL);
|
|
|
| +#if defined(OS_LINUX)
|
| + if (this == net::GetURLRequestContextForOCSP()) {
|
| + // We are releasing the URLRequestContext used by OCSP handlers.
|
| + net::SetURLRequestContextForOCSP(NULL);
|
| + }
|
| +#endif
|
| +
|
| NotificationService::current()->Notify(
|
| NotificationType::URL_REQUEST_CONTEXT_RELEASED,
|
| Source<URLRequestContext>(this),
|
|
|