Hi all,

When using 0.8.0.beta.4 I've this assert when using an HTTPS connection: I'm not sure...

As OpenSSLStream is a derived class of TLSStrem, the check is correct?

core.exception.AssertError@../../../../.dub/packages/vibe-core-1.0.0-beta.4/vibe-core/source/vibe/internal/interfaceproxy.d(119): Extraction of wrong type from InterfaceProxy.
----------------
4   szstudio                            0x0000000105e8909a _d_assert_msg + 142
5   szstudio                            0x0000000105d98421 nothrow @trusted vibe.internal.freelistref.__T11FreeListRefTC4vibe6stream3tls9TLSStreamVbi1Z.FreeListRef vibe.internal.interfaceproxy.InterfaceProxy!(vibe.core.stream.Stream).InterfaceProxy.extract!(vibe.internal.freelistref.__T11FreeListRefTC4vibe6stream3tls9TLSStreamVbi1Z.FreeListRef).extract() + 397
6   szstudio                            0x0000000105d3f126 @safe bool vibe.http.server.handleRequest(vibe.internal.interfaceproxy.InterfaceProxy!(vibe.core.stream.Stream).InterfaceProxy, vibe.core.net.TCPConnection, vibe.http.server.HTTPListenInfo, ref vibe.http.server.HTTPServerSettings, ref bool, scope std.experimental.allocator.IAllocator) + 1534
7   szstudio                            0x0000000105d3eaae @trusted void vibe.http.server.handleHTTPConnection(vibe.core.net.TCPConnection, vibe.http.server.HTTPListenInfo).__lambda4() + 202
8   szstudio                            0x0000000105d3e85a @safe void vibe.http.server.handleHTTPConnection(vibe.core.net.TCPConnection, vibe.http.server.HTTPListenInfo) + 542
9   szstudio                            0x0000000105d3e053 nothrow @safe void vibe.http.server.listenHTTPPlain(vibe.http.server.HTTPServerSettings, vibe.http.server.HTTPServerContext).doListen(vibe.http.server.HTTPListenInfo, vibe.http.server.HTTPServerContext, bool, bool).__lambda6(vibe.core.net.TCPConnection) + 51
10  szstudio                            0x0000000105e2e699 D4vibe4core4task12TaskFuncInfo76__T3setTDFNfS4vibe4core3net13TCPConnectionZvTS4vibe4core3net13TCPConnectionZ3setMFKDFNfS4vibe4core3net13TCPConnectionZvKS4vibe4core3net13TCPConnectionZ12callDelegateFKS4vibe4core4task12TaskFuncInfoZv + 197
11  szstudio                            0x0000000105e2bf11 void vibe.core.task.TaskFuncInfo.call() + 77
12  szstudio                            0x0000000105e2b46e nothrow void vibe.core.task.TaskFiber.run() + 282
13  szstudio                            0x0000000105e8d0ab void core.thread.Fiber.run() + 43
14  szstudio                            0x0000000105e8c85e fiber_entryPoint + 98
15  ???                                 0xffffffffffffffff 0x0 + 18446744073709551615


some writeln

m_intf --> m_intf:vibe.internal.interfaceproxy.InterfaceProxy!(Stream).InterfaceProxy.ProxyImpl!(FreeListRef!(OpenSSLStream, true)).ProxyImpl
typeid(T), so expected --> expected:vibe.internal.freelistref.FreeListRef!(TLSStream, true).FreeListRef
m_intf._typeInfo() --> vibe.internal.freelistref.FreeListRef!(OpenSSLStream, true).FreeListRef

Thanks,
Paolo