I obviously never learn to use httpState->orig_request when accessing
client data. Not the first time I have been bitten by httpState->request
being a bogus request missing most of the vital information when using
a peer proxy (only contains the request line, and how to contact the peer).
/*
- * $Id: http.cc,v 1.381 2001/07/11 22:57:54 wessels Exp $
+ * $Id: http.cc,v 1.382 2001/09/18 19:04:28 hno Exp $
*
* DEBUG: section 11 Hypertext Transfer Protocol (HTTP)
* AUTHOR: Harvest Derived
|| httpHeaderHas(&reply->header, HDR_X_ACCELERATOR_VARY)
#endif
) {
- const char *vary = httpMakeVaryMark(httpState->request, reply);
+ const char *vary = httpMakeVaryMark(httpState->orig_request, reply);
if (vary) {
entry->mem_obj->vary_headers = xstrdup(vary);
/* Kill the old base object if a change in variance is detected */