-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update to lwIP-2.1.0: partial SACK support by default (de-selectable in menu) #5126
Conversation
…y was incorrectly enabled) (ahah I scared you)
@d-a-v is there anything pending here, besides testing? |
I don't think so And the question of flash size increase remains. I'll try reduce it if I can. |
Actually, lwip-2.1.0 is smaller than 2.0.3 with same options. lwIP-2.0.3 (before PR)
lwIP-2.1.0 w/o SACK (after PR, optional)
lwip-2.1.0 w/ SACK (after PR, default, fixes long transfers freezes - possibly OTA too)
|
It is now ready |
I got pinged here from Issue #5023 - but I'm not exactly sure what to do or how to test this. Anyone got instructions to verify? |
How to try:
Revert to master:
in case of updates in the PR, do this before restarting the above.
|
@d-a-v Thanks. Which directory does this need to be in to ensure that it gets picked up within PlatformIO? I assume there's something magic with paths. For reference, I use the following right now in my platformio.ini:
|
About the PATH I can't tell. |
Ok, so I started building with the stock framework for comparison:
I replaced the package in ~/.platformio/packages/framework-arduinoespressif8266 with the lwip210 branch from your git:
I flashed this second binary via USB, then tried to upload the same file via $ip/update. The transfer still hangs at 10%. I haven't yet tried with the ESP doing a pull via http. |
(edited) |
@ivankravets |
@d-a-v it seems that your additions are valid. In any case, you can run verbose build via @CRCinAU you need to use this PR including modifications to https://github.com/esp8266/Arduino/blob/master/tools/platformio-build.py |
Ok, doesn't look like my method was working....
I'm not really familiar with PIO or the Arduino build environments as yet - so I'm still having that guesswork as to what I need to do... Further info. I did this via:
I then rebuilt / reflashed the code - but only got the above versionings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing jumps out at me, looks good.
fix #4176 and hopefully others
lwIP-2.0.3 was
new reno
only,SACK out
support increases TCP reliability with high latency / long distance networks, also with large transfers (may help OTA, no guarantee though)lwIP configuration changes are visible with scripts (unix, uses
meld
) inbuilder/glue-lwip/arduino/history/