summaryrefslogtreecommitdiff
path: root/lib/kernel
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch ↵Erlang/OTP2020-05-202-15/+221
|\ | | | | | | | | | | | | | | | | 'bmk/kernel/20200514/sctp_and_udp_recv_hangs_on_close/m22/OTP-16654' into maint-23 * bmk/kernel/20200514/sctp_and_udp_recv_hangs_on_close/m22/OTP-16654: [kernel|test] Add SCTP test case for recv socket close [kernel|test] Add UDP test case for recv socket close [erts] Inform all async(s) when closing udp/sctp socket
| * [kernel|test] Add SCTP test case for recv socket closeMicael Karlberg2020-05-151-6/+146
| | | | | | | | OTP-16654
| * [kernel|test] Add UDP test case for recv socket closeMicael Karlberg2020-05-151-9/+75
| | | | | | | | OTP-16654
* | Prepare releaseErlang/OTP2020-05-118-29/+415
| |
* | Merge branch 'lukas/23/fixes'Lukas Larsson2020-05-081-7/+7
|\ \ | | | | | | | | | | | | | | | * lukas/23/fixes: Use schedulers_online when creating bound processes kernel: Fix boot srv test on ubuntu
| * | kernel: Fix boot srv test on ubuntuLukas Larsson2020-04-301-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | For some reason ubuntu sets it's own name to be resolved to 127.0.1.1 and not 127.0.0.1. This messes with this test where the ip address that the udp messages are sent from are validated and turn out to be 127.0.0.1. So we set the ip to be whatever sovrum resolves to and don't validate the ip of the boot server.
* | | Merge PR-2619 from JeromeDeBretagne/jdb/kernel/fix-dist_util-tracingSverker Eriksson2020-05-051-3/+3
|\ \ \ | | | | | | | | Fix compilation when enabling tracing in dist_util.hrl
| * | | kernel: Fix compilation when enabling tracing in dist_utilJérôme de Bretagne2020-04-301-3/+3
| | | |
* | | | Merge branch 'bmk/esock/20200427/test_tweaking'Micael Karlberg2020-05-042-49/+42
|\ \ \ \
| * | | | [kernel|esock|test] Some os calls on windows takes a *long* timeMicael Karlberg2020-05-042-14/+41
| | | | | | | | | | | | | | | | | | | | | | | | | We try to wrap os:cmd("systeminfo") in a process spawn in order to provide a timeout.
| * | | | [esock|test] Handle Windows analyze failuresMicael Karlberg2020-04-271-46/+12
| | | | |
* | | | | Merge branch 'f3c0/loaded_application_fix/PR-2601/OTP-16627'Sverker Eriksson2020-05-031-7/+6
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | * f3c0/loaded_application_fix/PR-2601/OTP-16627: use ets:select instead of ets:filter in application:loaded_applications/0...
| * | | | use ets:select instead of ets:filter in application:loaded_applications/0Ferenc Böröczki2020-04-211-7/+6
| | |_|/ | |/| | | | | | | | | | ets:filter dies with badarg if there is a delete, while it is walking through the table
* | | | Merge branch 'john/cuddle-tests'John Högberg2020-04-301-2/+2
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | * john/cuddle-tests: lcnt_SUITE: Ignore more untoggleable locks file_name_SUITE: Darwin 19 is hopeless too
| * | | file_name_SUITE: Darwin 19 is hopeless tooJohn Högberg2020-04-241-2/+2
| | | |
* | | | Merge branch 'lukas/23/fixes'Lukas Larsson2020-04-302-14/+22
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lukas/23/fixes: docgen: Include type deprecation again epmd: Add ipaddress to epmd debug printouts erts: Extend fragment latency timeout tools: Extend prof_bench test timer tools: Polish fprof testcases erts: Fix port_bif_SUITE:busy_opts with large pipe size erts: Adjust bif test timers for extreme SMT systems kernel: Fix global many nodes tc to use less threads shell_docs: Fix strange testcase diskread errors erts: Fix erlc doc -WError error kernel: fix init_SUITE:restart_with_mode windows check otp: Cleanup top makefile from redundant build_erl_interface docgen: Don't use mod2app for seeerl type links reltool: Fix sorting of erl_libs
| * | | | kernel: Fix global many nodes tc to use less threadsLukas Larsson2020-04-291-13/+21
| | | | |
| * | | | kernel: fix init_SUITE:restart_with_mode windows checkLukas Larsson2020-04-291-1/+1
| | | | |
* | | | | Merge branch 'raimo/kernel/gen_tcp_socket-mode-switch/ERL-1234/OTP-16632'Raimo Niskanen2020-04-302-13/+51
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'raimo/kernel/gen_tcp_socket-mode-switch/ERL-1234/OTP-16632': Write test case and find out that switching from active mode to passive was not properly handled. Fix fumble of already buffered data when recv a specified number of bytes.
| * | | | | Write test case and find out that switching from active modeRaimo Niskanen2020-04-292-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | to passive was not properly handled.
| * | | | | Fix fumble of already buffered data when recv a specifiedRaimo Niskanen2020-04-291-13/+27
| | |_|_|/ | |/| | | | | | | | | | | | | number of bytes.
* | | | | Merge branch 'raimo/erts/socket-local-seqpacket/ERIERL-476/OTP-16550'Raimo Niskanen2020-04-303-18/+127
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'raimo/erts/socket-local-seqpacket/ERIERL-476/OTP-16550': Handle native option with encoded level Fix test cases for seqpacket Rename socket option variables to Opt Remove type ip_address() Honour sockaddr_storage Remove remote address field Test local,seqpacket Fix #ifdef:s for SOCK_SEQPACKET
| * | | | Fix test cases for seqpacketRaimo Niskanen2020-04-271-0/+2
| | | | |
| * | | | Remove type ip_address()Raimo Niskanen2020-04-222-11/+7
| | | | |
| * | | | Test local,seqpacketRaimo Niskanen2020-04-221-7/+118
| | |/ / | |/| |
* | | | Merge branch ↵Micael Karlberg2020-04-271-0/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 'bmk/esock/20200423/make_rcv_and_snd_timeo_options_configuarble/OTP-16620' OTP-16620
| * | | | [erts|kernel|esock|doc] Add a comment about rcvtimeo and sndtimeoMicael Karlberg2020-04-231-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The two socket options rcvtimeo (SO_RCVTIMEO) and sndtimeo (SO_SNDTIMEO) are now disabled by default. ESock can be configured to use them. OTP-16620
* | | | | Merge branch 'bmk/esock/20200422/socket_counters_type/OTP-16535'Micael Karlberg2020-04-274-30/+44
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | OTP-16535
| * | | | | [kernel] Socket counters are now a map (not a property list)Micael Karlberg2020-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | OTP-16535
| * | | | | [kernel|esock|doc] Removed the socket_counter() typeMicael Karlberg2020-04-221-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This (type) is no longer needed and therefor been removed. OTP-16535
| * | | | | [kernel|esock|test] Adjust tests to new socket counters typeMicael Karlberg2020-04-221-19/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The socket counters are now a map (instead of a property list), so (some of) the tests needed to be adjusted. OTP-16535
| * | | | | [erts|kernel|esock] Socket counters is now a mapMicael Karlberg2020-04-221-7/+16
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The socket counters type has been changed from a property list to a map. OTP-16535
* | | | | [kernel|esock|test] Open SCTP on MontaVista LinuxMicael Karlberg2020-04-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Open a SCTP socket on (our) MontaVista Linux (4.0.1) fails with esocktnosupport. This machine is old and so is the installation, so its not surprising that SCTP is not supported.
* | | | | [kernel|test] Add make targets for socket modulesMicael Karlberg2020-04-221-0/+2
| | | | |
* | | | | [kernel|esock|test] Improved host analyzerMicael Karlberg2020-04-221-343/+1001
|/ / / / | | | | | | | | | | | | Copied the host analyzer from megaco.
* | | | Revert "Prepare release"Henrik Nord2020-04-228-374/+29
| |/ / |/| | | | | | | | This reverts commit eee1f3aba92b5a741eabfa1cb6eca0632562777a.
* | | Prepare releaseErlang/OTP2020-04-228-29/+374
|/ /
* | Merge branch 'raimo/split-socket-module/OTP-16312'Raimo Niskanen2020-04-2033-50/+52204
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * raimo/split-socket-module/OTP-16312: Fix broken links in release notes Simplify code for connect() Fix syntax error for USE_ESOCK != yes Document type errcode() Try fix reading unintialized sockaddr Correct socket() type in inet Change socket wrapper tuple to use dollar tag Remove dead code Clean up return types Fix lock problems Clean up return values Use exceptions for fatal argument errors List the socket module in more places Use dedicated functions for nowait Do not use size/1 in kernel snmp: Use new API Fix documentation for supports/0-2 and is_supported/1-3 Fix dialyzer warnings Split socket module
| * | Simplify code for connect()Raimo Niskanen2020-04-171-13/+19
| | |
| * | Document type errcode()Raimo Niskanen2020-04-151-0/+25
| | |
| * | Correct socket() type in inetRaimo Niskanen2020-04-144-9/+10
| | |
| * | Change socket wrapper tuple to use dollar tagRaimo Niskanen2020-04-141-55/+55
| | |
| * | Remove dead codeRaimo Niskanen2020-04-141-2/+2
| | |
| * | Clean up return typesRaimo Niskanen2020-04-141-158/+252
| | |
| * | Clean up return valuesRaimo Niskanen2020-04-141-61/+100
| | |
| * | List the socket module in more placesRaimo Niskanen2020-04-061-0/+1
| | |
| * | Use dedicated functions for nowaitRaimo Niskanen2020-04-021-175/+186
| | |
| * | Do not use size/1 in kernelRaimo Niskanen2020-04-021-7/+7
| | |
| * | Fix documentation for supports/0-2 and is_supported/1-3Raimo Niskanen2020-04-012-107/+190
| | |
| * | Fix dialyzer warningsRaimo Niskanen2020-04-011-9/+16
| | |