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

splice: refactor pipe pool #36

Closed
wants to merge 2 commits into from
Closed

splice: refactor pipe pool #36

wants to merge 2 commits into from

Conversation

winglq
Copy link

@winglq winglq commented Nov 29, 2024

Sadly we could not use go's internal package, most of the refactor is from linux_splice.go inside go's internal package. Also removed unused APIs, we respect most of the APIs.

Sadly we could not use go's internal package, most of the refactor
is from linux_splice.go inside go's internal package.
Also removed unused APIs, we respect most of the APIs.
log.Printf("Warning: create pipe failed: %v\n", err)
return nil
}
fcntl(uintptr(fds[0]), syscall.F_SETPIPE_SZ, maxPipeSize)
Copy link

Choose a reason for hiding this comment

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

check result?

@winglq winglq closed this Dec 10, 2024
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.

2 participants