aboutsummaryrefslogtreecommitdiffstats
path: root/erts
AgeCommit message (Collapse)Author
2019-05-29[esock|test] Add ttest case (ssf/csf/m) work for local (stream)Micael Karlberg
Add ttest test case for Unix Domain (stream) socket: Server: socket with active = false Client: socket with active = false Message Size: medium OTP-15822
2019-05-29[esock|test] Made the first ttest case (ssf/csf/s) work for local (stream)Micael Karlberg
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
2019-05-29[esock|test] Improved the path "unlink"Micael Karlberg
Wrapped unlinking of path (for Unix Domain sockets) in a utility function. OTP-15822
2019-05-29[esock|test] Preliminary Domain = local update for ttestMicael Karlberg
OTP-15822
2019-05-29[esock|test] Add sendmsg/recvmsg medium ping-pong test case for local (dgram)Micael Karlberg
Add a sendmsg and recvmsg small ping-pong test case for Unix Domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add sendmsg/recvmsg small ping-pong test case for local (dgram)Micael Karlberg
Add a sendmsg and recvmsg small ping-pong test case for Unix Domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add sendmsg/recvmsg large ping-pong test case for local (stream)Micael Karlberg
Add a sendmsg and recvmsg large ping-pong test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add sendmsg/recvmsg medium ping-pong test case for local (stream)Micael Karlberg
Add a sendmsg and recvmsg medium ping-pong test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add sendmsg/recvmsg small ping-pong test case for local (stream)Micael Karlberg
Add a sendmsg and recvmsg small ping-pong test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add sendto/recvfrom medium ping-pong test case for localMicael Karlberg
Add a sendto and recvfrom medium ping-pong test case for Unix Domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add sendto/recvfrom small ping-pong test case for localMicael Karlberg
Add a sendto and recvfrom small ping-pong test case for Unix Domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add plain send/recv large ping-pong test case for localMicael Karlberg
Add a (plain) send and recv large ping-pong test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add plain send/recv medium ping-pong test case for localMicael Karlberg
Add a (plain) send and recv medium ping-pong test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add plain send/recv small ping-pong test case for localMicael Karlberg
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
2019-05-29[esock|test] Add simple plain send and recv test case for local (stream)Micael Karlberg
Add simple (plain) send and recv chunks test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add remote shutdown recvmsg test case for local (stream)Micael Karlberg
Add remote shutdown(write) recvmsg response test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add remote shutdown (plain) recv test case for local (stream)Micael Karlberg
Add remote shutdown(write) recv response test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add remote close recvmsg test case for local (stream)Micael Karlberg
Add remote close recvmsg response test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add remote close (plain) recv test case for local (stream)Micael Karlberg
Add remote close recv response test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add local close accept test case for local (stream)Micael Karlberg
Add local close accept response test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add local close recvmsg test case for local (dgram)Micael Karlberg
Add local close recvmsg response test case for Unix Domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add local close recvfrom test case for local (dgram)Micael Karlberg
Add local close recvfrom response test case for Unix Domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add local close recvmsg test case for local (stream)Micael Karlberg
Add local close recvmsg response test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add local close (plain) recv test case for localMicael Karlberg
Add local close recv response test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add controlling process test case for localMicael Karlberg
Add controlling process exit test case for Unix Domain (stream and dgram) socket. OTP-15822
2019-05-29[esock|test] Add (dgram) sendmsg and recvmsg test case for localMicael Karlberg
Add a sendmsg and recvmsg test case for a unix domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add (dgram) sendto and recvfrom test case for localMicael Karlberg
Add a sendto and recvfrom test case for a unix domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add (stream) sendmsg and recvmsg test case for localMicael Karlberg
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
2019-05-29[esock|test] Add plain (stream) send and recv test case for localMicael Karlberg
Add a plain send and recv test case for a unix domain (stream) socket. OTP-15822
2019-05-29[esock] Finalize handling of Unix Domain SocketMicael Karlberg
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
2019-05-29Merge pull request #2254 from trofi/master/OTP-15853Lukas Larsson
erts: don't loop indefinitely on --enable-pgo
2019-05-29Merge pull request #2252 from michalmuskala/debug-fixLukas Larsson
Add missing attribute to debug variable
2019-05-29Merge branch 'kuroneer/multiple-mode-flags/OTP-15852' into maintLukas Larsson
* kuroneer/multiple-mode-flags/OTP-15852: Update preloaded modules Add comment to doc regarding multiple -mode flags Extra -mode flags are ignored with a warning
2019-05-28Add missing attribute to debug variableMichał Muskała
Without this I wasn't able to compile the debug emulator, the compilation would fail with "section attribute is specified on redeclared variable" errors.
2019-05-27Merge branch 'sverker/etp-fixing' into maintSverker Eriksson
* sverker/etp-fixing: erts: Mend etp-search-heaps erts: Fix etp-commands print of 64-bit pointers
2019-05-27erts: Mend etp-search-heapsSverker Eriksson
2019-05-27erts: Fix etp-commands print of 64-bit pointersSverker Eriksson
Use %p instead of %x to print full pointer value.
2019-05-27erts: don't loop indefinitely on --enable-pgoSergei Trofimovich
In https://bugs.gentoo.org/686786 gcc-9.1.0 exposed a bug in erts/configure: if compiler does not support PGO flags the configure process calls 'yes = yes' (indefinite loop) instead of 'test yes = yes'. The change does not fix gcc-9.1.0 PGO detection but fixes ./configure termination. Reported-by: Dennis Schridde Bug: https://bugs.gentoo.org/686786 Signed-off-by: Sergei Trofimovich <[email protected]>
2019-05-27Update preloaded modulesLukas Larsson
2019-05-24Merge branch 'bjorn/erts/fix-wrong-class/ERIERL-367/OTP-15834' into maintBjörn Gustavsson
* bjorn/erts/fix-wrong-class/ERIERL-367/OTP-15834: Fix sticky class in exception
2019-05-24Merge branch 'bmk/erts/esock/timestamps/OTP-15566' into maintMicael Karlberg
2019-05-23Merge branch ↵Micael Karlberg
'bmk/erts/esock/20190517/nsupports_options_tcp_invalid_flags/OTP-15827' into maint
2019-05-23Fix sticky class in exceptionBjörn Gustavsson
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.
2019-05-22Merge branch 'sverker/erts/system_monitor-doc/ERL-936' into maintSverker Eriksson
* sverker/erts/system_monitor-doc: erts: Add some erl_nif doc clarifications erts: Clarify erlang:system_monitor/2 semantics
2019-05-22erts: Add some erl_nif doc clarificationsSverker Eriksson
2019-05-22erts: Clarify erlang:system_monitor/2 semanticsSverker Eriksson
2019-05-22[esock] Removed (use of) clock_gettimeMicael Karlberg
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
2019-05-22[esock] Explicitly (configure) check for time functionsMicael Karlberg
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
2019-05-22[esock] Replace usage of clock_gettime(CLOCK_REALTIME, ...)Micael Karlberg
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
2019-05-21Merge branch 'sverker/erts/socket-leak-fix/OTP-15830' into maintSverker Eriksson
* sverker/erts/socket-leak-fix: erts: Fix memory leaks in socket_nif erts: Fix dealloction bug in socket_nif