Change mark, 17
This commit is contained in:
+3
-2
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Authored by Alex Hultman, 2018-2019.
|
* Authored by Alex Hultman, 2018-2020.
|
||||||
* Intellectual property of third-party.
|
* Intellectual property of third-party.
|
||||||
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -78,7 +78,8 @@ private:
|
|||||||
/* Called only once per request */
|
/* Called only once per request */
|
||||||
void writeMark() {
|
void writeMark() {
|
||||||
#ifndef UWS_HTTPRESPONSE_NO_WRITEMARK
|
#ifndef UWS_HTTPRESPONSE_NO_WRITEMARK
|
||||||
writeHeader("uWebSockets", "v0.17");
|
/* We only expose major version */
|
||||||
|
writeHeader("uWebSockets", "17");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user