| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
* 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
|
| | |
|
|\ \ |
|
| |\ \
| | | |
| | | | |
Add rendering config to shell_docs
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | |
| | | | |
OTP-16956
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
into maint
OTP-16956
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | | |
Add text about the new resolver config option and its meaning.
OTP-16956
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | /
| |_|/
|/| | |
* maint:
Typo fix in code documentation
|
| |/
| |
| | |
Fairly simple subject-verb agreement.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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'
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
as a nicer name for undocumented os:list_env_vars/0
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* 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
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| |/ / /
|/| | /
| | |/
| |/|
| | |
| | |
| | |
| | | |
* maint:
Updated OTP version
Prepare release
# Conflicts:
# OTP_VERSION
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* 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
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* 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
|
|\ \ \ \
| | |/ /
| |/| /
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |/ / |
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | | |
about ram mode
|
|\ \ \ \
| |/ / / |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | /
| |_|/
|/| | |
* maint:
kernel: Correct disk_log's calculation of no_items
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |/ /
| | |
| | | |
OTP-16763
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add dec about the environment variable ESOCK_USE_SOCKET_REGISTRY.
OTP-16763
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add a 'socket registry' chapter to the 'socket usage' User's Guide.
OTP-16763
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Both add doc for the new update_registry/1 function and updated
documentation for open/2 and open/4.
OTP-16763
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|