Skip to content

Commit ac94af4

Browse files
committed
Http: Fix using HttpServerClient across Plugin boundaries
1 parent 065bdcc commit ac94af4

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Libraries/Http/HttpServer.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@
66

77
namespace SC
88
{
9+
//-------------------------------------------------------------------------------------------------------
10+
// HttpServerClient
11+
//-------------------------------------------------------------------------------------------------------
12+
HttpServerClient::HttpServerClient()
13+
{
14+
// This is needed on Linux so that ReadableSocketStream constructor don't need to be exported
15+
// in order to be used across plugin boundaries.
16+
}
17+
918
//-------------------------------------------------------------------------------------------------------
1019
// HttpRequest
1120
//-------------------------------------------------------------------------------------------------------

Libraries/Http/HttpServer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ struct SC_COMPILER_EXPORT HttpServerClient
111111
Free,
112112
Used
113113
};
114+
HttpServerClient();
114115
State state = State::Free;
115116

116117
HttpRequest request;

0 commit comments

Comments
 (0)