aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-06-03alt_dist docs: Correct the mf_getstat descriptionLoïc Hoguin
2019-06-03Merge pull request #2246 from bjorng/bjorn/erl_interface/term-printing/OTP-15814Björn Gustavsson
Support printing of maps and funs in ei_print_term()
2019-05-29Merge branch 'sverker/seq-trace-label-old-heap-bug/ERL-700/OTP-15849' into maintSverker Eriksson
* sverker/seq-trace-label-old-heap-bug/ERL-700/OTP-15849: erts: Fix faulty spec for seq_trace:set_token/2 erts: Fix seq_trace:print/2 for arbitrary labels erts: Fix bug in seq_trace:set_token(label,_)
2019-05-29Teach ei_print_term() to print funsBjörn Gustavsson
2019-05-29Teach ei_print_term() to print mapsBjörn Gustavsson
2019-05-29Correct decoding of old funs (FUN_EXT)Björn Gustavsson
If the environment is empty, don't access the free_vars pointer and don't allocate a zero-size buffer. Better safe than sorry.
2019-05-29Merge branch 'hasse/stdlib/chars_limit_bug/OTP-15847/ERL-957' into maintHans Bolinder
* hasse/stdlib/chars_limit_bug/OTP-15847/ERL-957: stdlib: Fix a bug concerning io_lib option 'chars_limit'
2019-05-29Merge branch 'bmk/erts/esock/20190529/unix_domain_socket/OTP-15822' into maintMicael Karlberg
2019-05-29[esock|test] Add condition for running ping pong test caseMicael Karlberg
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
2019-05-29[esock|ttest] Make it possible use local for ttestMicael Karlberg
Make Unix Domain (stream) socket work with the ttest command line tool (for esock server and client). OTP-15822
2019-05-29[esock|ttest] Updated the ttest command line toolMicael Karlberg
Updated the ttest command line tool to the new API. OTP-15822
2019-05-29[esock|test] Skip some test cases on old linux(s)Micael Karlberg
OTP-15822
2019-05-29[esock] Make sure AF_LOCAL exist before usingMicael Karlberg
Add if-def for AF_LOCAL before using the flag. OTP-15822
2019-05-29[esock|test] Try even harder to make unique pathMicael Karlberg
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
2019-05-29[esock|test] Fixed host cond testMicael Karlberg
Incorrect host condition test for linux (the api timeout connect test cases). OTP-15822
2019-05-29[esock|test] Skip Unix Domain stream test case on Open IndianaMicael Karlberg
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
2019-05-29[esock|test] On some platforms recvmsg does *not* return addressMicael Karlberg
On some platforms, e.g. FreeBSD, recvmsg does *not* return address for a Unix Domain (stream) socket. Unlike, for instance, on Linux. OTP-15822
2019-05-29[esock|doc] Updated accoring to handling of Unix Domain socketMicael Karlberg
Updated documentation with regard to Unix Domain sockets. OTP-15822
2019-05-29[esock] Fixed check domain local and specsMicael Karlberg
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
2019-05-29[esock] Fixed 'typing' of type timeval on darwinMicael Karlberg
2019-05-29[esock] Update the supports functions to also display localMicael Karlberg
The socket:supports/0,1 now also displays local (Unix Domain Socket). OTP-15822
2019-05-29[esock|test] Add ttest case(s) (sst/cst/s,m,l) work for local (stream)Micael Karlberg
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
2019-05-29[esock|test] Add ttest case(s) (sst/cso/s,m,l) work for local (stream)Micael Karlberg
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
2019-05-29[esock|test] Add ttest case(s) (sst/csf/s,m,l) work for local (stream)Micael Karlberg
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
2019-05-29[esock|test] Add ttest case(s) (sso/cst/s,m,l) work for local (stream)Micael Karlberg
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
2019-05-29[esock|test] Add ttest case(s) (sso/cso/s,m,l) work for local (stream)Micael Karlberg
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
2019-05-29[esock|test] Add ttest case(s) (sso/csf/s,m,l) work for local (stream)Micael Karlberg
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
2019-05-29[esock|test] Add ttest case(s) (ssf/cst/s,m,l) work for local (stream)Micael Karlberg
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
2019-05-29[esock|test] Add ttest case(s) (ssf/cso/s,m,l) work for local (stream)Micael Karlberg
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
2019-05-29[esock] SO_PROTOCOL does not exist on darwin (18.2.0)Micael Karlberg
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
2019-05-29[esock|test] Add ttest case (ssf/csf/l) 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: large OTP-15822
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