| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Make it possible to set global default value using environment
variable (ESOCK_USE_SOCKET_REGISTRY).
OTP-16763
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make the use of the socket registry optional by handling the new
configure option (ESOCK_USE_SOCKET_REGISTRY).
Also, add utility function (socket:use_registry/1) to update
the global (socket default) value.
Also, add socket option (level otp) to get the value of this option.
And finally add a (use_registry-) option to the socket:open/2,4
function(s) to set a different value for an individual socket
when creating it.
OTP-16763
[erts|esock] Add getopt (of use_registry) also
OTP-16763
[esock] Fixes
OTP-16763
[erts|esock] Fixes
OTP-16763
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Split into preloaded prim_socket.erl, NIF prim_socket_nif.erl,
and socket.erl in kernel.
|
|
|
| |
Incorrect spelling
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Use mainly just readMtx and writeMtx
* Use state as mostly a diagnostics feature, not for decisions
* Remove the isReadable and isWritable flags
* Unify socket debug logging (SSDBG)
* Implement setting of socket debug and file name at NIF load
from environment variables.
* Fix file name encoding where needed
|
|\
| |
| |
| |
| | |
* maint:
Update copyright year
|
| | |
|
|\ \
| |/
| |
| |
| |
| | |
* maint:
Update preloaded modules
Update primary bootstrap
|
| | |
|
| | |
|
| |
| |
| |
| | |
This reverts commit 50e614e7d5fee9e3bfe8a58e7f390c6ea6caf271.
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
* rickard/start-monitor/OTP-16120:
Support for start_monitor in proc_lib and gen behaviours
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
rickard/josevalim/jv-restart-with-mode/OTP-16492
* josevalim/jv-restart-with-mode:
Allow changing the -mode when the system restarts
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In order for Elixir developers to configure their
systems using Elixir syntax, the Elixir application
must be started. However, in order to start the
Elixir application, kernel and stdlib need to be
started, which means we can't configure those
applications.
Elixir addresses this by booting twice. First, the
system boots with a minimal set of apps started, then
it executes the configuration files, writes them to
disk and restarts the system, which will pick up the
new configuration.
The problemw with such approach is that, when running
in embedded mode, starting and shutting down the system
takes a long period of time, due to the loading and
purging of all modules.
This PR addresses the problem by allowing the mode to
be changed to embedded on init:restart/1. This allows
Elixir to first boot in interactive mode, load the
configuration, and then start the system in embedded
mode.
This reduces the boot time in the sample application
that reproduces the problem from 5s to 1s.
|
|\ \ \ \
| | |_|/
| |/| | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
If we try to log something before logger is started we don't want
to crash. Instead we print using erlang:display.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
rickard-green/rickard/spawn_request-improvements/OTP-15251
Adjust spawn_request() features
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 77922009917e425dee66d0f829b2df1a895ade3e.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add the 'netns' argument to the socket:supports/1 function
so that it is possible to test if its supported.
OTP-16432
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add information about how the socket was created to the socket
info; ctype, which makes it possible to identify sockets
created with already existing file descriptors.
OTP-16398
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Make it possible to "create" a socket from an already existing
file descriptor (fd).
OTP-16398
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* maint:
Stop using typeof for struct timeval
Fix lock order
Cleanup locks
Cleanup redundant cleanup code
Cleanup requestor handling
Fix specs
Merge domain+type+proto in one getopt
Cleanup timeout handling
Cleanup parameter check functions
Cleanup try-catch handling
Fix nif_select and closeMtx handling
Fix lock order
Bugfix: do not read freed refs
Try fix double free
Fix close and abort handling
Clean up send code and ref handling
remove-unsuccesful-experiment: Fix timing dependent test case
Fix timing dependent test case
Do not self-close socket for econnreset
Avoid deadlock and redundant close + abort message
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
* maint:
Implement level 'otp' option 'meta'
Fix length type to size_t
Rename SOCK_/SOCKET_ -> ESOCK_
|