diff options
author | 2023-06-14 23:29:36 -0300 | |
---|---|---|
committer | 2023-06-14 19:29:36 -0700 | |
commit | e6d4b3a89ac6631f54276a21d82d41f91fd41c76 (patch) | |
tree | 17308fa0b27544c5590d111ceea7b46d79803681 /src/bun.js/bindings/ZigGlobalObject.cpp | |
parent | 0f131a976e637669ab3ac44f53af6227a24f6900 (diff) | |
download | bun-e6d4b3a89ac6631f54276a21d82d41f91fd41c76.tar.gz bun-e6d4b3a89ac6631f54276a21d82d41f91fd41c76.tar.zst bun-e6d4b3a89ac6631f54276a21d82d41f91fd41c76.zip |
[Bun.serve] fix `Bun.serve` argument check (#3314)
* fixup checks
* throw when tls is not a object also fix socket
* fix error message
* null or undefined on tls option in Bun.serve or sockets should not throw
* add tests
* fix tests and socket validation
* remove unnecessary check
* add listen tests
Diffstat (limited to 'src/bun.js/bindings/ZigGlobalObject.cpp')
0 files changed, 0 insertions, 0 deletions