1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-15 07:43:50 +00:00
Commit Graph

70 Commits

Author SHA1 Message Date
Bryan Roe
a2892996fb IOActive update for size_t vs int for buffer lengths 2020-10-16 00:48:34 -07:00
Bryan Roe
17a487af68 1. Fixed crash that occured in metadata
2. Added support for server.connections
2020-10-11 18:59:09 -07:00
Bryan Roe
e4d12f14c6 Changed property name from backlog to maxConnections, for concurrency 2020-10-09 00:31:50 -07:00
Bryan Roe
1ef348bbc4 Updated concurrency support for Windows 2020-10-08 16:31:55 -07:00
Bryan Roe
3f6f00f915 Added support for IPC concurrency on Windows 2020-10-06 17:56:44 -07:00
Bryan Roe
c7b35ae9f1 Updated pipe permission for writableAll 2020-10-01 14:00:59 -07:00
Bryan Roe
73b1d5e77c Converted atoi to safer alternative 2020-09-24 15:50:27 -07:00
Bryan Roe
8cdcfcb187 Addressed Checkmarx issues 2020-09-17 12:59:15 -07:00
Bryan Roe
e081f711cf Fixed cleanup code for unix domain socket, to remove inode in finalizer 2020-08-03 23:47:00 -07:00
Bryan Roe
f2eb015b2a Fixed bug in unshift() logic in do/while loop on windows IPC 2020-07-29 13:25:40 -07:00
Bryan Roe
4728330c5e Fixed some warnings 2020-07-08 16:07:04 -07:00
Bryan Roe
0971ac0134 Fixed uncaught exception 2020-06-11 15:05:43 -07:00
Bryan Roe
5aff4c172e Added power-monitor.wakeDisplay() and sleepDisplay() 2020-06-10 13:49:24 -07:00
Bryan Roe
44b44a2456 Updated metadata for macos message-box, and updated cleanup for net.Server for ipc 2020-06-03 19:05:49 -07:00
Bryan Roe
b78a29eb88 1. Updated metadata for linux ipcSocket
2, Added linux-acpi, and attached events to power-monitor for linux
2020-05-30 22:59:06 -07:00
Bryan Roe
fdf86827ed Updated metadata for net.server 2020-05-29 15:45:17 -07:00
Bryan Roe
9e6387599a Added ILibChain_ReadAndSaveStateEx()
Updated Windows IPC Socket, so client connection uses ReadAndSaveState, to start in paused state.
2020-05-29 00:02:59 -07:00
Bryan Roe
69c29eee81 Fixed race with connect event for Windows IPC 2020-05-28 21:40:59 -07:00
Bryan Roe
9297eca58c Updated metadata, and fixed end() to remove HANDLE from select() if connection is not paused. 2020-05-28 13:20:10 -07:00
Bryan Roe
74d4ae2c1e Windows, rev1 update 2020-05-23 01:02:44 -07:00
Bryan Roe
383c19f5fe 1. Updated metadata
2. Fixed compiler warning
2020-05-21 19:06:05 -07:00
Bryan Roe
dd216efbe8 Updated metadata 2020-05-21 13:20:42 -07:00
Bryan Roe
16a2f437c3 Added ability to Save/Restore handle wait state
Fixed edge case that could cause a connection to resume twice
2020-05-20 12:05:38 -07:00
Bryan Roe
56cc4c1328 Improved descriptor tracking 2020-05-19 14:47:52 -07:00
Bryan Roe
eba7419fc9 1. Set upperbound on number of Windows WaitHandles
2. Fixed Windows_IPC to DisconnectNamedPipe() on connected handled when 'end' is called
3. Fixed Windispatch to terminate on when close is emitted
2020-05-19 01:14:18 -07:00
Bryan Roe
161f125576 Fixed bug in finalizer, where wait handle was not removed 2020-05-17 14:38:57 -07:00
Bryan Roe
97ad48f2f2 1. Added ILibChain_WriteEx()
2. Updated ILibChain_Continue() on windows to take an optional list of HANDLE**
3. Updated net.socket IPC on Windows  to use ILibChain_ReadEx and ILibChain_WriteEx
4. Fixed child_process.waitExit() on windows to pass only the wait handles for the process
5. Added GetWaitHandles() to ILibProcessPipe
2020-05-15 17:25:49 -07:00
Bryan Roe
9a4f2edfef Fixed compiler warning, and updated fix 2020-05-11 14:17:25 -07:00
Bryan Roe
7dc8ee4ef4 Added memory ownership for buffer 2020-05-07 18:19:14 -07:00
Bryan Roe
9668b8d77d Update to use new threading model for windows 2020-05-07 10:29:49 -07:00
Bryan Roe
5fb0cef7db 1. Removed debug message from child-container
2. Fixed WriteEx() behavior
3. Fixed AddWaitHandle() to use APC if called from wrong thread
4. Fixed net.ipcSocket to return correct value if write completed right away
2020-05-05 16:12:23 -07:00
Bryan Roe
d26701c731 Updated ReadEx 2020-05-05 13:27:03 -07:00
Bryan Roe
1bd4e3d07c Updated Windows Chain logic, to use WSAEventSelect and WaitForMultipleObjectsEx 2020-05-04 17:25:55 -07:00
Bryan Roe
941ac6e192 1. Added NULL check
2. Added process._exit()
3. Fixed CancelIOEx usage
2020-05-03 19:40:32 -07:00
Bryan Roe
5ba1288cdf Modified JS runtime to use ILibMemory_Extra to point to udata structure,
then used that for consistency checks
2020-04-17 15:05:47 -07:00
Bryan Roe
e3b8cc4d2c 1. Fixed edge case bug, where TLS packet was corrupt
2. Added compile switch for KVM ALL TILES
3. Added compile switch for Debug fragmentation of Sends
4. Fixed compiler warnings
5. Added comments to makefile
2020-04-13 20:08:32 -07:00
Bryan Roe
7f49bedd29 Updated DNS Cache logic 2020-02-24 16:00:08 -08:00
Bryan Roe
f11fb9d3cb Fixed bug, where if DNS resolve fails, an attempt is made to fetch cache results, but the result was accidentally left on the value stack 2020-02-24 15:45:15 -08:00
Bryan Roe
2e04da2fc7 Fixed bug in Windows IPC Socket, where paused stream was not resumed when you hooked the 'end' event 2020-01-30 10:35:28 -08:00
Bryan Roe
a5e30ab2c6 Fixed compiler warning 2020-01-24 22:42:29 -08:00
Bryan Roe
4a2bc80d2e Fixed Windows IPC Read, to unroll completion callback, before dispatching
Fixed edge case bug where stack wasn't popped correctly for IPC Write
2019-12-05 14:45:07 -08:00
Bryan Roe
0f40f9092e 1. Fixed IPC cleanup on domain sockets for Windows
2. Fixed readableStream, so 'end' is still emitted when piped
2019-12-04 15:00:15 -08:00
Bryan Roe
cb0f43e17e Fixed unshift logic for IPC socket 2019-12-03 12:27:06 -08:00
Bryan Roe
3342871bc5 Fixed compiler warning 2019-11-25 17:37:31 -08:00
Bryan Roe
e68d0cc7c5 Polyfilled some helper methods in ip-address.Address4 2019-11-20 10:53:08 -08:00
Bryan Roe
5d2e5dab8b Added compile switch to support SSL/TLS key export for debug 2019-09-17 00:52:04 -07:00
Bryan Roe
583628214e Added 'listening' property to net.server 2019-06-14 13:56:07 -07:00
Bryan Roe
78512cda21 Updated, so writableAll is supported on Posix, on server domain sockets 2019-05-29 15:23:59 -07:00
Bryan Roe
2895768ebf 1. Added 'close' to net.server
2. updated message-box for MacOS (In Progress)
2019-05-23 15:41:00 -07:00
Bryan Roe
679366445f Updated server finalizer, so it cleans up named pipe, if its an IPC server. 2019-05-15 10:48:01 -07:00