Skip to content

Commit c950fd1

Browse files
Revert unintended change connection close -> keep-alive
1 parent 0128fcd commit c950fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internals/StreamHttpReply.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ void ArduinoHttpServer::AbstractStreamHttpReply::sendHeader(
2727
getStream().print(AHS_F("HTTP/1.1 "));
2828
getStream().print(getCode() + " ");
2929
getStream().print(title + "\r\n");
30-
getStream().print(AHS_F("Connection: keep-alive\r\n"));
30+
getStream().print(AHS_F("Connection: close\r\n"));
3131
if (size > 0) {
3232
getStream().print(AHS_F("Content-Length: "));
3333
getStream().print(size);

0 commit comments

Comments
 (0)