aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-05-23Merge branch 'sverker/enif_select-testing'Sverker Eriksson
* sverker/enif_select-testing: erts: Fix nif_SUITE:monitor_frenzy for threadless erts: Improve message flush in nif_SUITE erts: Test monitor resource destructor from thread
2017-05-23erts: Fix nif_SUITE:monitor_frenzy for threadlessSverker Eriksson
2017-05-23erts: Improve message flush in nif_SUITESverker Eriksson
Pass number of expected messages in order to wait longer for messages (for slow machines) while not wasting test time waiting for nothing.
2017-05-23erts: Test monitor resource destructor from threadSverker Eriksson
which is scheduled on non-smp VM.
2017-05-23Correct handling of module name in compile:forms/1,2Björn Gustavsson
compile:forms/1,2 is documented to return: {ok,ModuleName,BinaryOrCode} However, if one of the options 'from_core', 'from_asm', or 'from_beam' is given, ModuleName will be returned as []. A worse problem is that is that if one those options are combined with the 'native' option, compilation will crash. Correct compile:forms/1,2 to pick up the module name from the forms provided (either Core Erlang, Beam assembly code, or a Beam file). Reported here: https://bugs.erlang.org/browse/ERL-417
2017-05-23dtls: Check for retransmitted changes_cipher_spec messagesIngela Anderton Andin
Make sure to use current epoch as input to send_handshake_flight.
2017-05-23dtls: Ask for next DTLS record when disregarding future packetIngela Anderton Andin
2017-05-23Fix httpc timeout for redirectsJohannes Weißl
Probably since 6153ba7 (OTP R13B04) the httpc timeout setting does not work for redirects (when autoredirect is true). With this patch a new timer is started for the new (redirected) requests. This means that a simple redirected request could return after 2*timeout milliseconds. This is the first part to fix https://bugs.erlang.org/browse/ERL-420
2017-05-22kernel: Skip ipv6 tcs when cpiv6 is disabledLukas Larsson
For some reason doing a gen_udp:open(0, [inet6,{ipv6_v6only,true}]) works on some systems where ipv6 is disabled. So instead we explicitly require the localhost ip to do the test at which seems to work better. ipv6 was disabled in sysctl using the line net.ipv6.conf.all.disable_ipv6=1 when this behaviour was found.
2017-05-22Merge branch 'hasse/stdlib/linter_check_dialyzer/OTP-14323'Hans Bolinder
* hasse/stdlib/linter_check_dialyzer/OTP-14323: stdlib: Warn for bad type variables of parameterized types
2017-05-22Merge branch 'hasse/dialyzer/fix_type_variable_bug/OTP-14423'Hans Bolinder
* hasse/dialyzer/fix_type_variable_bug/OTP-14423: dialyzer: Warn for bad type variables of parameterized types mnesia: Correct a type declaration
2017-05-22dialyzer: Warn for bad type variables of parameterized typesHans Bolinder
As of commit 854ee8b (Erlang/OTP 18) warnings about using '_' as type variable in parameterized types have not been output. The code of erl_types:t_var_names() is corrected. The spec is also corrected (thanks to Kostis for pointing out the bug).
2017-05-22mnesia: Correct a type declarationHans Bolinder
2017-05-22Return error tuple on unicode normalization functionsJosé Valim
Prior to this patch, the normalization functions in the unicode module would raise a function clause error for non-utf8 binaries. This patch changes it so it returns {error, SoFar, Invalid} as characters_to_binary and characters_to_list does in the unicode module. Note string:next_codepoint/1 and string:next_grapheme had to be changed accordingly and also return an error tuple.
2017-05-22stdlib: Warn for bad type variables of parameterized typesHans Bolinder
The linter emits warnings about using '_' as type variable in parameterized types.
2017-05-22Merge branch 'raimo/gen_statem-dev'Raimo Niskanen
* raimo/gen_statem-dev: Fix documentation details
2017-05-22Fix documentation detailsRaimo Niskanen
2017-05-22Merge branch 'ingela/dtls/windows-econnreset'Ingela Anderton Andin
* ingela/dtls/windows-econnreset: ssl: Handle econnreset windows obscurities
2017-05-22ssl: Handle econnreset windows obscuritiesIngela Anderton Andin
An UDP socket does note have a connection and should not recive econnreset, however this happens on on some windows versions. Just ignoring it appears to make things work as expected!
2017-05-22Merge branch 'hans/ssh/trim_state'Hans Nilsson
2017-05-22Merge branch 'hans/ssh/rsa-sha2-star_hostkey'Hans Nilsson
2017-05-22ssh: remove extra options copy from internal stateHans Nilsson
2017-05-22ssh: fix the rsa-sha2-* hostkey verify errorHans Nilsson
2017-05-22ssh: Handle if server-sig-algs and client has empty intersectionHans Nilsson
In case server-sig-algs names only algorithms unknown to the client, the client will try with the ones it knows
2017-05-22Revert "ssh: disable rsa-sha2-* for clients"Hans Nilsson
This reverts commit 4d7ff0a8169141d18335638cf7c6e48d4c18cdf2.
2017-05-22Merge branch 'ingela/ssl/ECDH_ECDSA/ERL-381/OTP-14421'Ingela Anderton Andin
* ingela/ssl/ECDH_ECDSA/ERL-381/OTP-14421: ssl: Improve tests ssl: Add missing algorithm ecdh_ecdsa
2017-05-22Merge branch 'dgud/observer/fix-bytes'Dan Gudmundsson
* dgud/observer/fix-bytes: observer: Fix words to bytes
2017-05-22erts: Optimize etp-processes and etp-portsLukas Larsson
Not calculating the max, table and invalid addresses each loop speeds up iterating through the processes list by about 5x.
2017-05-19Merge branch 'sverker/nif-docs'Sverker Eriksson
* sverker/nif-docs: erts: Improve erl_nif docs
2017-05-19ssl: Improve testsIngela Anderton Andin
Test should check that we get the expected key exchange algorithm for the provided server cert. We do not want to test OpenSSL s_server. Do not try to test cipher suites against OpenSSL that it does not support.
2017-05-19Merge branch 'rickard/ds-runqs'Rickard Green
OTP-14152 * rickard/ds-runqs: Make statistics/1 aware of dirty run-queues and tasks
2017-05-19Merge branch 'rickard/sighup-fix'Rickard Green
* rickard/sighup-fix: Restore sighup behaviour
2017-05-19Merge pull request #1448 from josevalim/jv-gen-server-exitsSiri Hansen
Do not discard stacktraces on gen_server exits
2017-05-19Restore sighup behaviourRickard Green
2017-05-19Merge branch 'master' into jv-gen-server-exitsSiri Hansen
2017-05-19Merge branch 'hasse/kernel/global_read_concurrency/OTP-14419'Hans Bolinder
* hasse/kernel/global_read_concurrency/OTP-14419: kernel: Create table 'global_names' with read_concurrency
2017-05-19Merge branch 'raimo/erts/use-all-bytes-in-abstract-addresses/OTP-14305'Raimo Niskanen
* raimo/erts/use-all-bytes-in-abstract-addresses/OTP-14305: Do not zero terminate Linux abstract addresses
2017-05-19Merge branch 'siri/ct_ssh/shell/OTP-14415'Siri Hansen
* siri/ct_ssh/shell/OTP-14415: [ct] Add ct_ssh:shell/2,3
2017-05-19Merge branch 'siri/etop/many-procs-timeout/OTP-14393'Siri Hansen
* siri/etop/many-procs-timeout/OTP-14393: [etop] Extend timer when fetching process info from node
2017-05-19Do not zero terminate Linux abstract addressesRaimo Niskanen
2017-05-19Update primary bootstrapHans Bolinder
2017-05-19Merge branch 'hasse/kernel/limit_crash_reports/OTP-14417'Hans Bolinder
* hasse/kernel/limit_crash_reports/OTP-14417: stdlib: Limit the size of gen_statem's error events kernel: Introcude error_logger:get_format_depth() stdlib: Limit the size of proc_lib's crash reports stdlib: Limit the size of gen_server's error events kernel: Add error_logger:limit_term/1 stdlib: Add io_lib:limit_term/2
2017-05-19Merge branch 'siri/cuddle-master'Siri Hansen
* siri/cuddle-master: [ct] Clean up after keep_logs test
2017-05-19[ct] Add ct_ssh:shell/2,3Siri Hansen
2017-05-19Make statistics/1 aware of dirty run-queues and tasksRickard Green
2017-05-19kernel: Create table 'global_names' with read_concurrencyHans Bolinder
Measurements showed contention on one of the ETS tables created by the 'global' module.
2017-05-19genop.tab: Add an OTP 20 commentBjörn Gustavsson
Make it clear that is_tagged_tuple/4 was added in OTP 20 (not R17).
2017-05-19ssl: Add missing algorithm ecdh_ecdsaIngela Anderton Andin
2017-05-19Update primary bootstrapBjörn Gustavsson
2017-05-19Merge branch 'bjorn/erts/refactor-beam_makeops'Björn Gustavsson
* bjorn/erts/refactor-beam_makeops: Allow multiple types per argument for specific instructions Modernize subroutine calls by removing '&' Eliminate the -gen_dest macro flag