1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-10 05:13:38 +00:00
Commit Graph

28 Commits

Author SHA1 Message Date
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
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
9aaef732d9 1. Fixed bug where ILibAsyncSocket wrote a corrupt TLS packet
2. Removed linux work-around/hack that is not needed due to above fix
2020-04-12 01:42:49 -07:00
Bryan Roe
e89274c835 Fixed edge case crash when calling response.end() with a buffer 2020-04-03 18:23:42 -07:00
Bryan Roe
46e4113814 1. Fixed Control Channel bug, where host field never contained port number
2. Updated tunnels, so host field only contains port if its not a default port
2020-03-19 23:54:16 -07:00
Bryan Roe
bbe2c92817 Added 'timeout' event to websocket
Added 'setTimeout' method to websocket
2020-01-28 12:23:05 -08:00
Bryan Roe
384cbd411d Fixed edge case bug, where HTTP body fragment could get written to stream without acknowledging it, at the start of the response, which could result in the bodystream having a single duplicate fragment. 2020-01-21 13:27:45 -08:00
Bryan Roe
6a84582764 Dropped autofragmentation size to 5k on Linux, until we figure out why on old hardware on linux, OpenSSL tends to corrupt TLS if we try to encode a large fragment 2019-09-19 16:37:45 -07:00
Bryan Roe
84735cf3dc Lowered autofragment size to 15k from 30k 2019-09-17 12:42:42 -07: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
e666a5f7b9 Fixed compiler warning 2019-08-22 16:54:04 -07:00
Bryan Roe
1360835f1b 1. Updated libfinder for Linux for cases when ldconfig is not on PATH
2. Updated websockets, so it will autofragment into 30k chunks, as a temp workaround for platforms like CentOS 5.11 until I find the underlying issue
2019-08-21 11:46:38 -07:00
Bryan Roe
585595791b Updated to use revices ReAlloc Macro 2019-05-01 16:13:27 -07:00
Bryan Roe
31be55c945 Fixed bug, where Packet Validation failed, because HttpStream was always configured as server. 2019-03-27 15:00:39 -07:00
Bryan Roe
ed18cb7944 1. Updated to use #define for maximum header size
2. Modified AsyncSocket_Disconnect, to shutdown SD_SEND/SHUT_RD, instead of RDWR/BOTH, because sent data could be lost if a reset was sent
3. Added hardening for http.server packet parsing
2019-03-26 22:10:29 -07:00
Bryan Roe
4c05359e33 Fixed how the request transform stream buffers data 2019-03-01 10:26:04 -08:00
Bryan Roe
76fac42a5f Added 'abort' to wget and clientRequest 2019-02-13 15:57:32 -08:00
Bryan Roe
a52a8e0c9f Fixed behavior so WebSoketServer does not mask data, when talking to clients, to fix interop issue with Chrome 2019-02-12 16:34:23 -08:00
Bryan Roe
995c4015b0 Added functionality so if 'webSocketMaskOverride' is specified in the db, the optimization to disable masking for TLS protected websockets is disabled 2019-02-12 13:43:42 -08:00
Bryan Roe
92abf51a8d Updated, so httpStream and WebSocketStream are identified as http or https depending if the underlying socket is a net.socket or tls.socket. Also, updated the noMasking flag on WebSocket, so it's only set if it s an https.WebSocketStream. 2019-02-11 22:14:22 -08:00
Bryan Roe
6afb6e5316 1. Modified, so if connection: close is specified, it won't try to reuse the socket
2. Added 'generateNonce' helper method
2019-02-08 15:23:10 -08:00
Bryan Roe
305f04ad2e Updated behavior, so if a websocket write occurs on a non microstack thread, and it needs to merge buffers, it will allocate off the heap instead of the stack, to prevent a stack overflow if a very large amount of data is passed in. 2019-01-29 17:14:44 -08:00
Bryan Roe
d39dcd0aa1 Fixed uncaught exception that can happen if you pause a stream with no upstream piped object. 2019-01-16 15:48:57 -08:00
Bryan Roe
979101863c Fixed bug where IncomingMessage wasn't a readable stream in 'request' emitter
Fixed edge case where Agent.keepSocketAlive wasn't always getting called
2019-01-11 13:45:43 -08:00
Ylian Saint-Hilaire
3c80473a94 Major agent update. 2018-09-05 11:01:17 -07:00
Ylian Saint-Hilaire
4b5c77b4fd Many improvements. 2018-02-11 21:11:58 -08:00
Ylian Saint-Hilaire
508646044e Much improved, better stability, lots of fixes 2018-01-12 11:50:04 -08:00