Skip to content

Commit 3400e1f

Browse files
committed
send no content for stats reset
1 parent e82c56e commit 3400e1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/robaho/net/httpserver/ServerImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ public void handle(HttpExchange exchange) throws IOException {
174174
maxConnectionsExceededCount.set(0);
175175
lastStatsTime = now;
176176
lastRequestCount = 0;
177+
exchange.sendResponseHeaders(200,-1);
177178
exchange.close();
178179
return;
179180
}

0 commit comments

Comments
 (0)