if (req_hdr->has(HDR_VIA)) {
String s = req_hdr->getList(HDR_VIA);
/*
- * ThisCache cannot be a member of Via header, "1.0 ThisCache" can.
+ * ThisCache cannot be a member of Via header, "1.1 ThisCache" can.
* Note ThisCache2 has a space prepended to the hostname so we don't
* accidentally match super-domains.
*/
// TODO: Unify with tunnel.cc and add a Server(?) header
static const char *const conn_established =
- "HTTP/1.0 200 Connection established\r\n\r\n";
+ "HTTP/1.1 200 Connection established\r\n\r\n";
comm_write(fd, conn_established, strlen(conn_established),
&SslBumpEstablish, this, NULL);
}
#define fd_closed(fd) (fd == -1 || fd_table[fd].closing())
-static const char *const conn_established = "HTTP/1.0 200 Connection established\r\n\r\n";
+static const char *const conn_established = "HTTP/1.1 200 Connection established\r\n\r\n";
static CNCB tunnelConnectDone;
static ERCB tunnelErrorComplete;