diff options
| author | lithdew <kenta@lithdew.net> | 2021-05-05 16:09:08 +0900 |
|---|---|---|
| committer | lithdew <kenta@lithdew.net> | 2021-05-05 16:09:08 +0900 |
| commit | c75ae8b66d57d9e7c195121e1d8d8ff5ca98e73d (patch) | |
| tree | 6edc6ae92d6471fd26c625af568a87078fb81f54 /lib/std/Thread/ResetEvent.zig | |
| parent | 785a6c1aa9a7979a962db9d741a53897c423cb92 (diff) | |
| download | zig-c75ae8b66d57d9e7c195121e1d8d8ff5ca98e73d.tar.gz zig-c75ae8b66d57d9e7c195121e1d8d8ff5ca98e73d.zip | |
x/net: fix tcp tests for openbsd and add missing `fmt` import
On OpenBSD, connecting to a newly-allocated port on an unspecified IPv4
host address causes EINVAL. This was found by @mikdusan when running TCP
tests on OpenBSD.
This commit fixes TCP tests on OpenBSD by having all tests that allocate
a new host-port pair to have the host IPv4/IPv6 address point to the
host's loopback adapter (on localhost).
Diffstat (limited to 'lib/std/Thread/ResetEvent.zig')
0 files changed, 0 insertions, 0 deletions
