Comments (5)
NODELAY should be set by default btw.
from tokio.
But if we start mixing it with CORK, then we need to turn it off?
@asvetlov added this cork and nodelay manipulation to aiohttp
from tokio.
Well, asyncio in Python 3.6 (and 3.5.3) sets NODELAY
by default and so should we. It's really up to those who use advanced TCP settings to workaround that.
from tokio.
Moreover, I hope we can use (eventually) vectorized writes in tokio.Transport.write()
and .writelines()
, which should cover use cases for CORK
.
from tokio.
btw we need to add tests for Transport, uvloop doesn't contain tests for "writelines()" for example
from tokio.
Related Issues (20)
- Replace loop.current_task() with officially supported API HOT 4
- Arcaive tokio repo HOT 1
- Add copyright headers to tests HOT 7
- Decide on the license HOT 2
- add UDS support HOT 1
- make "host" parameter option for "crate_connection" method HOT 1
- add native PIPES api
- add native SUBPROCESS api
- Test tokio with other libraries HOT 10
- provide sockname and peername for uds
- do we need python3.5 support? HOT 4
- Could not catch socket HUP event
- New python binding implementation HOT 1
- documentation error: TokioLoopPolicy not EventLoopPolicy HOT 14
- It would be interesting to see some benchmarking on this one. HOT 1
- tokio object can not set python attr HOT 4
- asyncio.Task.current_task() returns None HOT 3
- loop.add_signal_handler(signal.SIGINT, foo) is not intercepting KeyboardInterrupt as in asyncio and uvloop HOT 3
- building issues HOT 7
- Better documentation for rust-python interop HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tokio.