aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
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.
2015-10-26Make erl -make return non-zero exit code on failureMagnus Henoch
This makes it behave like similar Unix tools.
2015-10-26Fix cerl_trees:label/2 bug with map K/V swapMagnus Lång
2015-10-26erts: Include test in group so that it is runIngela Anderton Andin
2015-10-26erts: Add {line_delimiter, byte()} option to inet:setopts/2Serge Aleynikov
A new {line_delimiter, byte()} option allows line-oriented TCP-based protocols to use a custom line delimiting character. It is to be used in conjunction with {packet, line}. This option also works with erlang:decode_packet/3 when its first argument is 'line'.
2015-10-23In ssl_tls_dist_proxy, pass along EPMD registration errorsMagnus Henoch
The duplicate_name error returned from erl_epmd:register_node elicits a particularly precise error message from net_kernel, so let's pass it along to our caller. Not doing this for the other things that could go wrong here, since for those having the line number will likely aid debugging.
2015-10-22fix incorrect number of seconds in 24h macroPawel Pikula
The previous commit - 7b93f5d8a224a0a076a420294c95a666a763ee60 fixed the macro only in one place.
2015-10-22beam_lib: Document all_chunks/1 and build_module/1Björn Gustavsson
beam_lib:all_chunks/1 and beam_lib:build_module/1 can be useful for special-purpose stripping, for example to remove the "Line" chunk.
2015-10-20Adjust shutdown strategies for distribution over TLSMagnus Henoch
Change ssl_dist_sup to be considered as a supervisor with infinite shutdown time. Change the ssl_connection_dist instance of tls_connection_sup to have infinite shutdown time. This avoids spurious error messages when shutting down a node that uses distribution over TLS.
2015-10-20ssh: dynamic check of supported algos in ssh_to_openssh_SUITEHans Nilsson
2015-10-20ssh: delete now obsolete test case group 'hardening_tests'Hans Nilsson
Thoose tests are already moved to other test suites. However, the init_per_group and end_per_group clauses were accidently left
2015-10-19ssh: Removed testcases from ssh_to_openssh_SUITEHans Nilsson
They are covered in ssh_algorithms_SUITE
2015-10-19ssh: test suites probes ssh clientHans Nilsson
Previously we called the ssh client with the -Q option to query about supported algorithms. Since old clients do not support this and at least one lies, we now set up a fake server at let the ssh client start negotiation instead. Much more robust hopefully.
2015-10-19Use full list of bindings when matching on map keysJosé Valim
Prior to this patch, the following code would not eval: X = key, (fun(#{X := value}) -> true end)(#{X => value}) That's because the key evaluation was using the new list of bindings introduced on every anonymous fun. Since keys only match on values defined prior to the pattern and do not introduce any new binding, we must use the full and original list of binding.
2015-10-19ssh: running ssh_algorithms_SUITE tests in parallelHans Nilsson
2015-10-19ssh: wait for subsystem exit in ssh_connection_SUITE:max_channels_optionHans Nilsson
2015-10-19Merge branch 'hans/ssh/cuddle_spec' into maintHans Nilsson
* hans/ssh/cuddle_spec: ssh: dialyzer fix
2015-10-19ssh: Implemented ssh_transport:ecdh_validate_public_key (partly)Hans Nilsson
Defined in http://www.secg.org/sec1-v2.pdf '3.2.2 Validation of Elliptic Curve Public Keys' according to RFC 5656 ch 4. More to be done: check singularities, implement reading compressed points....
2015-10-16ssh: dialyzer fixHans Nilsson
2015-10-16public_key: add/update -spec for ssh functionsHans Nilsson
2015-10-16ssh, public_key: use pubkey encode/decode in app public_keyHans Nilsson
2015-10-16ssh, public_key: Change EC Public Key representation to what was intendedHans Nilsson
2015-10-16Merge branch 'maint-18' into maintHenrik Nord
Conflicts: lib/ssh/vsn.mk
2015-10-15Merge branch 'kostis/hipe-bs-construct-zero-size' into maintZandra
* kostis/hipe-bs-construct-zero-size: Fix edge case of Size = 0 in bs_put_integer OTP-13048
2015-10-15Update release notesErlang/OTP
2015-10-15ssh: set dh_gex default to group14Hans Nilsson
2015-10-15ssh: Add a 1024 group to the list of key gex groupsHans Nilsson
2015-10-14Merge branch 'maint-18' into maintHenrik Nord
Conflicts: lib/ssh/vsn.mk
2015-10-13Merge branch 'hans/ssh/cuddle_tests' into maintHans Nilsson
2015-10-13Merge branch 'hans/ssh/cuddle_spec' into maintHans Nilsson
2015-10-13Update release notesErlang/OTP
2015-10-13inets: scheme validation fun for http_uriKirilll Zaborsky
http_uri:parse_scheme function should allow checking scheme of URIs otherwise it could be easily abused to reach limit number of atoms in the VM
2015-10-13Fixed typo in ets documentationRiccardo
2015-10-13Merge branch 'RichMorin/patch-1' into maintHenrik Nord
* RichMorin/patch-1: fix capitalization of headings OTP-13044
2015-10-13Small misprintKirill Zaborsky
2015-10-13inets: fix suppport of HTTP headers with obs-foldKirilll Zaborsky
httpc should not fail when response contains (now deprecated) multiline HTTP headers constructed with obs-folds. And as RFC7230 specifies user agent should replace obs-folds with spaces.
2015-10-13Merge branch 'legoscia/callback-arrow-no-newline' into maintHenrik Nord
* legoscia/callback-arrow-no-newline: Don't add newline after arrow on -callback lines OTP-13042
2015-10-12Merge branch 'stolen/unified_dist' into maintZandra
OTP-13040 * stolen/unified_dist: kernel: inet6_tcp_dist: reuse inet_tcp_dist code Conflicts: lib/kernel/src/inet_tcp_dist.erl
2015-10-12ssh: polished ssh.xmlHans Nilsson
Some changes in the SSH section at top (supported algorithms). Added links to default_algorithms and preferred_algorithms in the SSH section.
2015-10-12ssh: set dh_gex default to group14Hans Nilsson
2015-10-12ssh: add info on GEX algos in ssh_alghoritms:init_suiteHans Nilsson
2015-10-12ssh: updatated spec for ssh:daemonHans Nilsson
2015-10-12Fix edge case of Size = 0 in bs_put_integerKostis Sagonas
copy_offset_int_big was assuming (Offset + Size - 1) (Tmp9 in the first BB) would not underflow. It was also unconditionally reading and writing the binary even when Size was zero, unlike copy_int_little, which is the only other case of bs_put_integer that does not have a short-circuit on Size = 0. This was causing segfaults when constructing binaries starting with a zero-length integer field, because a logical right shift was used to compute an offset in bytes (which became 0x1fffffffffffffff) to read in the binary. Tests, taken from the emulator bs_construct_SUITE, were also added. The complete credit for the report and the fix goes to Magnus Lång.
2015-10-09ssh: added 'after' to receive stmts in test/Hans Nilsson
2015-10-08ssh: update vsn.mkHans Nilsson
2015-10-08ssh: Option max_channels added.Hans Nilsson
It actually counts the number of subsystem alive. Allocating a channel does not consume any resources (except some cpu cycles), but the subsystem start spawns processes.
2015-10-08Merge branch 'hans/ssh/option_dh_gex_limits_ignored/OTP-13029' into maintHans Nilsson
2015-10-08ssh: document new pub key algorithmsHans Nilsson
2015-10-08ssh: ECDSA public key implementedHans Nilsson
2015-10-08public_key: Add ssh2 ECDSA pub key handling + test caseHans Nilsson
Added encode/decode for ecdsa public keys in openssh and rfc4716 format. This is for the ssh public key algorithm ecdsa-sha2-*.