aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2015-11-04Fix typos and grammarDerek Brown
2015-11-04stdlib: Add BIF binary:split/2 and binary:split/3Andrew Bennett
2015-11-04Merge branch 'maint'Hans Bolinder
* maint: [erl_docgen] Correct documentation [dialyzer] Correct documentation [hipe] Correct documentation [test_server] Correct documentation [tools] Correct documentation [erts] Correct documentation [stdlib] Correct documentation [kernel] Correct documentation Conflicts: lib/stdlib/doc/src/erl_scan.xml
2015-11-04[erl_docgen] Correct documentationHans Bolinder
Fix mistakes found by 'xmllint'.
2015-11-04[dialyzer] Correct documentationHans Bolinder
Fix mistakes found by 'xmllint'.
2015-11-04[hipe] Correct documentationHans Bolinder
Fix mistakes found by 'xmllint'.
2015-11-04[test_server] Correct documentationHans Bolinder
Fix mistakes found by 'xmllint'.
2015-11-04[tools] Correct documentationHans Bolinder
Fix mistakes found by 'xmllint'.
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 'maint'Hans Nilsson
2015-11-04Merge branch 'hans/ssh/bad_lengths_tests/OTP-12792' into maintHans Nilsson
2015-11-03Merge branch 'maint'Henrik Nord
2015-11-03Fix spelling error in "characters_to_list"Gary Coulbourne
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 'maint'Lukas Larsson
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-10-30hipe/dialyzer: Remove functions from erl_bif_typesHans Bolinder
2015-10-30Merge branch 'bjorn/cuddle-with-tests'Björn Gustavsson
* bjorn/cuddle-with-tests: epp_SUITE: Avoid hard-coding list of macros more than once epp_SUITE: Add smoke and coverage test of format_error/1
2015-10-30Merge branch 'maint'Björn Gustavsson
* maint: beam_lib: Document all_chunks/1 and build_module/1
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-29epp_SUITE: Avoid hard-coding list of macros more than onceBjörn Gustavsson
2015-10-29epp_SUITE: Add smoke and coverage test of format_error/1Björn Gustavsson
2015-10-29Merge branch 'maint'Hans Nilsson
* maint: 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 'maint'Hans Nilsson
* maint: ssh: testcases for bad service names
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-27Merge branch 'maint'Henrik Nord
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 '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