commit
1477b64d4f
2
NEWS
2
NEWS
|
@ -5,6 +5,8 @@ ver 0.21.4 (not yet released)
|
|||
* output
|
||||
- httpd: declare protocol "HTTP/1.1" instead of "ICY"
|
||||
* remove libwrap support
|
||||
* Windows
|
||||
- fix "Failed to accept connection: unknown error"
|
||||
* fix Haiku build
|
||||
|
||||
ver 0.21.3 (2018/11/16)
|
||||
|
|
|
@ -102,7 +102,7 @@ PoorSocketPair(int fd[2])
|
|||
assert (fd != nullptr);
|
||||
|
||||
UniqueSocketDescriptor listen_socket;
|
||||
if (!listen_socket.CreateNonBlock(AF_INET, SOCK_STREAM, IPPROTO_TCP))
|
||||
if (!listen_socket.Create(AF_INET, SOCK_STREAM, IPPROTO_TCP))
|
||||
throw MakeSocketError("Failed to create socket");
|
||||
|
||||
if (!listen_socket.Bind(IPv4Address(IPv4Address::Loopback(), 0)))
|
||||
|
|
Loading…
Reference in New Issue