stream: add support for TCP streams
This commit is contained in:
@@ -248,6 +248,7 @@ METHOD(stream_manager_t, destroy, void,
|
||||
private_stream_manager_t *this)
|
||||
{
|
||||
remove_stream(this, stream_create_unix);
|
||||
remove_stream(this, stream_create_tcp);
|
||||
remove_service(this, stream_service_create_unix);
|
||||
|
||||
this->streams->destroy(this->streams);
|
||||
@@ -282,6 +283,7 @@ stream_manager_t *stream_manager_create()
|
||||
);
|
||||
|
||||
add_stream(this, "unix://", stream_create_unix);
|
||||
add_stream(this, "tcp://", stream_create_tcp);
|
||||
add_service(this, "unix://", stream_service_create_unix);
|
||||
|
||||
return &this->public;
|
||||
|
||||
Reference in New Issue
Block a user