Commit d27e8a9e authored by Guus der Kinderen's avatar Guus der Kinderen

OF-885: First send data, then close connection.

parent 7003da26
......@@ -611,8 +611,8 @@ public class HttpSession extends LocalClientSession {
int pauseDuration = HttpBindServlet.getIntAttribute(rootNode.attributeValue("pause"), -1);
if ("terminate".equals(type)) {
close();
connection.deliverBody(createEmptyBody(true));
close();
lastRequestID = connection.getRequestId();
}
else if ("true".equals(restartStream) && rootNode.elements().size() == 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment