The bug appeared after commit with revno:11364 which fixes Bug 3192.
In the case of SSL-bumped connections the ConnStateData::flags.readMore flag
must be reset (set to true) when we are switching to HTTPs,
because we have to read the new unencrypted HTTP request.
This patch reset this flag in ConnStateData::switchToHttps method.
assert(areAllContextsForThisConnection());
freeAllContexts();
//currentobject->connIsFinished();
-
+ // We are going to read new request
+ flags.readMore = true;
debugs(33, 5, HERE << "converting FD " << fd << " to SSL");
return getSslContextStart();