Zig Version
0.15.1, 0.15.2, 0.16.0-dev.2471+e9eadee00
Steps to Reproduce and Observed Behavior
I noticed compilation issues in std.http.Client.connectUnix in Zig 0.15.1 and 0.15.2.
In both versions, compiling results in the following error:
/Users/sandbox-macos/.zvm/0.15.1/lib/std/http/Client.zig:1475:60:
error: struct 'http.Client.ConnectionPool' has no member named 'Node'
const conn = try client.allocator.create(ConnectionPool.Node);
The same function also fails to compile in 0.16.0-dev.2471+e9eadee00, but with a different error:
/Users/sandbox-macos/.zvm/master/lib/std/http/Client.zig:1469:58:
error: root source file struct 'posix' has no member named 'SocketError'
pub const ConnectUnixError = Allocator.Error
|| std.posix.SocketError
|| error{NameTooLong}
|| std.posix.ConnectError;
It appears that std.posix.SocketError and std.posix.ConnectError do not exist in the std.posix module.
For the 0.16.0-dev.2471+e9eadee00 case, I assume this may be due to an in-progress or incomplete implementation.
However, for 0.15.1 and 0.15.2, I would like to ask:
Is there a known fix for this issue?
Or is there a recommended workaround or alternative approach for using Unix domain sockets with std.http.Client in these versions?
Thanks in advance for any clarification or guidance.
Expected Behavior
Compile successful.
### Zig Version
0.15.1, 0.15.2, 0.16.0-dev.2471+e9eadee00
### Steps to Reproduce and Observed Behavior
I noticed compilation issues in std.http.Client.connectUnix in Zig 0.15.1 and 0.15.2.
In both versions, compiling results in the following error:
```
/Users/sandbox-macos/.zvm/0.15.1/lib/std/http/Client.zig:1475:60:
error: struct 'http.Client.ConnectionPool' has no member named 'Node'
const conn = try client.allocator.create(ConnectionPool.Node);
```
The same function also fails to compile in 0.16.0-dev.2471+e9eadee00, but with a different error:
```
/Users/sandbox-macos/.zvm/master/lib/std/http/Client.zig:1469:58:
error: root source file struct 'posix' has no member named 'SocketError'
pub const ConnectUnixError = Allocator.Error
|| std.posix.SocketError
|| error{NameTooLong}
|| std.posix.ConnectError;
```
It appears that std.posix.SocketError and std.posix.ConnectError do not exist in the std.posix module.
For the 0.16.0-dev.2471+e9eadee00 case, I assume this may be due to an in-progress or incomplete implementation.
However, for 0.15.1 and 0.15.2, I would like to ask:
Is there a known fix for this issue?
Or is there a recommended workaround or alternative approach for using Unix domain sockets with std.http.Client in these versions?
Thanks in advance for any clarification or guidance.
### Expected Behavior
Compile successful.