Skip to content
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

new: insert file or tcp socket to api.Module #7

Merged
merged 9 commits into from
Dec 10, 2023

Conversation

gaukas
Copy link

@gaukas gaukas commented Dec 4, 2023

Add required (exported) interface to insert files or TCP sockets to an api.Module.

Close #2.

@gaukas gaukas marked this pull request as ready for review December 10, 2023 00:30
@gaukas gaukas requested a review from erikziyunchi December 10, 2023 00:30
@gaukas gaukas self-assigned this Dec 10, 2023
Copy link
Member

@erikziyunchi erikziyunchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding the features! I'll play around with these later. LGTM!

@gaukas gaukas merged commit 11b8a0a into main Dec 10, 2023
@gaukas gaukas deleted the api-module-insert-file-socket branch December 11, 2023 04:10
gaukas added a commit that referenced this pull request Dec 17, 2023
* new: insert file or tcp socket to api.Module

Add required exported interface to insert files or TCP sockets to an `api.Module`.

* fix: newTcpConn not implemented

* revert: add sync.RWMutex to Table

Revert a previously merged-without-testing PR which could have broken a few tests and causing deadlocks.

* fix: skip pre-commit check

* fix: remove residual comment [ci skip]

* new: test pushfd

* fix: race in goroutine

* fix: skip pushing TCP conn

* fix: remove redundancy
gaukas added a commit that referenced this pull request Dec 27, 2023
* new: insert file or tcp socket to api.Module

Add required exported interface to insert files or TCP sockets to an `api.Module`.

* fix: newTcpConn not implemented

* revert: add sync.RWMutex to Table

Revert a previously merged-without-testing PR which could have broken a few tests and causing deadlocks.

* fix: skip pre-commit check

* fix: remove residual comment [ci skip]

* new: test pushfd

* fix: race in goroutine

* fix: skip pushing TCP conn

* fix: remove redundancy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dynamic fd/socket insert to Context.fsc.openedFiles
2 participants