summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/nxt_port_socket.c1
-rw-r--r--test/test_configuration.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/nxt_port_socket.c b/src/nxt_port_socket.c
index a426df31..c9b5105b 100644
--- a/src/nxt_port_socket.c
+++ b/src/nxt_port_socket.c
@@ -566,6 +566,7 @@ void
nxt_port_read_close(nxt_port_t *port)
{
port->socket.read_ready = 0;
+ port->socket.read = NXT_EVENT_INACTIVE;
nxt_socket_close(port->socket.task, port->pair[0]);
port->pair[0] = -1;
}
diff --git a/test/test_configuration.py b/test/test_configuration.py
index de20ac25..20c5fc8b 100644
--- a/test/test_configuration.py
+++ b/test/test_configuration.py
@@ -216,9 +216,7 @@ class TestUnitConfiguration(unit.TestUnitControl):
}
}), 'no port')
- @unittest.expectedFailure
def test_json_application_name_large(self):
- self.skip_alerts.append(r'epoll_ctl.+failed')
name = "X" * 1024 * 1024
self.assertIn('success', self.conf({