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