Age | Commit message (Collapse) | Author |
|
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
|
|
Wrapped unlinking of path (for Unix Domain sockets) in a
utility function.
OTP-15822
|
|
OTP-15822
|
|
Add a sendmsg and recvmsg small ping-pong test case for
Unix Domain (dgram) socket.
OTP-15822
|
|
Add a sendmsg and recvmsg small ping-pong test case for
Unix Domain (dgram) socket.
OTP-15822
|
|
Add a sendmsg and recvmsg large ping-pong test case for
Unix Domain (stream) socket.
OTP-15822
|
|
Add a sendmsg and recvmsg medium ping-pong test case for
Unix Domain (stream) socket.
OTP-15822
|
|
Add a sendmsg and recvmsg small ping-pong test case for
Unix Domain (stream) socket.
OTP-15822
|
|
Add a sendto and recvfrom medium ping-pong test case for
Unix Domain (dgram) socket.
OTP-15822
|
|
Add a sendto and recvfrom small ping-pong test case for
Unix Domain (dgram) socket.
OTP-15822
|
|
Add a (plain) send and recv large ping-pong test case for
Unix Domain (stream) socket.
OTP-15822
|
|
Add a (plain) send and recv medium ping-pong test case for
Unix Domain (stream) socket.
OTP-15822
|
|
Add a (plain) send and recv small ping-pong test case for
Unix Domain (stream) socket.
Also fixed minor bug in setopt for level 'otp' and option
rcvbuf. Could not be changed if unix domain (stream) socket (local).
OTP-15822
|
|
Add simple (plain) send and recv chunks test case for
Unix Domain (stream) socket.
OTP-15822
|
|
Add remote shutdown(write) recvmsg response test case for
Unix Domain (stream) socket.
OTP-15822
|
|
Add remote shutdown(write) recv response test case for
Unix Domain (stream) socket.
OTP-15822
|
|
Add remote close recvmsg response test case for Unix Domain
(stream) socket.
OTP-15822
|
|
Add remote close recv response test case for Unix Domain
(stream) socket.
OTP-15822
|
|
Add local close accept response test case for Unix Domain
(stream) socket.
OTP-15822
|
|
Add local close recvmsg response test case for Unix Domain
(dgram) socket.
OTP-15822
|
|
Add local close recvfrom response test case for Unix Domain
(dgram) socket.
OTP-15822
|
|
Add local close recvmsg response test case for Unix Domain
(stream) socket.
OTP-15822
|
|
Add local close recv response test case for Unix Domain
(stream) socket.
OTP-15822
|
|
Add controlling process exit test case for Unix Domain
(stream and dgram) socket.
OTP-15822
|
|
Add a sendmsg and recvmsg test case for a unix domain (dgram) socket.
OTP-15822
|
|
Add a sendto and recvfrom test case for a unix domain (dgram) socket.
OTP-15822
|
|
Add a sendmsg and recvmsg test case for a unix domain (stream) socket.
Found and fixed a bug for the return value for the address field
for family 'local' (encoded as 'inet').
OTP-15822
|
|
Add a plain send and recv test case for a unix domain (stream) socket.
OTP-15822
|
|
Corrected various issues and added missing stuff.
Default protocol is now indicated with the atom 'default'
instead of the atom 'null'. Also let the underlying OS
decide what protocol is actually the default protocol.
OTP-15822
|
|
Without this I wasn't able to compile the debug emulator, the compilation
would fail with "section attribute is specified on redeclared variable" errors.
|
|
* bjorn/erts/fix-wrong-class/ERIERL-367/OTP-15834:
Fix sticky class in exception
|
|
|
|
'bmk/erts/esock/20190517/nsupports_options_tcp_invalid_flags/OTP-15827' into maint
|
|
When catching an exception re-throwing with a changed
class, the class could be changed to the original class
if the exception got caught and rethrown in (for example)
an after block:
sticky_class() ->
try
try
throw(reason)
catch
throw:Reason:Stack ->
erlang:raise(error, Reason, Stack)
end
after
ok
end.
|
|
We no longer use clock_gettime to get time. Instead we use
enif_monotonic_time(ERL_NIF_USEC) and enif_time_offset(ERL_NIF_USEC).
OTP-15566, OTP-15686
|
|
Explicitly autoconf check for functions localtime_r and
strftime, which are used in prettyfying timestamps. Also
make use of the results from these checks (HAVE_...)
If not found, timestamps will just be an integer
(which is better then nothing).
OTP-15566
|
|
The usage of the function clock_gettime(CLOCK_REALTIME, ...)
has been replaced with enif_monotonic_time(ERL_NIF_USEC) and
enif_time_offset(ERL_NIF_USEC). For now its if-def'ed so that
we still *can* use clock_gettime, but for the momemnt its
not used even if its available.
OTP-15566, OTP-15686
|
|
* sverker/erts/socket-leak-fix:
erts: Fix memory leaks in socket_nif
erts: Fix dealloction bug in socket_nif
|