mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-10 21:33:38 +00:00
1. Fixed Compiler Warnings
2. Updated GC behavior for HTTP
This commit is contained in:
@@ -208,7 +208,7 @@ void ILibDuktape_net_socket_OnConnect(ILibAsyncSocket_SocketModule socketModule,
|
||||
duk_push_heapptr(ptrs->ctx, ptrs->object); // [socket]
|
||||
if (alpnLen != 0)
|
||||
{
|
||||
duk_push_lstring(ptrs->ctx, alpn, alpnLen);
|
||||
duk_push_lstring(ptrs->ctx, (char*)alpn, alpnLen);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -880,7 +880,7 @@ void ILibDuktape_net_server_OnConnect(ILibAsyncServerSocket_ServerModule AsyncSe
|
||||
SSL_SESSION_get0_alpn_selected(SSL_get_session(ILibAsyncServerSocket_GetSSL(ConnectionToken)), &alpn, &alpnLen);
|
||||
if (alpnLen != 0)
|
||||
{
|
||||
duk_push_lstring(ptr->ctx, alpn, alpnLen);
|
||||
duk_push_lstring(ptr->ctx, (char*)alpn, alpnLen);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user