summaryrefslogtreecommitdiff
path: root/lib/kernel/doc
Commit message (Collapse)AuthorAgeFilesLines
* Implement efficient send continuationRaimo Niskanen2020-12-031-60/+239
|
* Merge branch 'raimo/socket-improve-API/OTP-16749'Raimo Niskanen2020-11-202-123/+368
|\ | | | | | | | | | | | | | | * raimo/socket-improve-API/OTP-16749: Fix cmsg len ptr calc Fix type specs and docs Handle iov:s for stream sockets Honour IOV_MAX for sendmsg
| * Fix type specs and docsRaimo Niskanen2020-11-182-123/+368
| |
* | Merge branch 'maint'Lukas Larsson2020-11-182-2/+5
|\ \
| * \ Merge pull request #2841 from garazdawi/lukas/stdlib/shell_docs_opts/OTP-16990Lukas Larsson2020-11-182-2/+5
| |\ \ | | | | | | | | Add rendering config to shell_docs
| | * | kernel: Polish the EEP-48 documentationLukas Larsson2020-10-302-2/+5
| | | |
* | | | Merge branch 'maint'Micael Karlberg2020-11-121-23/+33
|\ \ \ \ | |/ / / | | | | | | | | OTP-16956
| * | | Merge branch 'bmk/kernel/20201026/resolver_query_retry_timeout/OTP-16956' ↵Micael Karlberg2020-11-121-23/+33
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | into maint OTP-16956
| | * | | [kernel|erts] Add text about the new resolver config optionMicael Karlberg2020-10-261-23/+33
| | |/ / | | | | | | | | | | | | | | | | | | | | Add text about the new resolver config option and its meaning. OTP-16956
* | | | otp: Remove HiPE and HiPE-related accessoriesJohn Högberg2020-11-091-17/+4
| | | |
* | | | Merge branch 'maint'Björn Gustavsson2020-11-021-1/+1
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | * maint: Typo fix in code documentation
| * | Typo fix in code documentationRaj Shah2020-11-011-1/+1
| |/ | | | | Fairly simple subject-verb agreement.
* | Merge branch 'raimo/socket-improve-API/OTP-16749'Raimo Niskanen2020-10-191-301/+545
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * raimo/socket-improve-API/OTP-16749: Check that send and recv data does not overflow ssize_t Clean up badarg exceptions Handle integer message flags Handle size_t when reading options Assert on internal NIF arity error Disallow accept when already queued Move {more,_}/{select,_} logic to NIF tmp: disable SCTP test on NetBSD Fix socket registry test Improve types and documentation for timeout Change socket:bind/2 to return just 'ok'
| * | Handle integer message flagsRaimo Niskanen2020-10-141-3/+41
| | |
| * | Improve types and documentation for timeoutRaimo Niskanen2020-10-141-290/+475
| | |
| * | Change socket:bind/2 to return just 'ok'Raimo Niskanen2020-10-081-11/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous {ok, Port} return value was only relevant for the 'inet' and 'inet6' address families and often not interesting. Use socket:sockname/1 to find out the chosen port, when needed. Unify and clean up error values and exceptions. In particular use {error, {invalid, _}} for almost all errors originating from the NIF and NIF glue code.
* | | kernel: Add os:env/0Sverker Eriksson2020-10-161-0/+17
| | | | | | | | | | | | as a nicer name for undocumented os:list_env_vars/0
* | | Merge branch 'hasse/kernel/remove_distr_disk_log/OTP-16811'Hans Bolinder2020-10-051-113/+34
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | * hasse/kernel/remove_distr_disk_log/OTP-16811: kernel: Adjustment after deprecation of disk_log function stdlib: Adjustment after deprecation of disk_log function inets: Adjust code after removal of distributed disk logs kernel: Adjust code after removal of distributed disk logs kernel: Remove support for distributed disk logs
| * | kernel: Remove support for distributed disk logsHans Bolinder2020-10-051-113/+34
| | | | | | | | | | | | | | | | | | | | | disk_log:all/0 is a new function, which is to be used instead of disk_log:accessible_logs/0. disk_log:accessible_logs/0 and disk_log:lclose/1,2 are deprecated.
* | | Merge branch 'raimo/socket-improve-API/OTP-16749'Raimo Niskanen2020-10-021-77/+131
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * raimo/socket-improve-API/OTP-16749: Fix bool and sctp_assoc_t type errors Get rid of the black sheep esock_decode_bool_val Clean up the concept of socket Level Change cmsghdr format for send Rework socket state Sort out socket closing Change cmsghdr format
| * | | Clean up the concept of socket LevelRaimo Niskanen2020-09-251-44/+51
| | | |
| * | | Change cmsghdr format for sendRaimo Niskanen2020-09-251-33/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, rename msghdr to msg and cmsghdr to cmsg where appropriate. In Erlang, it makes no sense to separate between the content and the message header being a struct pointing to the content, because the content is contained in the Erlang term. So it is more apropriate to talk about a msg() containing content.
* | | | Merge branch 'maint'Henrik Nord2020-09-231-0/+110
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | | | | | | | * maint: Updated OTP version Prepare release # Conflicts: # OTP_VERSION
| * | Prepare releaseErlang/OTP2020-09-231-0/+110
| | |
| * | Manually fix version holder for OTP 23.1 due to erroneous update on masterRickard Green2020-09-231-1/+1
| | |
* | | Merge branch 'raimo/socket-improve-API/OTP-16749'Raimo Niskanen2020-09-081-135/+950
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * raimo/socket-improve-API/OTP-16749: Fix RECVERR #if:s Fix configure includes for errqueue.h Change linger opt into map() Prefer static functions Tidy up CMSG handling Allow Linux Abstract Addressess for local domain Move out integer()s from enumeration types Remove integer() from some type defs Merge send_, recv_, and msghdr_flags Fix type spec and doc for msghdr Type spec and document socket options Fix forward 'since' references Type spec and document socket options Improve the socket API
| * | | Change linger opt into map()Raimo Niskanen2020-09-021-5/+16
| | | |
| * | | Move out integer()s from enumeration typesRaimo Niskanen2020-08-241-6/+76
| | | |
| * | | Remove integer() from some type defsRaimo Niskanen2020-08-241-25/+44
| | | |
| * | | Merge send_, recv_, and msghdr_flagsRaimo Niskanen2020-08-241-32/+22
| | | |
| * | | Type spec and document socket optionsRaimo Niskanen2020-08-191-20/+246
| | | |
| * | | Fix forward 'since' referencesRaimo Niskanen2020-08-191-18/+18
| | | |
| * | | Type spec and document socket optionsRaimo Niskanen2020-08-191-34/+325
| | | |
| * | | Improve the socket APIRaimo Niskanen2020-08-121-55/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow SelectHandle for nowait * Create connection ref in Erlang code * Return local address as binary() * Use ESOCK_IS_ERROR only when needed * Improve configure test for AF_LOCAL | AF_UNIX * Fix decode socket,protocol for AF_LOCAL * Clean up encode/decode functions * Use protocols table instead of encode/decode functions * Do not use internal constants for shutown * Rewrite send and recv flags handling * Rework supports() and is_supported() * Handle socket options with persistent term table * Improve getopt native socket_SUITE: Use file:delete to unlink local address
* | | | Merge branch 'maint'Lukas Larsson2020-09-021-16/+19
|\ \ \ \ | | |/ / | |/| / | |_|/ |/| |
| * | Accurate documentation for application:ensure_all_startedMårten Nilsson2020-09-021-16/+19
| | | | | | | | | | | | | | | | | | Before this change, the documentation incorecctly describes the case of running application:ensure_all_started for an application which is started, but has unstarted dependencies.
* | | Merge branch 'maint'Sverker Eriksson2020-08-311-17/+12
|\ \ \ | |/ /
| * | Merge branch 'sverker/file-pwrite-doc/ERL-1299' into maintSverker Eriksson2020-08-311-17/+12
| |\ \
| | * | kernel: Clarify file:pwrite/pread documentationSverker Eriksson2020-08-241-17/+12
| | | | | | | | | | | | | | | | about ram mode
* | | | Merge branch 'maint'Lukas Larsson2020-08-311-3/+3
|\ \ \ \ | |/ / /
| * | | Default to Unicode for filename encoding on AndroidJérôme de Bretagne2020-08-311-3/+3
| | | |
* | | | Fix some typos and one grammatical mistake in the socket modulePierre Allix2020-08-211-3/+3
| | | |
* | | | Merge branch 'maint'Hans Bolinder2020-08-211-3/+6
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | * maint: kernel: Correct disk_log's calculation of no_items
| * | kernel: Correct disk_log's calculation of no_itemsHans Bolinder2020-08-191-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | disk_log:truncate/1 did not take the header into account when calculating number of items. The docs are updated to state that disk_log:truncate/1 can be used for logs on the external format.
* | | Merge branch 'maint'Micael Karlberg2020-07-202-5/+95
|\ \ \ | |/ / | | | | | | OTP-16763
| * | [kernel|esock|doc] Add text about env var ESOCK_USE_SOCKET_REGISTRYMicael Karlberg2020-07-151-3/+10
| | | | | | | | | | | | | | | | | | Add dec about the environment variable ESOCK_USE_SOCKET_REGISTRY. OTP-16763
| * | [kernel|esock|doc] Add a chapter to the socket usage User's GuideMicael Karlberg2020-07-151-2/+38
| | | | | | | | | | | | | | | | | | Add a 'socket registry' chapter to the 'socket usage' User's Guide. OTP-16763
| * | [kernel|esock|doc] Add documentation for optional use of socket registryMicael Karlberg2020-07-141-3/+49
| | | | | | | | | | | | | | | | | | | | | Both add doc for the new update_registry/1 function and updated documentation for open/2 and open/4. OTP-16763
* | | Open any supported protocolRaimo Niskanen2020-06-241-15/+52
| | |
* | | Review socket typesRaimo Niskanen2020-06-102-423/+777
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rename socket address types accoring to C struct names * Rewrite getopt and setopt to take opt as one argument * Implement getopt_native and setopt_native for native options * Clean away some types * Improve docs for level otp socket options * Document protocol level 'socket' options * Rename select_ref() to select_handle() * Rename exceptions according to type names * Rework error codes and exceptions * Rework encoding and decoding of API terms * Replace exception 'unknown' with ESOCK_ASSERT * Size check cmsghdr data * Throw exceptions for allocation and self() failures * Assert on monitor of self() * Assert all allocations * Use exception for select failure * Debug print out failed sends, but otherwise ignore * Stop making up POSIX errors