r10207 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r10206
|
r10207
|
r10208
>
Date:
17:27, 19 July 2005
Author:
vibber
Status:
old
Tags:
Comment:
Send 'Connection: Close' header so HTTP 1.1 clients will close sockets properly.
Should fix problem with running out of open files due to CLOSE_WAIT state TCP sockets.
Modified paths:
/trunk/mwsearch/Daemon/Worker.cs
(modified) (
history
)
Diff
[
purge
]
Index: trunk/mwsearch/Daemon/Worker.cs
—
—
@@ -183,6 +183,7 @@
184
184
private void SendHeaders(int code, string message) {
185
185
SendOutputLine("HTTP/1.1 " + code + " " + message);
186
186
SendOutputLine("Content-Type: text/plain");
187
+ SendOutputLine("Connection: Close");
187
188
SendOutputLine("");
188
189
headersSent = true;
189
190
}
Status & tagging log
01:58, 13 October 2010
😂
(
talk
|
contribs
)
changed the
status
of r10207
[
removed:
new
added:
old]