Ciro Spaciari
c23579d66c
feat(http2) Client Support ( #6761 )
...
* init
* WIP fix post data/refactor
* make it compile again
* more things
* undo padding and continue + fix posting + update lshpack
* re-add fixes
* really simple tests + fixes
* add aborted event
* fix trailers
* add getDefaultSettings, getPackedSettings and getUnpackedSettings
* fix + fmt
* fixes
* fix enablePush o be boolean
* fix sendTrailers
* fmt
* fix goaway, fix some error messages
* oops
* revert some changes
* more reverts
* WIP
* get CMAKE building lspack + ping behavior
* remove files that should not be added anymore
* remove old out files
* remove old file
* fix header reduce
* bunch of fixes
* fix socket unref
* fix abort signal, rebase and fmt
* socket unref tests
* oops re-add cmake
* fix stream state
* more tests and fixes
* fixes and ping tests
* lshpack in Dockerfile
* just copy lshpack
* oops
* fix end
* wantTrailers
* encode/decode fixes + grpc
* channel credentials test
* rebase
* support h2c
* fix h2c
* fix h2c connect event + h2c tests
* 'copy ls-hpack
* ls-hpack build sh
* oops
* changing CMake + Docker
* add ps1 build for ls-hpack fix clean
* optimizations + fixes
* remove protect/unprotect from handlers
* more consistent errors
* fix error code
* oops
* add goaway tests
* oops uncoment tests
* better errors more tests
* add broken priority frame
* better memory leak, some fixes and less flask tests
* zig update .Big -> .big
* closer threshold + h2 fix
* remove log
* test should not be flask
* increase timeout on leak memory test
* windows build
* less flasky
* always 127.0.0.1
* [autofix.ci] apply automated fixes
* remove .call and use primordials
* apply socket fix
* fix win-build
* should properly mark inactive
* postgres fix
* increase deadline
* test tests
* high light deadline timeouts
* event loop test
* make memory leak test faster
* use buffer on payload test
* check for socket.data before use
* reduce iterations to see if timeout on mac intel
* fix assertions
* avoid localhost and simplify things
* refactor memory leak test
* Update src/js/node/tls.js
* fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: cirospaciari <ciro.spaciai@gmail.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-11-17 18:14:54 -08:00
dave caruso
72bdd380af
add Socket.prototype; lol ( #5945 )
2023-09-29 15:42:06 -07:00
dave caruso
e8d58f24af
fix(runtime): emit node:net connect error event vs throw ( #5336 )
...
* fix(runtime): emit `node:net` connect error event vs throw
* oops
* finally
* ok
* we are good
2023-09-14 17:30:30 -07:00
dave caruso
6f8a393492
fix(node:net): emit close event on connection error ( #4336 )
...
* emit close event on connection error
* re-review
* add test
2023-09-05 16:59:40 -07:00
Ciro Spaciari
63e2d78e76
[node:net] fix createConnection options passing ( #3101 )
...
* fixup createConnection
* fix comment
* fixup comment
* also fix it on tls
2023-05-28 13:20:32 -07:00
Colin McDonnell
a5f92224b5
Fix types ( #2453 )
...
* WIP
* WIP
* WIP
* WIP
* Improve typechecking in type files
* Fix typechecking
* Update
* Update submodule
* CI for typechecking
* Add ci
* Update commands
* Format after build
* Dont use bunx
* Rename job
* Use nodemodules prettier
* Update workflow
* Use symlink
* Debug
* Debug
* Clean up and rename jobs
2023-03-22 15:01:01 -07:00
Jarred Sumner
9ce18245d1
Remove usages of port numbers in tests
2023-03-19 16:51:13 -07:00
Ciro Spaciari
ac9f8c0e93
feat(net.createServer) and adds socket.connect IPC support ( #2337 )
...
* added net.Server
* fix fmt
* fix cast and move test
* fix node-net.tests.ts but breaks server data receive
* fix end and close only emitting when data or pipe was added
* fix socket starting paused
* add echo test
* fix fmt
* fix fmt
* on close if the socket is paused, keep paused until the user resumes it to match node behavior
* resume on connect
* fix getConnections, error on close, make _Handler private and create symbols for SocketServerHandlers
* add path support (IPC)
* fix unix domains support, add connect unix tests
* fix unix socket tests
* emit listening and listening error on next tick
* fix connection flask test
* try fix connect error on macos test
* merge connection and drop tests
* added exclusive option
* fix socket.zig fmt
* fix validation for options and add test for it
* pass prettier fmt
2023-03-13 16:42:35 -07:00
Ashcon Partovi
f7e4eb8369
Reorganize tests ( #2332 )
2023-03-07 12:22:34 -08:00