dump1090 icon indicating copy to clipboard operation
dump1090 copied to clipboard

data limit 131072

Open totongf opened this issue 11 years ago • 4 comments

When I use curl of centos to request data.json,if data over 131072 byte,this request will be not complete and timeout,how can I fix this problem?

best wishes!

totongf avatar Apr 28 '14 09:04 totongf

I found it to be more around 100k than 130k. No work around that I am aware of right now. I can not make heads or tails of the networking code either as to why.

mindlesstux avatar Apr 28 '14 17:04 mindlesstux

Hello. That's part of the nature of the dump1090 toy networking, but there is an easy fix enlarging the socket send buffer even more or implementing some very basic write buffer. I'll look into into it hopefully tonight.

antirez avatar Apr 28 '14 17:04 antirez

I found using the data from adsb.rtlsdr.org will get you to that point fairly quickly.

nc sdrsharp.com 47806 | nc localhost 30001

mindlesstux avatar Apr 28 '14 17:04 mindlesstux

Think I have it fixed after you said it should have been a simple fix. I started looking for how buffer size is set.

mindlesstux avatar May 04 '14 16:05 mindlesstux