| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
function `dbg:stop_clear/1` is not documented in the API but was kept
for compatibility reasons. in this commit we make a step forward to
deprecating its use such that it will be eventually removed.
closes GH-6903.
|
|
|
|
| |
This reverts commit d4e4511b19f4126d9271a6e3a8fa2eb716da7e85.
|
| |
|
|
|
|
| |
This reverts commit 1cf126f91eb533783409da95b117207d8c13d9aa.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
* maint:
Updated OTP version
Prepare release
Update copyright year
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
* maint:
Updated OTP version
Prepare release
Update copyright year
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
* maint-24:
Updated OTP version
Prepare release
Update copyright year
|
| | | |
|
| | | |
|
| | |\
| | | |
| | | |
| | | |
| | | | |
* kuba/maint-24/kuba/ssh/reduce_log_size/OTP-18417:
ssh: reduce log length
|
| | | | |
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | | |
* kuba/maint-24/ssh/fix-error-logging/OTP-18386:
ssh: fix kexinit error generation
|
| | | |/ |
|
|\ \ \ \
| |/ / / |
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
ssh: accept PKCS#8 host key
OTP-18446
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* maint:
Updated OTP version
Prepare release
Update copyright year
|
| |\ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
* maint-25:
Updated OTP version
Prepare release
Update copyright year
|
| | | | | |
|
| | | | | |
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* kuba/ssh/fix-error-logging/OTP-18386:
ssh: fix kexinit error generation
Fix `ssh_connection_handler` logging of atoms
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This reverts commit 587341d994f91af5b30483ee9434e932e3d7b802.
|
| | | | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / / |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The <c>size/1</c> BIF is not optimized by the JIT, and its use can
result in worse types for Dialyzer.
When one knows that the value being tested must be a tuple,
<c>tuple_size/1</c> should always be preferred.
When one knows that the value being tested must be a binary,
<c>byte_size/1</c> should be preferred. However, <c>byte_size/1</c> also
accepts a bitstring (rounding up size to a whole number of bytes), so
one must make sure that the call to <c>byte_size/</c> is preceded by a
call to <c>is_binary/1</c> to ensure that bitstrings are rejected. Note
that the compiler removes redundant calls to <c>is_binary/1</c>, so if
one is not sure whether previous code had made sure that the argument is
a binary, it does not harm to add an <c>is_binary/1</c> test immediately
before the call to <c>byte_size/1</c>.
|
|\ \ \ \ \ \
| |/ / / / / |
|
| |\ \ \ \ \
| | |/ / / /
| | | | | |
| | | | | | |
ssh: reduce log length
OTP-18417
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / / |
|
| | | | | | |
|
| | |/ / /
| |/| | | |
|
|\ \ \ \ \
| |/ / / / |
|
| | | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Attempting to log reasons `ssh_connection_handler` may fail if the reason
is an atom. This is because the `assure_string/1` function will return
the original `Reason0` instead of the formatted result and `io_lib.format`
can successfully format atoms, returning the original atom reason which then
fails in `string:chomp/1`
```erlang
1> io_lib:format("~s", [undef]).
"undef"
2> string:chomp(undef).
** exception error: no function clause matching string:trim_t(undef,0,{["\r\n",10],"\r\n",undefined}) (string.erl, line 885)
3>
```
This changes to return the formatted result rather than the original when
attempting to use `assure_string/1`
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
* maint:
Updated OTP version
Prepare release
Update copyright year
|
| | | | |
|
|\ \ \ \
| |/ / / |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
* maint:
Updated OTP version
Prepare release
Update copyright year
|
| | | | |
|
| | | | |
|