http/1: adjust flatten_headers_estimate_size as well
@@ -587,8 +587,8 @@ static void on_upgrade_complete(h2o_socket_t *socket, const char *err)
static size_t flatten_headers_estimate_size(h2o_req_t *req, size_t server_name_and_connection_len)
{
- size_t len = sizeof("HTTP/1.1 \r\ndate: \r\nserver: \r\nconnection: \r\ncontent-length: \r\n\r\n") + 3 +
- strlen(req->res.reason) + H2O_TIMESTR_RFC1123_LEN + server_name_and_connection_len +
+ size_t len = sizeof("HTTP/1.1 \r\nserver: \r\nconnection: \r\ncontent-length: \r\n\r\n") + 3 +
+ strlen(req->res.reason) + server_name_and_connection_len +
sizeof(H2O_UINT64_LONGEST_STR) - 1 + sizeof("cache-control: private") - 1;
const h2o_header_t *header, *end;
