jenkins-bot has submitted this change and it was merged.

Change subject: Make sure the request is closed for /
......................................................................


Make sure the request is closed for /

Requests to / were not properly ended with res.end(), which caused clients to
hang and monitoring to fail.

Change-Id: Ibda22fb531e4d107a1ac677a9ff7b8875c474290
---
M js/api/ParserService.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Subramanya Sastry: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/js/api/ParserService.js b/js/api/ParserService.js
index e2c912a..fb0b673 100644
--- a/js/api/ParserService.js
+++ b/js/api/ParserService.js
@@ -317,7 +317,7 @@
        res.write('<li><strong><a href="/_html/">HTML DOM -&gt; WikiText 
form</a></strong></li>\n');
        res.write('</ul>\n');
        res.write('<p>We are currently focusing on round-tripping of basic 
formatting like inline/bold, headings, lists, tables and links. Templates, 
citations and thumbnails are not expected to round-trip properly yet. 
<strong>Please report issues you see at <a 
href="http://www.mediawiki.org/w/index.php?title=Talk:Parsoid/Todo&action=edit&section=new";>:mw:Talk:Parsoid/Todo</a>.
 Thanks!</strong></p>\n');
-       res.write('</body></html>');
+       res.end('</body></html>');
 });
 
 

-- 
To view, visit https://gerrit.wikimedia.org/r/59977
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibda22fb531e4d107a1ac677a9ff7b8875c474290
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: GWicke <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Cscott <[email protected]>
Gerrit-Reviewer: Subramanya Sastry <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to