Jarred Sumner
7bcf60324a
Fix setTimeout(() => {}, 0) and align setImmediate behavior with Node.js ( #6674 )
...
* Fix setTimeout(() => {}, 0)
* Align `setImmediate` with Node.js
* Update event_loop.zig
* Update test
* use Bun.sleep
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-10-25 02:59:29 -07:00
Ashcon Partovi
d5d9fc4684
Fix websocket upgrade ( #6564 )
...
* Remove ancient changelog
* Fix `Host` header excluding port in WebSocket upgrade
* `byteSlice()`
* Revert `byteSlice()`
2023-10-19 22:24:45 -07:00
Ashcon Partovi
9eb8eea2a8
Implement ping(), pong(), terminate() for WebSocket client and server ( #3257 )
2023-07-13 09:39:43 -07:00
Jarred Sumner
3345a7fc3c
Allow zero length WebSocket client & server messages ( #3488 )
...
* Allow zero length WebSocket client & server messages
* Add test
* Clean this up a little
* Clean up these tests a little
* Hopefully fix the test failure in release build
* Don't copy into the receive buffer
* Less flaky
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-07-03 20:53:41 -07:00
Jarred Sumner
91c9bd9dcc
[WebSocket] Implement "nodebuffer" binaryType
2023-05-21 18:34:00 -07:00
Jarred Sumner
9ce18245d1
Remove usages of port numbers in tests
2023-03-19 16:51:13 -07:00
Ashcon Partovi
f7e4eb8369
Reorganize tests ( #2332 )
2023-03-07 12:22:34 -08:00