-#include "squid.h"
+#include "squid-old.h"
#include "HttpRequest.h"
#include "HttpReply.h"
#include "client_side.h"
if (auth_user_request != NULL) {
/* the filled_checklist lock */
auth_user_request = NULL;
- /* it might have been connection based */
- if (conn()) {
+ // It might have been connection based
+ // In the case of sslBump we need to preserve authentication info
+ // XXX: need to re-evaluate this. ACL tests should not be playing with
+ // XXX: wider scoped TCP connection state, even if the helper lookup is stuck.
+ if (conn() && !conn()->switchedToHttps()) {
conn()->auth_user_request = NULL;
}
}