]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/client_side.cc
Allow upgrading from HTTP/1.1 to other protocols (#481)
[thirdparty/squid.git] / src / client_side.cc
index 3d566d56525ef4c980c7322406738d12c1637d84..889ea138ae39d5121b7fdcf2b552213d0f06c520 100644 (file)
@@ -4089,3 +4089,9 @@ operator <<(std::ostream &os, const ConnStateData::PinnedIdleContext &pic)
     return os << pic.connection << ", request=" << pic.request;
 }
 
+std::ostream &
+operator <<(std::ostream &os, const ConnStateData::ServerConnectionContext &scc)
+{
+    return os << scc.conn_ << ", srv_bytes=" << scc.preReadServerBytes.length();
+}
+