An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 4.6% on proxy.golang.org
Top 0.5% dependent packages on proxy.golang.org
Top 1.5% dependent repos on proxy.golang.org
Top 9.9% forks on proxy.golang.org
Top 1.9% docker downloads on proxy.golang.org

proxy.golang.org : github.com/database64128/tfo-go

Package tfo provides a series of wrappers around net.ListenConfig, net.Listen(), net.ListenTCP(), net.Dialer, net.Dial(), net.DialTCP() that seamlessly enable TCP Fast Open. These wrapper types and functions can be used as drop-in replacements for their counterparts in Go 'net' with minimal changes required. This package supports Linux, Windows, macOS, and FreeBSD. On unsupported platforms, tfo-go automatically falls back to non-TFO sockets and returns ErrPlatformUnsupported. Make sure to check and handle/ignore such errors in your code. On Windows, all operations on a TFO-enabled connection will block the current goroutine thread, because there's no way for `tfo-go` to utilize Go's runtime poller on Windows. For real world applications with a fairly low number of connections, `tfo-go` will work just fine. If your application needs to handle a lot of concurrent I/O, just don't use Windows! FreeBSD code is completely untested. Use at your own risk. Feedback is welcome.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/database64128/tfo-go
Keywords: go , golang , tcp-fastopen
License: MIT
Latest release: almost 3 years ago
First release: over 3 years ago
Namespace: github.com/database64128
Dependent packages: 104
Dependent repositories: 12
Stars: 14 on GitHub
Forks: 3 on GitHub
Docker dependents: 1
Docker downloads: 19
See more repository details: repos.ecosyste.ms
Last synced: 4 days ago

    Loading...
    Readme
    Loading...