stupid dmd warnings are useless

This commit is contained in:
Adam D. Ruppe 2019-03-07 22:23:51 -05:00
parent 0c328aa3b0
commit b3df2871d2
1 changed files with 12 additions and 11 deletions

3
cgi.d
View File

@ -5134,7 +5134,7 @@ interface EventSourceServer {
version(fastcgi)
throw new Exception("sending fcgi connections not supported");
else {
auto fd = cgi.getOutputFileHandle();
if(isInvalidHandle(fd))
throw new Exception("bad fd from cgi!");
@ -5149,6 +5149,7 @@ interface EventSourceServer {
// FIXME
}
}
}
/++
Sends an event to the event server, starting it if necessary. The event server will distribute it to any listening clients, and store it for `lifetime` seconds for any later listening clients to catch up later.