aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-11-04[stdlib] Correct documentationHans Bolinder
Fix mistakes found by 'xmllint'.
2015-11-04[kernel] Correct documentationHans Bolinder
Fix mistakes found by 'xmllint'.
2015-11-04ssh: changes after doc reviewHans Nilsson
2015-11-04ssh: extend 'dh_gex_limits' to server sideHans Nilsson
OTP-13066
2015-11-04ssh: option dh_gex_groups with tag ssh_moduli_fileHans Nilsson
Makes this existing option also accept a file in openssh format OTP-13052
2015-11-04ssh, public_key: random selection of diffie-hellman moduliHans Nilsson
Also tool (public_key:gen_moduli_hrl) to convert an openssh moduli file to erlang format.
2015-11-04ssh: changes after doc reviewHans Nilsson
2015-11-04ssh: Document pwdfunHans Nilsson
2015-11-04ssh: make corrections of keyboard-interactive clientHans Nilsson
* Newlines should be added after Name and Instructions field according to rfc4256. * There was an error in the argument list of the last clause of ssh_auth:keyboard_interact_get_responses/9 * Correct client kb-interactive behaviour at auth failure
2015-11-04ssh: enable users to give option keyboard_interact_funHans Nilsson
It is on purpose not documented. It needs more thinking before being finalized.
2015-11-04ssh: pwdfun/4 and simple testsHans Nilsson
Also solves OTP-13053
2015-11-04OtpInputStream: external fun terms in read_any()Sergey Savenko
Term tag matching switch statement was missing external fun tag.
2015-11-04Merge branch 'hans/ssh/bad_lengths_tests/OTP-12792' into maintHans Nilsson
2015-11-03Merge branch 'essen/weird-strncmp-len' into maintHenrik Nord
* essen/weird-strncmp-len: Fix weird strncmp length in erl_interface example OTP-13081
2015-11-03Merge branch 'ursine/patch-1' into maintHenrik Nord
* ursine/patch-1: Fix spelling error in "characters_to_list" OTP-13080
2015-11-03Fix spelling error in "characters_to_list"Gary Coulbourne
2015-11-03Fix typo in trace gc_start docPéter Gömöri
Conflicts: erts/doc/src/erlang.xml
2015-11-02Merge branch 'lukas/erts/win32_bool_fix/OTP-13079' into maintLukas Larsson
* lukas/erts/win32_bool_fix/OTP-13079: erts: bool is a reserved word, use boolean instead
2015-11-02erts: Remove ERTS_PSD_DIST_ENTRYSverker Eriksson
Not needed as it is always set to erts_this_dist_entry (on net_kernel).
2015-11-02erts: Remove faulty ASSERT in erts_proc_*_refcSverker Eriksson
There is no guarantee that the ptab-slot in not reused when we finally deallocates the process struct.
2015-11-02ssh: Make tests for bad packet_len and field lengths inside packetsHans Nilsson
Includes a ssh_transport:pack/3 function for generating invalid packets
2015-11-02Merge branch 'lukas/runtime_tools/dbg_stop_docs/OTP-13078' into maintLukas Larsson
* lukas/runtime_tools/dbg_stop_docs/OTP-13078: runtime_tools: Explain that dbg:stop only clears local trace patterns
2015-11-02runtime_tools: Explain that dbg:stop only clears local trace patternsLukas Larsson
2015-11-02Merge branch 'lukas/erts/process_mem_test_fix/OTP-13077' into maintLukas Larsson
* lukas/erts/process_mem_test_fix/OTP-13077: erts: Don't run processes tests on lcnt with little memory
2015-11-02Merge branch 'henrik/find-redist' into maintHenrik Nord
2015-10-30Merge branch 'bjorn/stdlib/beam_lib-doc/OTP-13063' into maintBjörn Gustavsson
* bjorn/stdlib/beam_lib-doc/OTP-13063: beam_lib: Document all_chunks/1 and build_module/1
2015-10-29Merge branch 'hans/ssh/cuddle_tests' into maintHans Nilsson
* hans/ssh/cuddle_tests: ssh: Adjust the test ssh_renegotiate_SUITE:rekey_limit ssh: fix spelling error pulic -> public
2015-10-29ssh: Adjust the test ssh_renegotiate_SUITE:rekey_limitHans Nilsson
- Remove random length padding to make the data volume deterministic - Increase data volume limit for re-keying because the kexinit message has grown
2015-10-29ssh: fix spelling error pulic -> publicHans Nilsson
2015-10-28TLS distribution: wait for code serverMagnus Henoch
As described in the comments in the patch, doing a TLS handshake requires the crypto module to be loaded. The crypto module needs the code server to find its NIF library. However, there is a time window between opening the listening ports for distribution and starting the code server, and if we get an incoming connection in that time window, the node would believe that it's alive, but it wouldn't actually accept any more connections.
2015-10-28Report bad options for TLS distribution connectionsMagnus Henoch
If ssl:ssl_accept/2 returns an error related to options, it's most likely something we want to log. In particular, if the specified certificate file doesn't exist, this is where the error ends up, so we shouldn't just throw the error away.
2015-10-28Avoid crash for SSL connections with nonexistent keyfileMagnus Henoch
Starting an SSL connection with a nonexistent keyfile will obviously return an error: > ssl:connect("www.google.com", 443, [{keyfile, "nonexistent"}]). {error,{options,{keyfile,"nonexistent",{error,enoent}}}} But it also generates an error report with the following backtrace: ** Reason for termination = ** {badarg,[{ets,select_delete, [undefined,[{{{undefined,'_','_'},'_'},[],[true]}]], []}, {ets,match_delete,2,[{file,"ets.erl"},{line,700}]}, {ssl_pkix_db,remove_certs,2,[{file,"ssl_pkix_db.erl"},{line,243}]}, {ssl_connection,terminate,3, [{file,"ssl_connection.erl"},{line,941}]}, {tls_connection,terminate,3, [{file,"tls_connection.erl"},{line,335}]}, {gen_fsm,terminate,7,[{file,"gen_fsm.erl"},{line,610}]}, {gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,532}]}, {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]} This happens because the ssl_connection process receives its cert_db while handling the {start, Timeout} message, but if the handshake fails, the cert_db will never be inserted into the state data, and the terminate function will use 'undefined' as an ETS table name. Avoid this by checking for 'undefined' in the handle_trusted_certs_db function.
2015-10-28Merge branch 'hans/ssh/handle_bad_service_names/OTP-12791' into maintHans Nilsson
* hans/ssh/handle_bad_service_names/OTP-12791: ssh: testcases for bad service names
2015-10-28ssh: testcases for bad service namesHans Nilsson
2015-10-27Teach Dialyzer call to funs `M:F/A` (literal M, F, A)Luca Favatella
2015-10-27inets: fix {self, once} for not streamed requestKirilll Zaborsky
httpc should work properly if streaming option {self, once} is chosen and the corresponding response does not get streamed.
2015-10-27inets: send correct nonstreamed response with streamingKirilll Zaborsky
httpc_handler should respond with correct and complete responses seeing non-streamed status codes i.e. codes other than 200 or 206.
2015-10-27Fix weird strncmp length in erl_interface exampleLoïc Hoguin
2015-10-27Remove mention of erlang:faultMagnus Henoch
erlang:fault no longer exists, so don't mention it in the reference manual. Also fix minor markup issue in following paragraph.
2015-10-27Merge branch 'gomoripeti/bindoc_fix' into maintHenrik Nord
* gomoripeti/bindoc_fix: Very minor fixes to binary handling documentation
2015-10-27Merge branch 'lrascao/fix/build_fail_on_enabled_dist_debug' into maintHenrik Nord
* lrascao/fix/build_fail_on_enabled_dist_debug: Fix build fail when enabling distribution debug messages
2015-10-27Merge branch 'scrapinghub/http_uri_scheme_validation' into maintHenrik Nord
* scrapinghub/http_uri_scheme_validation: inets: scheme validation fun for http_uri OTP-13071
2015-10-27Merge branch 'derek121/docs_fop_details' into maintHenrik Nord
* derek121/docs_fop_details: Add details on the FOP formatter
2015-10-27Merge branch 'schlagert/remove_xmerl_xsd_builtin_definitions' into maintHenrik Nord
* schlagert/remove_xmerl_xsd_builtin_definitions: Remove built-in definition of xml.xsd from xmerl OTP-13070
2015-10-27Merge branch 'scrapinghub/obs_folded_headers' into maintHenrik Nord
* scrapinghub/obs_folded_headers: inets: fix suppport of HTTP headers with obs-fold OTP-13069
2015-10-27Merge branch 'lucafavatella/dialyzer-fun-literal-arity' into maintHenrik Nord
* lucafavatella/dialyzer-fun-literal-arity: Teach Dialyzer arity of funs with literal arity OTP-13068
2015-10-27Merge branch 'dgud/observer/cdv-ets-owner/OTP-13030' into maintDan Gudmundsson
* dgud/observer/cdv-ets-owner/OTP-13030: cdv: Fix crashdump ets table type observer: Show ets owner pid in crashdump viewers ets popup window
2015-10-27Merge branch 'dgud/msys2-fixes' into maintDan Gudmundsson
* dgud/msys2-fixes: erts: Detect and build on MSYS2 for windows
2015-10-27cdv: Fix crashdump ets table typeDan Gudmundsson
The type was set in the wrong datastructure.
2015-10-27observer: Show ets owner pid in crashdump viewers ets popup windowDan Gudmundsson
Owner pid was silently ignored. Bug fix supplied on erlang-bugs by Leo Liu.