Comments (3)
I think the fix has data race because access to transferredBytes is not synchronized.
from netty.
Well it use new instance of the handler per Channel so you don't need synchronized. Or do you mean because you "can" access the written amount via a public get method which could return a not 100 % "accurate" version of the date here ?
from netty.
Yes, this is what i mean since you added the getter
from netty.
Related Issues (20)
- Is Netty 5.x Alpha releases official releases? HOT 4
- 1
- rebuild nio selector memory leak
- HttpConversionUtil panics on H1 to H2 upgrade request if header is out of spec
- java.io.IOException: Connection timed out HOT 1
- Dynamic proxy http headers
- direct buffer constructor: unavailable HOT 1
- CVE-2023-4586 BDSA-2023-2433 for netty-transport-4.1.100.Final.jar (pkg:maven/io.netty/[email protected], cpe:2.3:a:netty:netty:4.1.100:*:*:*:*:*:*:*) : CVE-2023-4586 HOT 3
- Netty Splice Implementation Issue
- Performance Issue Report: Performance problem with PooledUnsafeDirectByteBuf#writeZero() method when writing little data HOT 10
- What's the roadmap for Netty 5 HOT 2
- Obtaining corrupted data when reading length-delimited payload from TCP stream HOT 3
- Memory leak when using SslHandler HOT 5
- PoolSubpage bitmap lazy initialization?
- io.netty.resolver.dns.DnsNameResolverTimeoutException when application is running Kubernetes HOT 13
- Prevent Http Request Smuggling in Netty-4.1.96 HOT 2
- io.netty:netty-codec-http2 4.1.101.Final causes failure when used with io.grpc:grpc-netty 1.59.0 HOT 2
- use netty as http client, out of memory when run with big payload
- When can netty use JDK21's virtual threads HOT 3
- AdaptiveRecvByteBufAllocator has scenarios where it exceeds the specified maximum BUF capacity
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 netty.