Add Loop::setSilent
This commit is contained in:
+5
-2
@@ -82,9 +82,12 @@ private:
|
||||
|
||||
/* Called only once per request */
|
||||
void writeMark() {
|
||||
/* You can disable this altogether */
|
||||
#ifndef UWS_HTTPRESPONSE_NO_WRITEMARK
|
||||
/* We only expose major version */
|
||||
writeHeader("uWebSockets", "18");
|
||||
if (!Super::getLoopData()->noMark) {
|
||||
/* We only expose major version */
|
||||
writeHeader("uWebSockets", "18");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user