Optionally prevent sending of "uWebSockets" header (#998)

* Optionally prevent sending of "uWebSockets" header
This commit is contained in:
Dmitry Igrishin
2020-02-23 20:41:25 +03:00
committed by GitHub
parent b06336a941
commit 1c84277fd9
+2
View File
@@ -77,7 +77,9 @@ private:
/* Called only once per request */
void writeMark() {
#ifndef UWS_HTTPRESPONSE_NO_WRITEMARK
writeHeader("uWebSockets", "v0.17");
#endif
}
/* Returns true on success, indicating that it might be feasible to write more data.