aboutsummaryrefslogtreecommitdiffstats
path: root/erts
AgeCommit message (Collapse)Author
2019-06-14Merge branch 'bmk/erts/esock/20190528/pattern' into maintMicael Karlberg
2019-06-14[esock|test] Ensure only "real" IPv6 address'es are acceptedMicael Karlberg
When geting the local address, make sure we don't accept the loopback address.
2019-06-14Merge branch 'bmk/erts/esock/20190529/expose_select_to_the_caller/OTP-15731' ↵Micael Karlberg
into maint
2019-06-13Merge branch 'maint-22' into maintJohn Högberg
* maint-22: Updated OTP version Prepare release # Conflicts: # make/otp_version_tickets
2019-06-12Merge pull request #2282 from legoscia/doc-typosBjörn Gustavsson
Fix some documentation typos
2019-06-12Merge branch 'raimo/incomplete-socket-close/ERIERL-353/OTP-15370' into maintRaimo Niskanen
* raimo/incomplete-socket-close/ERIERL-353/OTP-15370: Copy linger zero flag from listen socket Test linger zero flag from listen socket
2019-06-12Fix some documentation typosMagnus Henoch
2019-06-12Prepare releaseErlang/OTP
2019-06-12Merge branch ↵Erlang/OTP
'sverker/erts/process-info-reductions-idle-proc/ERL-964/OTP-15865' into maint-22 * sverker/erts/process-info-reductions-idle-proc/ERL-964/OTP-15865: erts: Improve test of process_info(reductions) Revert "erts: Force process_info(reductions) as signal"
2019-06-12Merge branch 'sverker/erts/break-p-segv/ERL-965/OTP-15873' into maint-22Erlang/OTP
* sverker/erts/break-p-segv/ERL-965/OTP-15873: erts: Fix SEGV crash on shell break (p)roc info
2019-06-11Merge branch 'john/erts/fix-bad-get_tuple_element-opt/OTP-15871/ERIERL-374' ↵John Högberg
into maint * john/erts/fix-bad-get_tuple_element-opt/OTP-15871/ERIERL-374: erts: Fix bad loader optimization of get_tuple_element
2019-06-10Merge branch 'sverker/erts/hipe-arm-freebsd-clear-cache/ERL-958' into maintSverker Eriksson
OTP-15874 PR-2266 * sverker/erts/hipe-arm-freebsd-clear-cache/ERL-958: erts: Fix hipe_flush_icache_range for FreeBSD on ARM
2019-06-10erts: Fix hipe_flush_icache_range for FreeBSD on ARMSverker Eriksson
Avoid old Linux specific syscall assembler if we can.
2019-06-10Merge branch ↵Sverker Eriksson
'sverker/erts/process-info-reductions-idle-proc/ERL-964/OTP-15865' into maint * sverker/erts/process-info-reductions-idle-proc/ERL-964/OTP-15865: erts: Improve test of process_info(reductions) Revert "erts: Force process_info(reductions) as signal"
2019-06-10erts: Improve test of process_info(reductions)Sverker Eriksson
to provoke case when the main lock is released during execution.
2019-06-10Merge branch 'sverker/erts/break-p-segv/ERL-965/OTP-15873' into maintSverker Eriksson
* sverker/erts/break-p-segv/ERL-965/OTP-15873: erts: Fix SEGV crash on shell break (p)roc info
2019-06-10erts: Fix bad loader optimization of get_tuple_elementJohn Högberg
The following sequence would be wrongly optimized into a i_get_tuple_element2 instruction, reading an element from the wrong tuple: {get_tuple_element,{x,0},1,{x,0}}. {get_tuple_element,{x,0},2,{x,1}}.
2019-06-04erts: Fix SEGV crash on shell break (p)roc infoSverker Eriksson
esdp==NULL if run by non scheduler thread.
2019-06-04Revert "erts: Force process_info(reductions) as signal"Sverker Eriksson
This reverts commit 70dbf671a8196110d2aee2e7507afc2c2c75183f. As the comment of 70dbf671a8 itself indicates, that "fix" is not really necessary. It has, however, the bad effect of always consuming reductions of the process you want to know reduction from, that is you can't meassure reduction count without affecting it.
2019-06-04[esock] Add pattern to socket descriptorMicael Karlberg
Add a pattern field to the (beginning of the) socket descriptor. To make it more easy to spot memory over-writes. One pattern for create and one for dtor. Also reset various fields of the descriptor at dtor.
2019-06-04[esock] Post rebase cleanupMicael Karlberg
Rebase (on maint as of 20190529) resulted in a number of issues. Mostly in the (esock) test suite. OTP-15731
2019-06-04Merge branch 'maint-21' into maintIngela Anderton Andin
* maint-21: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # erts/doc/src/notes.xml # erts/vsn.mk # lib/kernel/doc/src/notes.xml # lib/kernel/src/kernel.appup.src # lib/kernel/vsn.mk # lib/ssl/doc/src/notes.xml # lib/ssl/vsn.mk # lib/stdlib/doc/src/notes.xml # lib/stdlib/src/stdlib.appup.src # lib/stdlib/vsn.mk # make/otp_version_tickets # otp_versions.table
2019-06-03Merge branch 'maint-22' into maintHans Bolinder
* maint-22: Updated OTP version Prepare release # Conflicts: # make/otp_version_tickets
2019-06-03Prepare releaseErlang/OTP
2019-06-03Merge branch ↵Erlang/OTP
'sverker/seq-trace-label-old-heap-bug/ERL-700/OTP-15849/OTP-15858/OTP-15859' into maint-21 * sverker/seq-trace-label-old-heap-bug/ERL-700/OTP-15849/OTP-15858/OTP-15859: 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-06-03Merge branch 'bjorn/erts/fix-wrong-class/ERIERL-367/OTP-15834' into maint-21Erlang/OTP
* bjorn/erts/fix-wrong-class/ERIERL-367/OTP-15834: Fix sticky class in exception
2019-05-29[esock|test] Fixed a ttest scriptMicael Karlberg
The script used the wrong variable for active (async).
2019-05-29[esock] Found and fixed some weirdness on darwinMicael Karlberg
Tests on Darwin Kernel Version 18.2.0 reveled some problems handling connect (on that platform). It seems that calling connect the second time is not needed (it results in eisconn), so we needed to handle that case, which we now do.
2019-05-29[esock] Types and cleanupMicael Karlberg
Changed tag type tpo opaque. Also added connect (monitor and process) cleanup. OTP-15731
2019-05-29[esock] Connect can now also take a nowait TimeoutMicael Karlberg
Had forgot about the connect function. But it can now also handle the Timeout = nowait, maybe resulting in a select. Required some nif work also... OTP-15731
2019-05-29[esock|doc] Make select_ref opaqueMicael Karlberg
OTP-15731
2019-05-29[esock|test] Attempt to create a ttest reportMicael Karlberg
Attempted to implement a common report function for the time test (ttest). Not complete.
2019-05-29[esock|test] Fixed async ttestMicael Karlberg
Updated the ttest test(s) to handle async properly. OTP-15731
2019-05-29[esock|doc] Update with regard to the new select returnsMicael Karlberg
2019-05-29[esock] Changed return value for a selected async callMicael Karlberg
The return value for an async call (Timeout = nowait) will now (normally) result in a {select, SelectInfo} instead (if a select was performed). OTP-15731
2019-05-29[esock|doc] Add text about the abort messageMicael Karlberg
If another process closes the socket, the caller will receive an abort message instead (of the select message). OTP-15731
2019-05-29[esock|test] Add multi async recv and recvmsg TCP test case(s)Micael Karlberg
Add recv and recvmsg test case testing the abort message received when "another" process closes a socket. Multiple readers for good measure.
2019-05-29[esock|test] Add multi async accept TCP test caseMicael Karlberg
Add accept test case testing the abort message received when "another" process closes a socket. Multiple accept(ors) for good measure.
2019-05-29[esock|test] Add multi async recvmsg UDP test caseMicael Karlberg
Add recvmsg test case testing the abort message received when "another" process closes a socket. Multiple readers for good measure.
2019-05-29[esock|test] Add multi async recvfrom UDP test caseMicael Karlberg
Add recvfrom test case testing the abort message received when "another" process closes a socket. Multiple readers for good measure.
2019-05-29[esock|doc] Document the new asynchronous featureMicael Karlberg
Document the new way to make asynchronous calls to some of the functions: accept, all recv and all send. OTP-15731
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-29[socket|test] Add async to ttestMicael Karlberg
Make it possible for the tttest server to run with async.
2019-05-29[socket] Add recvmsg(nowait) cancel on tcp test caseMicael Karlberg
Add the recvmsg(nowait) cancel for tcp IPv4 test cases.
2019-05-29[socket] Add recv(nowait) cancel on tcp test caseMicael Karlberg
Add the recv(nowait) cancel for tcp IPv4 test cases.
2019-05-29[socket] Add accept(nowait) cancel test caseMicael Karlberg
Add the accept(nowait) cancel test cases. Also fixed some timetrap times.
2019-05-29[socket] Add recvmsg(nowait) cancel test caseMicael Karlberg
Add the recvmsg(nowait) cancel test cases.
2019-05-29[socket] Add cancel and the first recvfrom(nowait) cancel test caseMicael Karlberg
Add the (public) cancel function and the first of the cancel test cases (recvfrom(nowait)).
2019-05-29[socket] Add nowait test case (sendmsg and recvmsg tcp4)Micael Karlberg
Added test case api_a_sendmsg_and_recvmsg_tcp4.
2019-05-29[socket] Add nowait test case (send and recv tcp4)Micael Karlberg
Added test case api_a_send_and_recv_tcp4.