stream: add support for UNIX streams
This commit is contained in:
@@ -247,6 +247,8 @@ METHOD(stream_manager_t, remove_service, void,
|
||||
METHOD(stream_manager_t, destroy, void,
|
||||
private_stream_manager_t *this)
|
||||
{
|
||||
remove_stream(this, stream_create_unix);
|
||||
|
||||
this->streams->destroy(this->streams);
|
||||
this->services->destroy(this->services);
|
||||
this->running->destroy(this->running);
|
||||
@@ -278,5 +280,7 @@ stream_manager_t *stream_manager_create()
|
||||
.lock = rwlock_create(RWLOCK_TYPE_DEFAULT),
|
||||
);
|
||||
|
||||
add_stream(this, "unix://", stream_create_unix);
|
||||
|
||||
return &this->public;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user