forked from erlang/otp
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pull] master from erlang:master #192
Open
pull
wants to merge
30
commits into
garazdawi:master
Choose a base branch
from
erlang:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+344
−131
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tweaked some test cases to handle some strange behaviour on Darwin (on some machines). OTP-19386
Tweaked some test cases to handle some strange behaviour on Darwin (on some machines). OTP-19386
Bumps the github-actions group with 3 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact), [github/codeql-action](https://github.com/github/codeql-action) and [softprops/action-gh-release](https://github.com/softprops/action-gh-release). Updates `actions/upload-artifact` from 4.5.0 to 4.6.0 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@6f51ac0...65c4c4a) Updates `github/codeql-action` from 3.28.0 to 3.28.1 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@48ab28a...b6a472f) Updates `softprops/action-gh-release` from 2.2.0 to 2.2.1 - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](softprops/action-gh-release@7b4da11...c95fe14) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: softprops/action-gh-release dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps the github-actions group with 2 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact) and [softprops/action-gh-release](https://github.com/softprops/action-gh-release). Updates `actions/upload-artifact` from 4.5.0 to 4.6.0 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@6f51ac0...65c4c4a) Updates `softprops/action-gh-release` from 2.2.0 to 2.2.1 - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](softprops/action-gh-release@7b4da11...c95fe14) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: softprops/action-gh-release dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps the github-actions group with 2 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact) and [softprops/action-gh-release](https://github.com/softprops/action-gh-release). Updates `actions/upload-artifact` from 4.5.0 to 4.6.0 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@6f51ac0...65c4c4a) Updates `softprops/action-gh-release` from 2.2.0 to 2.2.1 - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](softprops/action-gh-release@7b4da11...c95fe14) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: softprops/action-gh-release dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps the github-actions group with 3 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact), [github/codeql-action](https://github.com/github/codeql-action) and [softprops/action-gh-release](https://github.com/softprops/action-gh-release). Updates `actions/upload-artifact` from 4.5.0 to 4.6.0 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@6f51ac0...65c4c4a) Updates `github/codeql-action` from 3.28.0 to 3.28.1 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@48ab28a...b6a472f) Updates `softprops/action-gh-release` from 2.2.0 to 2.2.1 - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](softprops/action-gh-release@7b4da11...c95fe14) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: softprops/action-gh-release dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <[email protected]>
Reviewer's Guide by SourceryThis pull request refactors the socket option handling in the gen_tcp and gen_udp modules. It introduces a new Sequence diagram for updated socket opening processsequenceDiagram
participant C as Client
participant S as Socket Module
participant N as Socket NIF
C->>S: open/connect request with options
activate S
S->>S: split_start_opts()
S->>S: split_open_opts()
S->>S: process options
S->>N: start_server with OpenOpts
activate N
N-->>S: server started
deactivate N
S->>N: configure socket
activate N
N-->>S: socket configured
deactivate N
S-->>C: socket handle
deactivate S
Class diagram showing the updated socket option handlingclassDiagram
class SocketOptions {
+split_start_opts(Opts)
+split_open_opts(Opts)
+open_opts(OpenOpts, Fd)
+extra_opts(OpenOpts)
}
class GenTcpSocket {
+connect_lookup(Address, Port, Opts, Timer)
+listen(Port, Opts)
+fdopen(Fd, Opts)
}
class GenUdpSocket {
+open(Service, Opts)
+open_lookup(Service, Opts)
+do_open(Mod, BindAddr, Domain, OpenOpts, Opts, ExtraOpts)
}
GenTcpSocket ..> SocketOptions : uses
GenUdpSocket ..> SocketOptions : uses
note for SocketOptions "New option handling with
separate open_opts category"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Starting with gcc-14, the emulator tests were failing to run due to gcc reporting an "incompatible pointer type" error in nif_SUITE.c. The fix is straighforward
…06e' * dependabot/github_actions/master/github-actions-062d0f906e: build(deps): bump the github-actions group with 3 updates
…815c4' into maint-25 * dependabot/github_actions/maint-25/github-actions-69acc815c4: build(deps): bump the github-actions group with 2 updates
…815c4' into maint-26 * dependabot/github_actions/maint-26/github-actions-69acc815c4: build(deps): bump the github-actions group with 2 updates
…f906e' into maint-27 * dependabot/github_actions/maint-27/github-actions-062d0f906e: build(deps): bump the github-actions group with 3 updates
…digits Fix `calendar:rfc3339_to_system_time` handling of fractional seconds OTP-19441
OTP-19390 * maria/stdlib/fix-timer/PR-9303/OTP-19442: Fix timer:sleep/1 spec
* bjorn/syntax_tools/update-dependencies: syntax_tools: Update dependencies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by pull[bot] (v2.0.0-alpha.1)
Can you help keep this open source service alive? 💖 Please sponsor : )
Summary by Sourcery
Allow passing open options to gen_tcp and gen_udp.
New Features:
debug
, togen_tcp
andgen_udp
.Tests: