Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(562)

Unified Diff: net/http/http_transaction.h

Issue 2721933002: HttpCache::Transaction layer allowing parallel validation (Closed)
Patch Set: Fixing resetting the cache_entry_status_. Should fix the webkit_tests failing in linux_trusty_blink… Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/http_transaction.h
diff --git a/net/http/http_transaction.h b/net/http/http_transaction.h
index eff45d10c5648d618e4366a6ea91a398b06016b1..014fa72c60684c1c3757dee835be46eb3c9dc60b 100644
--- a/net/http/http_transaction.h
+++ b/net/http/http_transaction.h
@@ -54,7 +54,9 @@ class NET_EXPORT_PRIVATE HttpTransaction {
//
// The consumer should ensure that request_info points to a valid value till
// final response headers are received; after that point, the HttpTransaction
- // will not access |*request_info| and it may be deleted.
+ // will not access |*request_info| and it may be deleted. Note that in case of
+ // range requests response headers may be received multiple times and the
+ // HttpTransaction might access |*request_info| in all of those.
//
// Returns OK if the transaction could be started synchronously, which means
// that the request was served from the cache. ERR_IO_PENDING is returned to

Powered by Google App Engine
This is Rietveld 408576698