proxy: Fix the prefetch code

This commit is contained in:
nick
2013-06-19 11:18:52 +01:00
parent 1afea5c73d
commit 2a9884e9e9
2 changed files with 126 additions and 108 deletions

View File

@@ -68,6 +68,12 @@ struct proxier {
int hello_sent;
#ifdef PREFETCH
/* While the in-flight request has been munged by prefetch, these two are
* set to true, and the original length of the request, respectively */
int is_prefetch_req;
uint32_t prefetch_req_orig_len;
/* And here, we actually store the prefetched data once it's returned */
struct prefetch *prefetch;
#endif
};