Comments (2)
I find that in lwip_recvfrom
of sockets.c
, each pbuf*
will be deleted only once, and as the data is copied to the supplied mem*
, there is no need to increase the reference count, which requires another pbuf_free
or netbuf_delete
.
So I comment out this pbuf_ref
in lwIP.cpp#L321. I don't know what the side effect is but ipv4server_udp
still works without growing its memory usage.
from libzt.
Thanks and sorry for the late reply. You are correct in removing that. This issue should be fixed in the latest builds.
from libzt.
Related Issues (20)
- Java process does not exit after finishing libzt work HOT 3
- Memory leak if libzt events aren't consumed by user app
- How to deal with scenarios that requires cancelling? HOT 5
- .NET binding: `Node.InitSetEventHandler` is not really optional as stated in example HOT 1
- .NET binding: Socket.Send behavior is unexpected HOT 2
- Error installing ZeroTier Nuget, visual studio 2022 .net framework project
- xcodebuild: error: Unable to read project 'zt.xcodeproj'. Reason: The project âztâ is damaged and cannot be opened due to a parse error. Examine the project file for invalid edits or unresolved source control conflicts.
- NodeService heap corruption after ZTS_EVENT_PEER_PATH_DISCOVERED HOT 6
- Required fixes to build libzt on Windows HOT 4
- cmake errors for java build HOT 1
- unable to use compiled jar HOT 6
- Java multithreaded server hangs
- java windows does not compile dll HOT 16
- Script fail in Ubuntu HOT 1
- Script fail in Windows HOT 5
- Question about android example from documentation
- iOS clang error: no such file Build/Products/Release/zt.framework/Versions/A/zt
- C# Optional Setup Doesn't Seem So Optional -> System.ExecutionEngineException HOT 1
- C# node.IdString can leave out leading zeroes
- Java Windows: Could not get IPs correctly and Could not send data via sockets. HOT 2
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 libzt.