From c6a2ee05548331fb77eefac6ee9d04029ff084eb Mon Sep 17 00:00:00 2001 From: Alex Hultman Date: Sun, 24 May 2020 21:38:31 +0200 Subject: [PATCH] Change mark, 17 --- src/HttpResponse.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/HttpResponse.h b/src/HttpResponse.h index b04da93..8e317dc 100644 --- a/src/HttpResponse.h +++ b/src/HttpResponse.h @@ -1,5 +1,5 @@ /* - * Authored by Alex Hultman, 2018-2019. + * Authored by Alex Hultman, 2018-2020. * Intellectual property of third-party. * Licensed under the Apache License, Version 2.0 (the "License"); @@ -78,7 +78,8 @@ private: /* Called only once per request */ void writeMark() { #ifndef UWS_HTTPRESPONSE_NO_WRITEMARK - writeHeader("uWebSockets", "v0.17"); + /* We only expose major version */ + writeHeader("uWebSockets", "17"); #endif }