bug 628561 release http persistent connection on force reload r=bz

A force-reload now clears persistent connections to the server related
to the force-reloaded resource. This will allow renogitation of DNS or
server load balancing.
This commit is contained in:
Patrick McManus
2011-07-22 12:31:37 -04:00
parent a0390b21ce
commit f232281430
6 changed files with 41 additions and 1 deletions

View File

@@ -9214,7 +9214,8 @@ nsresult nsDocShell::DoChannelLoad(nsIChannel * aChannel,
case LOAD_RELOAD_BYPASS_CACHE:
case LOAD_RELOAD_BYPASS_PROXY:
case LOAD_RELOAD_BYPASS_PROXY_AND_CACHE:
loadFlags |= nsIRequest::LOAD_BYPASS_CACHE;
loadFlags |= nsIRequest::LOAD_BYPASS_CACHE |
nsIRequest::LOAD_FRESH_CONNECTION;
break;
case LOAD_NORMAL: