stream-ssl: Try to shut SSL connections down gracefully.
[openvswitch] / lib / stream-unix.c
index a5dfd55b898d4935960c13d331cf60176ff10fc1..6ce7790b541dae2979b97670011b7d0a4bf4921a 100644 (file)
@@ -69,6 +69,8 @@ struct stream_class unix_stream_class = {
     NULL,                       /* connect */
     NULL,                       /* recv */
     NULL,                       /* send */
+    NULL,                       /* run */
+    NULL,                       /* run_wait */
     NULL,                       /* wait */
 };
 \f
@@ -88,12 +90,6 @@ punix_open(const char *name UNUSED, char *suffix, struct pstream **pstreamp)
         return errno;
     }
 
-    error = set_nonblocking(fd);
-    if (error) {
-        close(fd);
-        return error;
-    }
-
     if (listen(fd, 10) < 0) {
         error = errno;
         VLOG_ERR("%s: listen: %s", name, strerror(error));