Age | Commit message (Collapse) | Author |
|
If another process closes the socket, the caller will
receive an abort message instead (of the select message).
OTP-15731
|
|
Add recv and recvmsg test case testing the abort message
received when "another" process closes a socket. Multiple
readers for good measure.
|
|
Add accept test case testing the abort message received
when "another" process closes a socket. Multiple accept(ors)
for good measure.
|
|
Add recvmsg test case testing the abort message received
when "another" process closes a socket. Multiple readers
for good measure.
|
|
Add recvfrom test case testing the abort message received
when "another" process closes a socket. Multiple readers
for good measure.
|
|
Document the new way to make asynchronous calls to some
of the functions: accept, all recv and all send.
OTP-15731
|
|
Make it possible for the tttest server to run with async.
|
|
Add the recvmsg(nowait) cancel for tcp IPv4 test cases.
|
|
Add the recv(nowait) cancel for tcp IPv4 test cases.
|
|
Add the accept(nowait) cancel test cases.
Also fixed some timetrap times.
|
|
Add the recvmsg(nowait) cancel test cases.
|
|
Add the (public) cancel function and the first of
the cancel test cases (recvfrom(nowait)).
|
|
Added test case api_a_sendmsg_and_recvmsg_tcp4.
|
|
Added test case api_a_send_and_recv_tcp4.
|
|
Added test case api_a_sendmsg_and_recvmsg_udp4.
|
|
Added test case api_a_sendto_and_recvfrom_udp4.
Also, fixed duplicate spec.
|
|
Update function accept and its spec(s) to handle
the Timeout value of nowait.
|
|
Update function sendmsg and its spec(s) to handle
the Timeout value of nowait.
|
|
Update function sendto and its spec(s) to handle
the Timeout value of nowait.
|
|
Add proper type(s) for the select info. Also add
a utility macro to build the term.
|
|
Update function send and its spec(s) to handle
the Timeout value of nowait.
|
|
Update function recvmsg and its spec(s) to handle
the Timeout value of nowait.
|
|
Update function recvfrom and its spec(s) to handle
the Timeout value of nowait.
Also replaced timestamp method with erlang:monotonic_time(milli_seconds).
|
|
Update function recv and its spec(s) to handle
the Timeout value of nowait.
|
|
|
|
Add condition for running the large ping-pong sendmsg/recvmsg
test case.
Also add a limit to the path creation (max number of tries).
OTP-15822
|
|
Make Unix Domain (stream) socket work with the ttest
command line tool (for esock server and client).
OTP-15822
|
|
Updated the ttest command line tool to the new API.
OTP-15822
|
|
OTP-15822
|
|
Add if-def for AF_LOCAL before using the flag.
OTP-15822
|
|
Some (Unix Domain socket) test cases fails because the
path (supposedly) already existed on a (admittedly old) gento VM.
So, we try enen harder to ensure that the path is unique...
OTP-15822
|
|
Incorrect host condition test for linux (the api timeout connect
test cases).
OTP-15822
|
|
On OpenIndiana Hipster on a Unix Domain stream socket it
may be possible to set a *large* recv buffer size, that will
actually not work. So, to avoid issues, simply skip the
traffic_ping_pong_large_send_and_recv_tcpL on that platform.
OTP-15822
|
|
On some platforms, e.g. FreeBSD, recvmsg does *not* return address
for a Unix Domain (stream) socket. Unlike, for instance, on Linux.
OTP-15822
|
|
Updated documentation with regard to Unix Domain sockets.
OTP-15822
|
|
Fixed the spec's for function open/3,4.
Also, corrected the test for retreiving resulting
protocol when performing open with proto = 0 (default)
and domain is not local. Local may not be defined
on all platforms.
OTP-15822
|
|
|
|
The socket:supports/0,1 now also displays local (Unix Domain Socket).
OTP-15822
|
|
Add ttest test case(s) for Unix Domain (stream) socket:
Server: socket with active = true
Client: socket with active = true
Message Size: small, medium and large
OTP-15822
|
|
Add ttest test case(s) for Unix Domain (stream) socket:
Server: socket with active = true
Client: socket with active = once
Message Size: small, medium and large
OTP-15822
|
|
Add ttest test case(s) for Unix Domain (stream) socket:
Server: socket with active = true
Client: socket with active = false
Message Size: small, medium and large
OTP-15822
|
|
Add ttest test case(s) for Unix Domain (stream) socket:
Server: socket with active = once
Client: socket with active = true
Message Size: small, medium and large
OTP-15822
|
|
Add ttest test case(s) for Unix Domain (stream) socket:
Server: socket with active = once
Client: socket with active = once
Message Size: small, medium and large
Also added server path cleanup when closing.
OTP-15822
|
|
Add ttest test case(s) for Unix Domain (stream) socket:
Server: socket with active = once
Client: socket with active = false
Message Size: small, medium and large
OTP-15822
|
|
Add ttest test case(s) for Unix Domain (stream) socket:
Server: socket with active = false
Client: socket with active = true
Message Size: small, medium and large
OTP-15822
|
|
Add ttest test case(s) for Unix Domain (stream) socket:
Server: socket with active = false
Client: socket with active = once
Message Size: small, medium and large
OTP-15822
|
|
The flag SO_PROTOCOL does not exist on darwin 18.2.0 (atleast).
So, creating a socket with domain =/= local using the default
protocol does not work in this case.
OTP-15822
|
|
Add ttest test case for Unix Domain (stream) socket:
Server: socket with active = false
Client: socket with active = false
Message Size: large
OTP-15822
|
|
Add ttest test case for Unix Domain (stream) socket:
Server: socket with active = false
Client: socket with active = false
Message Size: medium
OTP-15822
|
|
Add the first *working* ttest test case for Unix Domain (stream) socket:
Server: socket with active = false
Client: socket with active = false
Message Size: small
OTP-15822
|