Age | Commit message (Collapse) | Author |
|
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
|
|
* bjorn/erts/fix-wrong-class/ERIERL-367/OTP-15834:
Fix sticky class in exception
|
|
quick and dirty renaming. the reason why is because AIX has some
network function names prefixed with "n" for spec compliant
versions, and the unprefixed versions are just redfined or are
wrappers. as such, rename the erts/ei functions with these names.
fixes compile on IBM i 7.3
|
|
|
|
|
|
|
|
|
|
|
|
I suspect XCOFF shenanigans.
|
|
|
|
Would raise badarg if Label was not atom or small integer.
|
|
If internal seq-trace tuple is on old heap
an incorrect ref from old to new heap was made.
|
|
jhogberg/john/erts/seq-trace-on-spawn/OTP-15232/ERL-700
Propagate seq_trace tokens to spawned processes
|
|
Without this I wasn't able to compile the debug emulator, the compilation
would fail with "section attribute is specified on redeclared variable" errors.
|
|
* john/misc-fixes-and-additions:
beam_validator: Fail when trying to set the type of a dead value
beam_validator: Fix bad comment formatting/wording
erts: Assert that GC should not be disabled twice
|
|
The erlang:phash2 functions did not yield even if the input was very
large and a call to one of the functions did only consume a single
reduction. This commit fixes these problems.
|
|
* maint:
Fix sticky class in exception
|
|
* 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
|
|
file: allow open/2 to work on directories
OTP-15835
|
|
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
|
|
Make the swap instruction known to the compiler
|
|
BEAM has had a `swap` instruction for several releases, but it was not
known to the compiler. The loader would translate a sequence of three
`move` instructions to the `swap` instructions, but only when it was
possible to determine that it would be safe.
By making `swap` known to the compiler, it can be applied in more
situations since it is easier for the compiler than for the loader
to ensure that the usage is safe, and the loader shenanigans can be
eliminated.
|
|
* sverker/erts/socket-leak-fix:
erts: Fix memory leaks in socket_nif
erts: Fix dealloction bug in socket_nif
|
|
In the TCP options nsupports function, invalid flags where used
in the if-def'ing. Used TCP_ instead of TCP_MAXSEG and TCP_NODELAY.
OTP-15827
|